Free Coding LLM APIs & Code Generation Models

13 providers · 18 models · Last updated: 01 Dec 2026

← directory · /v1/models · github

Quick Answer

Free APIs specialized for code generation, refactoring, and agentic workflows, featuring Codestral, Qwen Coder, StarCoder2, Laguna, and MiMo-V2.6-Flash.

Total available in this directory: 13 providers, 18 models. Verified limits below.

⚡ Quick Connect

Dedicated code generation model with 256K context window.

Base URL: https://api.mistral.ai/v1
Model: codestral-latest
Provider: Mistral La Plateforme

Python (OpenAI SDK):

from openai import OpenAI

client = OpenAI(
    base_url="https://api.mistral.ai/v1",
    api_key="your-api-key",  # from Mistral La Plateforme
)

response = client.chat.completions.create(
    model="codestral-latest",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

cURL (Terminal / Shell):

curl -X POST "https://api.mistral.ai/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY" \
  -d '{
    "model": "codestral-latest",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Rate Limits & Model Inventory

ModelProviderCostContextRPMTPMRPDDay tokensVerified
qwen3-coder-30b Synap by Linkrra$0 (100,000 tokens/day account allowance)98.3K10Not published50100,0002026-12-01
MiMo-V2.6-Flash Free OpenCode Zen$0UnknownUnknownUnknownUnknownUnknown2026-12-01
codestral-latest Mistral La Plateforme$0256K30300KNot publishedNot published2026-12-01
bigcode/starcoder2-15b NVIDIA NIM (build.nvidia.com)$0 (trial credits)Model-dependent~40Not publishedNot publishedNot published2026-12-01
poolside/laguna-xs-2.1 NVIDIA NIM (build.nvidia.com)$0 (trial credits)256K~40Not publishedNot published~1,000 credits at signup (up to ~5,000)2026-12-01
North Mini Code Cohere$0250K20N/AN/AN/A2026-12-01
Qwen/Qwen2.5-Coder-32B-Instruct SiliconFlow$0 (trial credits)32kN/AN/ANot publishedNot published2026-12-01
openai/gpt-oss-120b Speka$0 (lifetime credit allowance)Model-dependent2Not publishedNot publishedNot published2026-12-01
openai/gpt-oss-20b Speka$0 (lifetime credit allowance)Model-dependent2Not publishedNot publishedNot published2026-12-01
poolside/laguna-xs-2.1 Speka$0 (lifetime credit allowance)Model-dependent2Not publishedNot publishedNot published2026-12-01
Kimi K2.7 Code Alibaba DashScope (Bailian)$0 (promo free tokens)256K60Not publishedFree tier token grantNot published2026-12-01
XGenerationLab/XiYanSQL-QwenCoder-32B-2412 ModelScope$0Not published30Not publishedNot publishedNot published2026-12-01
XGenerationLab/XiYanSQL-QwenCoder-32B-2504 ModelScope$0Not published30Not publishedNot publishedNot published2026-12-01
MiMo-V2.6-Flash AMD Developer Cloud$01M20Not published1,000Not published2026-12-01
Devstral-2-123B-Instruct-2512-int4-AutoRound InferX$0128.0K60Not published2,000Not published2026-12-01
Qwen3-Coder-Next-FP8 InferX$0256.1K60Not published2,000Not published2026-12-01
Kimi K2.7 Code SCNet$0256K60Not published1,000Not published2026-11-14
k2.6-code-preview-free AIHubMix$0Not published10Not publishedNot publishedNot published2026-12-01

Machine-readable: Markdown Twin · providers.json · sitemap.xml

← back to the full directory