Use cases
Create a free accountBrowse all models
AI API for coding & developer tools
Point your coding agent at one OpenAI-compatible endpoint and use reasoning- and tool-capable models — from frontier models to free open coders — for code generation, refactoring and agentic edits. The same base URL works in Cursor, Cline, Claude Code, Aider and more.
40 curated models3 free at $0OpenAI- & Anthropic-compatiblePay-as-you-go
Works with your coding tool
Models for coding
Reasoning- and tool-use models suited to coding — including dedicated coder variants. Pick a free one to prototype, or a frontier model when you scale.
| Model | Tier | Context | Price in / out (1M) | |
|---|---|---|---|---|
| Claude 3 Haiku | Paid | 200K | $0.21 / $1.08 | View |
| Claude 3.5 Sonnet | Paid | 200K | $3.15 / $15.75 | View |
| Claude 3.5 Sonnet | Paid | 200K | $3.15 / $15.75 | View |
| Claude 3.7 Sonnet | Paid | 200K | $3.15 / $15.75 | View |
| Claude Fable 5 | Paid | — | $7.00 / $35.00 | View |
| Claude Haiku 4.5 | Paid | 200K | $0.89 / $4.42 | View |
| Claude Opus 4 | Paid | — | $15.00 / $82.50 | View |
| Claude Opus 4.1 | Paid | 200K | $15.00 / $75.00 | View |
| Claude Opus 4.5 | Paid | 200K | $5.00 / $25.00 | View |
| Claude Opus 4.6 | Paid | — | $2.50 / $12.50 | View |
| Claude Opus 4.7 | Paid | 1M | $2.50 / $12.50 | View |
| Claude Opus 4.8 | Paid | 1M | $2.50 / $12.50 | View |
| Claude Opus 5 | Paid | 1M | $3.58 / $17.88 | View |
| Claude Sonnet 4 | Paid | 200K | $3.15 / $15.75 | View |
| Claude Sonnet 4.5 | Paid | — | $1.50 / $7.50 | View |
| Claude Sonnet 4.6 | Paid | 1M | $1.50 / $7.50 | View |
| Claude Sonnet 5 | Paid | 1M | $1.59 / $7.97 | View |
| Codex Auto Review | Paid | — | $0.33 / $1.99 | View |
| DeepSeek | Paid | — | $0.44 / $1.72 | View |
| DeepSeek Chat | Paid | — | $2.31 / $3.47 | View |
| DeepSeek OCR | Paid | — | $0.07 / $0.29 | View |
| DeepSeek R1 | Paid | 64K | $1.41 / $5.64 | View |
| DeepSeek R1 | Paid | 164K | $1.14 / $3.96 | View |
| DeepSeek R1 | Paid | — | $1.32 / $5.22 | View |
| DeepSeek Reasoner | Paid | — | $0.89 / $3.53 | View |
| DeepSeek V3 | Paid | 131K | $0.38 / $1.34 | View |
| DeepSeek V3 | Paid | — | $0.25 / $0.84 | View |
| DeepSeek V3 | Paid | — | $0.66 / $2.61 | View |
| DeepSeek V3.1 | Paid | 131K | $0.62 / $1.87 | View |
| DeepSeek V3.1 Terminus | Paid | — | $0.61 / $1.83 | View |
| DeepSeek V3.2 | Paid | 164K | $0.27 / $0.41 | View |
| DeepSeek V3.2 Exp | Paid | — | $0.33 / $0.50 | View |
| DeepSeek V3.2 Speciale | Paid | — | $0.42 / $0.79 | View |
| DeepSeek V4 Flash | Paid | — | $0.13 / $0.26 | View |
| DeepSeek V4 Pro | Paid | — | $1.32 / $3.96 | View |
| DeepSeek V4 Pro | Paid | — | $1.16 / $3.47 | View |
| Devstral | Free | — | $0.20 / $0.20 | View |
| Devstral Latest | Free | — | $0.20 / $0.20 | View |
| Devstral Medium Latest | Free | — | $0.20 / $0.20 | View |
| Doubao 1.5 Thinking Pro | Paid | — | $0.40 / $1.62 | View |
Connect in three lines
Same code as the OpenAI SDK — change the base URL and key, pick a model id:
from openai import OpenAI
client = OpenAI(
base_url="https://api.airforce/v1",
api_key="YOUR_KEY",
)
resp = client.chat.completions.create(
model="claude-3-haiku",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)Frequently asked questions
- Which models are good for coding on Api.Airforce?
- Reasoning- and tool-use models suited to coding — including dedicated coder variants. Pick a free one to prototype, or a frontier model when you scale. The list above is ranked by that signal and updates as new models launch — currently it features Claude 3 Haiku, Claude 3.5 Sonnet, Claude 3.5 Sonnet and more.
- Can I use Api.Airforce with Claude Code, Cursor, Cline?
- Yes. Claude Code, Cursor, Cline, Aider, Continue, Zed, OpenCode, Roo Code, Kilo Code all support an OpenAI-compatible endpoint — point them at https://api.airforce/v1 with your key and pick a model id. Setup guides are linked above.
- Are there free models for coding?
- Yes — 3 of the featured models are on the free tier and callable at $0 (no credit card). The rest are pay-as-you-go.
- How do I connect my coding tool?
- Set the base URL to https://api.airforce/v1 and your API key in the tool's "OpenAI-compatible" provider settings, then choose a model id from the table above. The same key also speaks the Anthropic Messages API.