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 Haiku 4.5 | Paid | 200K | $0.30 / $1.80 | View |
| Claude Opus 4.5 | Paid | 200K | $0.80 / $4.00 | View |
| Claude Opus 4.6 | Paid | 200K | $2.50 / $12.50 | View |
| Claude Opus 4.8 | Paid | — | $4.00 / $20.00 | View |
| Claude Sonnet 4 20250514 | Paid | 200K | $0.45 / $2.25 | View |
| Claude Sonnet 4.5 | Paid | 200K | $0.40 / $2.00 | View |
| Claude Sonnet 4.6 | Paid | 200K | $1.00 / $5.00 | View |
| Deepseek | Paid | — | $0.66 / $0.99 | View |
| Deepseek R1 | Paid | 64K | $0.87 / $3.42 | View |
| Deepseek R1 250528 | Paid | — | $0.87 / $3.42 | View |
| Deepseek Reasoner | Paid | — | $0.66 / $0.99 | View |
| Deepseek V3 0324 | Free | — | $1.50 / $1.50 | View |
| Deepseek V3 250324 | Paid | — | $0.42 / $1.71 | View |
| Deepseek V3.1 | Paid | 131K | $0.60 / $1.80 | View |
| Deepseek V3.1 Terminus | Paid | — | $1.47 / $4.44 | View |
| Deepseek V3.2 | Paid | 164K | $0.20 / $0.30 | View |
| Deepseek V3.2 Free | Free | 164K | $0.01 / $0.01 | View |
| Deepseek V4 Flash | Paid | — | $0.12 / $0.24 | View |
| Deepseek V4 Pro | Paid | — | $0.90 / $1.50 | View |
| Gemini 2.5 Flash | Paid | 1M | $0.40 / $2.50 | View |
| Gemini 2.5 Pro | Paid | 2M | $0.70 / $2.20 | View |
| Gemini 3 Flash | Paid | 1M | $0.39 / $2.37 | View |
| Gemini 3 Pro | Paid | 2M | $0.90 / $2.75 | View |
| Gemini 3.1 Flash Lite | Paid | 1M | $0.14 / $0.75 | View |
| Gemini 3.1 Pro | Paid | 2M | $1.00 / $6.00 | View |
| Gemini 3.5 Flash | Paid | — | $1.20 / $7.20 | View |
| Glm 4 | Paid | — | $0.06 / $0.27 | View |
| Glm 4.5 | Paid | — | $0.70 / $2.40 | View |
| Glm 4.5 Air | Paid | — | $0.09 / $0.24 | View |
| Glm 4.6 | Paid | — | $0.45 / $1.65 | View |
| Glm 4.7 | Paid | — | $0.70 / $2.40 | View |
| Glm 4.7 Flash | Free | 131K | $0.20 / $0.20 | View |
| Glm 5 | Paid | 200K | $0.80 / $2.90 | View |
| Glm 5.1 | Paid | — | $0.80 / $2.40 | View |
| Glm 5.2 | Paid | — | $1.05 / $3.30 | View |
| Gpt 4 | Paid | 8K | $6.42 / $12.84 | View |
| Gpt 4 Turbo | Paid | 128K | $2.13 / $6.42 | View |
| Gpt 4.1 | Paid | 1M | $0.30 / $1.20 | View |
| Gpt 5 | Paid | 400K | $0.27 / $2.13 | View |
| Gpt 5 Codex | Paid | 400K | $0.27 / $2.13 | 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-haiku-4.5",
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 Haiku 4.5, Claude Opus 4.5, Claude Opus 4.6 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.