Skip to content
English

Switch theme

// Models · API access

How to get an API key

Official console, base URL, card / ID requirements and free quota for each vendor – from the official docs only.

10 vendorsofficial sources citedchecked 2026-10-26

01International

VendorGet the keyBase URLReal-name / phone / card
Google Geminigemini api keys aistudio.google.com https://generativelanguage.googleapis.com/v1beta No ID verification for the Free Tier – a Google account is enough.
Only whatever your Google account requires.
Free Tier: no. Paid Tier: link a billing account and prepay at least $5 (or equivalent).
Groqgroq api key console.groq.com https://api.groq.com/openai/v1 Not mentioned in the docs.
Not mentioned in the docs we checked (以官方为准).
Not needed for the Free plan; a payment method is only needed to upgrade to the Developer plan.
ElevenLabselevenlabs api key elevenlabs.io https://api.elevenlabs.io/v1 Not mentioned.
Not mentioned in the docs we checked (以官方为准).
The Free plan is $0; whether sign-up asks for a card is up to the sign-up page (以官方为准). Paid plans start at Starter.
Anthropic Claudeanthropic api key platform.claude.com https://api.anthropic.com Not mentioned in the docs we checked.
Not mentioned in the docs we checked (以官方为准).
You must buy prepaid credits before using the API (payment on the Console billing page). Organisations with invoicing are billed monthly.

02China

VendorGet the keyBase URLReal-name / phone / card
DeepSeekdeepseek api key platform.deepseek.com https://api.deepseek.com The API docs we checked do not state it; the console tells you if verification is needed before topping up – follow the official prompt.
Not stated in the API docs – use whatever sign-up methods the platform offers.
No credit card requirement is mentioned; payment methods are listed on the top-up page.
Qwen (Tongyi Qianwen)qwen api key bailian.console.aliyun.com https://dashscope.aliyuncs.com/compatible-mode/v1 Not needed to receive or use the free quota; needed to continue with pay-as-you-go after it runs out. Unverified accounts have “stop when free quota runs out” forced on.
An Alibaba Cloud account is required; account sign-up rules are on Alibaba Cloud’s site.
Not needed for the free quota. Paid usage is billed to your Alibaba Cloud account.
Alibaba Cloud Model Studio (Bailian)alibaba cloud model studio api key bailian.console.aliyun.com https://dashscope.aliyuncs.com/compatible-mode/v1 Free quota: no. Pay-as-you-go after the free quota: yes.
Alibaba Cloud account required; sign-up rules are on Alibaba Cloud’s site.
Not needed for the free quota.
Doubao (Volcano Ark)doubao api key console.volcengine.com https://ark.cn-beijing.volces.com/api/v3 Not needed to get the free quota; needed (plus manual activation) to keep using models after it runs out.
A Volcengine account is required; sign-up rules are on volcengine.com.
Not needed for the free quota.
Kimi (Moonshot AI)kimi api key platform.kimi.com https://api.moonshot.cn/v1 Required to receive the ¥15 trial voucher.
The trial voucher is for new users registering with a mainland China phone number.
Not mentioned in the docs; top-up methods are on the platform’s billing page.
SiliconFlowsiliconflow api key cloud.siliconflow.cn https://api.siliconflow.cn/v1 The quickstart does not require it; the console has a real-name section – which actions need it is up to the platform (以官方为准).
Login by SMS code or email (per the quickstart).
Free models need no payment; paid models draw on your account balance.

03Keep every key safe

04FAQ

FAQ

What is an API key?

A secret string the vendor gives you to identify your account when your code calls its API. Usage is billed to whoever owns the key, so treat it like a password.

Which API keys can I get without a credit card?

Per the official docs we checked: Gemini (the free tier is the default, no billing account needed) and Groq (free plan) need no card; ElevenLabs has a $0 free plan (whether sign-up asks for a card: check the sign-up page); Anthropic requires prepaid credits before the API works. For Alibaba Model Studio and Volcano Ark, the new-user free quota needs neither a card nor real-name verification, but pay-as-you-go afterwards needs real-name verification; Kimi’s trial voucher requires real-name verification. Details on each guide.

Where is the DeepSeek API key / base URL?

Create it at platform.deepseek.com/api_keys; the official base_url is https://api.deepseek.com (OpenAI-compatible). See the DeepSeek guide.

What is the SiliconFlow API address?

https://api.siliconflow.cn/v1 (OpenAI-compatible); keys at cloud.siliconflow.cn/account/ak.

What should I do if an API key leaks?

Delete it in the vendor console right away, create a new one, update your environment variables, and check usage and billing for anything unusual.

Is it safe to buy API keys from relays?

No – reselling keys breaks most vendors’ terms, keys can be revoked any time and the relay can read your data. See our page on API relays.

05Related

Data updated: Model API prices · HF model metadata(UTC+8)