Best Free LLM APIs for Coding

8 free models available for coding.

Provider Model Context Max Output Modality Rate Limit
OpenRouter OpenAI: gpt-oss-120b (free) 131K 131K text See provider page Details
OpenRouter OpenAI: gpt-oss-20b (free) 131K 8K text See provider page Details
OpenRouter Qwen: Qwen3 Coder 480B A35B (free) 262K 262K textcode See provider page Details
Mistral AI Codestral 256K 256K textcode ~1 RPS, 500K TPM Details
Cerebras gpt-oss-120b 128K 8K text 30 RPM, 14,400 RPD, 1M TPD Details
Kilo Code x-ai/grok-code-fast-1:optimized:free 131K 131K textcode ~200 req/hr Details
LLM7.io qwen2.5-coder-32b 131K 131K textcode 30 RPM (120 with token) Details
OVHcloud AI Endpoints Qwen3-Coder-30B-A3B-Instruct 262K 32K textcode 2 RPM (anonymous) Details