# Free API Keys & Endpoints for Claude Code CLI

> 19 providers · 106 free models · Last updated: 01 Nov 2026

## Quick Answer

106 free API Keys & Endpoints for Claude Code CLI models across 19 providers including OpenCode Zen, OpenRouter, and Google AI Studio. Verified rate limits, context windows, and OpenAI-compatible endpoints. Last updated: 01 Nov 2026.

Free endpoints compatible with Claude Code CLI and agent harnesses via OpenAI-compatible proxy layers, Google Gemini adapters, or Groq fast inference.

## Quick Connect

Use with Claude Code CLI proxy wrappers or compatible agent frameworks.

- **Base URL:** `https://api.groq.com/openai/v1`
- **Model:** `qwen/qwen3.8-27b`
- **Provider:** [Groq](/providers/groq/)

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.groq.com/openai/v1",
    api_key="your-api-key",  # from Groq
)

response = client.chat.completions.create(
    model="qwen/qwen3.8-27b",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
```

## Rate Limits & Model Inventory

| Model | Provider | Cost | Context | RPM | TPM | RPD | Day tokens | Verified |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Big Pickle | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| GLM-5.3-Flash Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 128K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| DeepSeek V4.1 Flash Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 128K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| MiMo-V2.6-Flash Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Beam Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 128K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Flint 40B Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 128K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Nemotron 3 Ultra Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Nemotron 3.5 Lightning Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Nemotron 3.5 Super VL Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Jev 1.13 Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| cohere/north-mini-code:free | [OpenRouter](/providers/openrouter/) | $0 | 250K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| dots-studio/dots-3-note-preview:free | [OpenRouter](/providers/openrouter/) | $0 | 500K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| google/gemma-4-26b-a4b-it:free | [OpenRouter](/providers/openrouter/) | $0 | 256K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| google/gemma-4-31b-it:free | [OpenRouter](/providers/openrouter/) | $0 | 256K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| liquid/lfm-2.5-2.6b:free | [OpenRouter](/providers/openrouter/) | $0 | 64K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free | [OpenRouter](/providers/openrouter/) | $0 | 250K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3-ultra-550b-a55b:free | [OpenRouter](/providers/openrouter/) | $0 | 1000000 | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3.5-content-safety:free | [OpenRouter](/providers/openrouter/) | $0 | 125K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3.5-lightning:free | [OpenRouter](/providers/openrouter/) | $0 | 1000000 | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3.5-super-vl:free | [OpenRouter](/providers/openrouter/) | $0 | 1000000 | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| recursive/flint-v1.0:free | [OpenRouter](/providers/openrouter/) | $0 | 256K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| thinkingmachines/inkling-small:free | [OpenRouter](/providers/openrouter/) | $0 | 1024K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| thinkingmachines/inkling:free | [OpenRouter](/providers/openrouter/) | $0 | 1024K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| xingchen-agi/xing4.0-29b-a4b:free | [OpenRouter](/providers/openrouter/) | $0 | 256K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| meta/muse-spark-1.3-contributor:free | [OpenRouter](/providers/openrouter/) | $0 | 1000000 | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| gemini-2.5-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-2.5-flash-lite | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3-flash-preview | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.1-flash-lite | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.1-flash-lite-preview | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.5-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.5-flash-lite | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.6-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.7-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.8-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-flash-latest | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-flash-lite-latest | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-omni-1.1-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 128K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-omni-flash-preview | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 128K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemma-4-26b-a4b-it | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 256K | 15 | 1M | 1,500 | Not published | 2026-11-01 |
| gemma-4-31b-it | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 256K | 15 | 1M | 1,500 | Not published | 2026-11-01 |
| llama-3.3-70b-versatile | [Groq](/providers/groq/) | $0 | 128K | 30 | 12K | 1,000 | 100K tokens/day | 2026-11-01 |
| llama-3.1-8b-instant | [Groq](/providers/groq/) | $0 | 128K | 30 | 6K | 14,400 | 500K tokens/day | 2026-11-01 |
| meta-llama/llama-4-scout-17b-16e-instruct | [Groq](/providers/groq/) | $0 | 128K | 30 | 30K | 1,000 | 500K tokens/day | 2026-11-01 |
| openai/gpt-oss-120b | [Groq](/providers/groq/) | $0 | 128K | 30 | 8K | 1,000 | 200K tokens/day | 2026-11-01 |
| openai/gpt-oss-20b | [Groq](/providers/groq/) | $0 | 128K | 30 | 8K | 1,000 | 200K tokens/day | 2026-11-01 |
| qwen/qwen3.6-27b | [Groq](/providers/groq/) | $0 | 128K | 30 | 8K | 1,000 | 200K tokens/day | 2026-11-01 |
| qwen/qwen3.8-27b | [Groq](/providers/groq/) | $0 | 128K | 30 | 8K | 1,000 | 2M tokens/day | 2026-11-01 |
| meta-llama/llama-prompt-guard-2-22m | [Groq](/providers/groq/) | $0 | 128K | 30 | 15K | 14,400 | 500K tokens/day | 2026-11-01 |
| compound-beta | [Groq](/providers/groq/) | $0 | 128K | 30 | 70K | 250 | Not published | 2026-11-01 |
| gpt-oss-120b | [Cerebras](/providers/cerebras/) | $5 trial credits (30-day, card required) | 8K cap on free tier | 5 | 30K | Not published | 1M tokens/day (per model) | 2026-11-01 |
| qwen-3.8-27b | [Cerebras](/providers/cerebras/) | $5 trial credits (30-day, card required) | 8K cap on free tier | 5 | 30K | Not published | 1M tokens/day (per model) | 2026-11-01 |
| ~80 free models (Llama 3.x/4, Qwen, Gemma, DeepSeek-R1 distills, FLUX, Whisper, BGE embeddings) | [Cloudflare Workers AI](/providers/cloudflare-workers-ai/) | $0 | 8K-128K+ (model-dependent) | 300 text gen (720-1,500 other tasks) | Model-dependent | Not published | 10,000 neurons/day | 2026-08-30 |
| @cf/meta/llama-3.3-70b-instruct-fp8-fast | [Cloudflare Workers AI](/providers/cloudflare-workers-ai/) | $0 | 128K | 300 | Model-dependent | Not published | 10,000 neurons/day | 2026-10-29 |
| @cf/deepseek-ai/deepseek-r1-distill-qwen-32b | [Cloudflare Workers AI](/providers/cloudflare-workers-ai/) | $0 | 128K | 300 | Model-dependent | Not published | 10,000 neurons/day | 2026-10-29 |
| @cf/qwen/qwen2.5-72b-instruct | [Cloudflare Workers AI](/providers/cloudflare-workers-ai/) | $0 | 128K | 300 | Model-dependent | Not published | 10,000 neurons/day | 2026-10-29 |
| @cf/meta/llama-3.1-8b-instruct | [Cloudflare Workers AI](/providers/cloudflare-workers-ai/) | $0 | 128K | 300 | Model-dependent | Not published | 10,000 neurons/day | 2026-10-29 |
| Llama 3.2 8B (Serverless) | [Hugging Face](/providers/hugging-face/) | $0 | Model-dependent | ~300 req/hour (Serverless) | Model max context | Not published | Small monthly credit pool (PRO: 2M credits/mo) | 2026-10-29 |
| Qwen 2.5 7B (Serverless) | [Hugging Face](/providers/hugging-face/) | $0 | Model-dependent | ~300 req/hour (Serverless) | Model max context | Not published | Small monthly credit pool (PRO: 2M credits/mo) | 2026-10-29 |
| Mistral 7B (Serverless) | [Hugging Face](/providers/hugging-face/) | $0 | Model-dependent | ~300 req/hour (Serverless) | Model max context | Not published | Small monthly credit pool (PRO: 2M credits/mo) | 2026-10-29 |
| Inference Providers gateway (15+ partners) | [Hugging Face](/providers/hugging-face/) | $0 | Model-dependent | ~300 req/hour (Serverless) | Model max context | Not published | Small monthly credit pool (PRO: 2M credits/mo) | 2026-10-29 |
| Mistral Large | [Mistral La Plateforme](/providers/mistral-la-plateforme/) | $0 (Experiment) | Model-dependent | ~1 req/sec | Not published | Not published | ~1B tokens/month | 2026-10-29 |
| Codestral | [Mistral La Plateforme](/providers/mistral-la-plateforme/) | $0 (Experiment) | Model-dependent | ~1 req/sec | Not published | Not published | ~1B tokens/month | 2026-10-29 |
| All API models (Experiment tier) | [Mistral La Plateforme](/providers/mistral-la-plateforme/) | $0 (Experiment) | Model-dependent | ~1 req/sec | Not published | Not published | ~1B tokens/month | 2026-10-29 |
| DeepSeek-V3.1 | [SambaNova Cloud](/providers/sambanova-cloud/) | $0 | 128K | 20 | Not published | 20 | 200K tokens/day | 2026-11-01 |
| DeepSeek-V3.2 | [SambaNova Cloud](/providers/sambanova-cloud/) | $0 | 128K | 20 | Not published | 20 | 200K tokens/day | 2026-11-01 |
| Meta-Llama-3.3-70B-Instruct | [SambaNova Cloud](/providers/sambanova-cloud/) | $0 | 128K | 20 | Not published | 20 | 200K tokens/day | 2026-11-01 |
| gemma-4-31B-it | [SambaNova Cloud](/providers/sambanova-cloud/) | $0 | 128K | 20 | Not published | 20 | 200K tokens/day | 2026-11-01 |
| gpt-oss-120b | [SambaNova Cloud](/providers/sambanova-cloud/) | $0 | 128K | 20 | Not published | 20 | 200K tokens/day | 2026-11-01 |
| GLM-5 | [NVIDIA NIM (build.nvidia.com)](/providers/nvidia-nim--build-nvidia-com/) | $0 (trial credits) | Model-dependent | ~40 | Not published | Not published | ~1,000 credits at signup (up to ~5,000) | 2026-10-29 |
| Kimi-2.5 | [NVIDIA NIM (build.nvidia.com)](/providers/nvidia-nim--build-nvidia-com/) | $0 (trial credits) | Model-dependent | ~40 | Not published | Not published | ~1,000 credits at signup (up to ~5,000) | 2026-10-29 |
| NIM-packaged open models | [NVIDIA NIM (build.nvidia.com)](/providers/nvidia-nim--build-nvidia-com/) | $0 (trial credits) | Model-dependent | ~40 | Not published | Not published | ~1,000 credits at signup (up to ~5,000) | 2026-10-29 |
| GLM-5.1 | [Z.AI (Zhipu)](/providers/z-ai--zhipu/) | $0 | Up to 203K | 3 (burst) | Not published | 1,000 (1K RPD tier) | Not published | 2026-10-29 |
| GLM-4.5-Flash | [Z.AI (Zhipu)](/providers/z-ai--zhipu/) | $0 | Up to 203K | 3 (burst) | Not published | 1,000 | Not published | 2026-10-29 |
| GLM-4.7-Flash | [Z.AI (Zhipu)](/providers/z-ai--zhipu/) | $0 | Up to 203K | 3 (burst) | Not published | 1,000 | Not published | 2026-10-29 |
| GLM-4.6V-Flash (vision) | [Z.AI (Zhipu)](/providers/z-ai--zhipu/) | $0 | Up to 203K | 3 (burst) | Not published | 1,000 | Not published | 2026-10-29 |
| deepseek-ai/DeepSeek-V3.1 | [DeepInfra](/providers/deepinfra/) | $0 (trial credits) | Model-dependent | ~60 (varies by model) | Not published | Not published | $5 signup credits | 2026-11-01 |
| Qwen/Qwen3-32B | [DeepInfra](/providers/deepinfra/) | $0 (trial credits) | Model-dependent | ~60 (varies by model) | Not published | Not published | $5 signup credits | 2026-11-01 |
| Qwen/Qwen2.5-72B-Instruct | [DeepInfra](/providers/deepinfra/) | $0 (trial credits) | Model-dependent | ~60 (varies by model) | Not published | Not published | $5 signup credits | 2026-11-01 |
| zai-org/GLM-4.7 | [DeepInfra](/providers/deepinfra/) | $0 (trial credits) | Model-dependent | ~60 (varies by model) | Not published | Not published | $5 signup credits | 2026-11-01 |
| cohere/north-mini-code:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 250K | 20 | Provider-dependent | 200/day | Not published | 2026-11-01 |
| poolside/laguna-s-2.1:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 256K | 20 | Provider-dependent | 200/day | Not published | 2026-10-31 |
| poolside/laguna-xs-2.1:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 256K | 20 | Provider-dependent | 200/day | Not published | 2026-10-31 |
| liquid/lfm-2.5-2.6b:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 64K | 20 | Provider-dependent | 200/day | Not published | 2026-11-01 |
| dots-studio/dots-3-note-preview:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 500K | 20 | Provider-dependent | 200/day | Not published | 2026-11-01 |
| nvidia/nemotron-3.5-lightning:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 1000000 | 20 | Provider-dependent | 200/day | Not published | 2026-11-01 |
| nvidia/nemotron-3.5-super-vl:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 1000000 | 20 | Provider-dependent | 200/day | Not published | 2026-11-01 |
| poolside/laguna-s-2.1:free | [Nous Portal](/providers/nous-portal/) | $0 | 256K | 50 | 500K | Not published | Not published | 2026-10-31 |
| poolside/laguna-xs-2.1:free | [Nous Portal](/providers/nous-portal/) | $0 | 256K | 50 | 500K | Not published | Not published | 2026-10-31 |
| stepfun/step-3.7-flash:free | [Nous Portal](/providers/nous-portal/) | $0 | 128K | 50 | 500K | Not published | Not published | 2026-11-01 |
| upstage/solar-mini4:free | [Nous Portal](/providers/nous-portal/) | $0 | 64K | 50 | 500K | Not published | Not published | 2026-11-01 |
| reflection/beam-1.0-501b-a23b:free | [Nous Portal](/providers/nous-portal/) | $0 | 128K | 50 | 500K | Not published | Not published | 2026-11-01 |
| ornith/ornith-1.5-122b:free | [Nous Portal](/providers/nous-portal/) | $0 | 128K | 50 | 500K | Not published | Not published | 2026-11-01 |
| Command A | [Cohere](/providers/cohere/) | $0 | 256K | 20 | Not published | Not published | Not published | 2026-11-01 |
| Command R+ | [Cohere](/providers/cohere/) | $0 | 128K | 20 | Not published | Not published | Not published | 2026-11-01 |
| Command R7B | [Cohere](/providers/cohere/) | $0 | 128K | 20 | Not published | Not published | Not published | 2026-11-01 |
| nvidia/nemotron-3-super-120b-a12b | [Requesty](/providers/requesty/) | $0 | 128K | Not published | Not published | 200/day shared | Not published | 2026-11-01 |
| google/gemma-4-31b-it | [Requesty](/providers/requesty/) | $0 | 256K | Not published | Not published | 200/day shared | Not published | 2026-11-01 |
| poolside/laguna-xs.2 | [Requesty](/providers/requesty/) | $0 | 256K | Not published | Not published | 200/day shared | Not published | 2026-11-01 |
| 10 free models (anonymous keyless) | [OVHcloud AI Endpoints](/providers/ovhcloud-ai-endpoints/) | $0 | Model-dependent | 2/min per IP | Not published | Not published | Not published | 2026-11-01 |
| deepseek-ai/DeepSeek-R1-Distill-Qwen-7B | [SiliconFlow](/providers/siliconflow/) | $0 | 32K | 1000 | 40K | 100 | Not published | 2026-10-29 |
| deepseek-ai/DeepSeek-V3 | [SiliconFlow](/providers/siliconflow/) | $0 | 64K | 30 RPH | 40K | 100 | Not published | 2026-10-29 |
| Qwen/Qwen2.5-7B-Instruct | [SiliconFlow](/providers/siliconflow/) | $0 | 32K | 1000 | 40K | Not published | Not published | 2026-10-29 |
| THUDM/glm-4-9b-chat | [SiliconFlow](/providers/siliconflow/) | $0 | 32K | 1000 | 40K | Not published | Not published | 2026-10-29 |
| deepseek-chat | [DeepSeek Platform](/providers/deepseek-platform/) | $0 (5M signup tokens) | 64K | 60 | Not published | Not published | 5M tokens grant | 2026-10-29 |
| deepseek-reasoner | [DeepSeek Platform](/providers/deepseek-platform/) | $0 (5M signup tokens) | 64K | 60 | Not published | Not published | 5M tokens grant | 2026-10-29 |

Web page: https://freeinference.dev/free-claude-code-api/
Machine-readable JSON: /data/providers.json
Agent summary: /llms.txt

Numbers cross-checked against official docs and live probes as of 2026-11-01. Limits change without notice — this is a map, not a contract.
