SiliconFlow
ALIVEFree tier for Qwen, GLM & DeepSeek
Chinese inference cloud with a free tier — several open models (Qwen, GLM, DeepSeek distills) at $0, plus signup credits. OpenAI-compatible.
- Free open models
- Qwen / GLM / DeepSeek
- OpenAI compatible
- OpenAI-compatible API
- Auth: Bearer (OpenAI)
Qwen/Qwen3-8BdefaultTHUDM/glm-4-9b-chatdeepseek-ai/DeepSeek-R1-Distill-Qwen-7Bhttps://api.siliconflow.com/v1/chat/completionshttps://api.siliconflow.com/v1/completionshttps://api.siliconflow.com/v1/models# settings.json "env" block, or your shell:
ANTHROPIC_BASE_URL=https://api.siliconflow.com/v1
ANTHROPIC_AUTH_TOKEN=<YOUR_API_KEY>
ANTHROPIC_MODEL=Qwen/Qwen3-8B
# Claude Code speaks the Anthropic Messages API. Use an Anthropic-compatible
# endpoint, or an OpenAI→Anthropic proxy in front of SiliconFlow.You are being set up to use a free LLM API as your model backend.
Provider: SiliconFlow
Base URL: https://api.siliconflow.com/v1
Model: Qwen/Qwen3-8B
Auth: Bearer token (OpenAI-compatible)
Key env var: SILICONFLOW_API_KEY
Task:
1. Configure Claude Code to call the endpoint above using the OpenAI Chat Completions format.
2. Read the API key from the SILICONFLOW_API_KEY environment variable. Do NOT
ask me to paste the key in plain text in this chat — I will set it in my env.
3. If a setting requires a base URL, use exactly: https://api.siliconflow.com/v1
4. Send one short test message ("ping") and report back whether the call
succeeded, including the model name and latency.
If anything is missing (e.g. an account ID for the base URL), ask me for just
that value and nothing else.↳ You supply the key in your own env. apifreely never sees it.
curl https://api.siliconflow.com/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen/Qwen3-8B",
"messages": [{ "role": "user", "content": "Hello!" }]
}'{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "Qwen/Qwen3-8B",
"choices": [
{
"index": 0,
"message": { "role": "assistant", "content": "Hello! How can I help?" },
"finish_reason": "stop"
}
],
"usage": { "prompt_tokens": 9, "completion_tokens": 12, "total_tokens": 21 }
}Is it really free?
Yes — this entry lists a free tier or promo. Some are rate-limited or time-limited, so check the rate limit and any expiry before relying on it in production.
Where is my API key stored?
Nowhere. apifreely never receives your key. You paste it into your own agent or environment — every generator here runs in your browser.
How do I connect it to my agent?
Open the Setup tab for a copy-paste config per tool, or use the Prompt Generator to get a prompt your agent can run to configure itself.
What if the endpoint needs an account ID?
Some providers (e.g. Cloudflare) include a placeholder like {ACCOUNT_ID} in the base URL — replace it with your own from the dashboard.
1 · Base URL
https://api.siliconflow.com/v12 · API key
SILICONFLOW_API_KEY=••••••••••••••••••env onlyFree models + signup credits
FREE TIER