Use cases

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.

ModelTierContextPrice in / out (1M)
Claude Fable 5Paid$7.00 / $35.00View
Claude Haiku 4.5Paid200K$0.50 / $2.50View
Claude Opus 4Paid$3.21 / $16.08View
Claude Opus 4.1Paid200K$25.68 / $128.64View
Claude Opus 4.5Paid200K$2.50 / $12.50View
Claude Opus 4.6Paid1M$2.85 / $14.25View
Claude Opus 4.7Paid1M$2.50 / $12.50View
Claude Opus 4.8Paid1M$2.50 / $12.50View
Claude Opus 5Paid1M$3.58 / $17.88View
Claude Sonnet 4Paid200K$0.63 / $3.21View
Claude Sonnet 4.5Paid1M$1.50 / $7.50View
Claude Sonnet 4.6Paid$1.50 / $7.50View
Claude Sonnet 5Paid1M$1.59 / $7.97View
DeepSeekPaid$0.33 / $0.63View
DeepSeek R1Paid64K$0.87 / $3.42View
DeepSeek R1Paid$0.87 / $3.42View
DeepSeek ReasonerPaid$0.29 / $1.14View
DeepSeek V3Paid$0.18 / $0.74View
DeepSeek V3.1Paid131K$0.87 / $2.58View
DeepSeek V3.1 TerminusPaid$1.74 / $5.22View
DeepSeek V3.2Paid164K$0.19 / $0.28View
DeepSeek V4 FlashPaid$0.12 / $0.24View
DeepSeek V4 ProPaid$0.41 / $0.84View
DevstralFree$0.20 / $0.20View
Devstral LatestFree$0.20 / $0.20View
Devstral Medium LatestFree$0.20 / $0.20View
Doubao Seed 1.6 ThinkingPaid$0.33 / $3.42View
Doubao Seed 1.6 ThinkingPaid$0.33 / $3.42View
Gemini 2.5 FlashPaid1M$0.40 / $2.50View
Gemini 2.5 ProPaid2M$0.70 / $2.20View
Gemini 3 FlashPaid1M$0.26 / $1.59View
Gemini 3 ProPaid2M$1.90 / $9.98View
Gemini 3.1 Flash LitePaid1M$0.14 / $0.75View
Gemini 3.1 ProPaid2M$1.00 / $6.00View
Gemini 3.1 Pro Preview CustomtoolsPaid$1.77 / $10.68View
Gemini 3.5 FlashPaid$1.20 / $7.20View
Gemini 3.5 Flash LitePaid$0.25 / $2.06View
Gemini 3.6 FlashPaid$1.23 / $6.17View
GLM 4Paid$0.06 / $0.27View
GLM 4.5Paid$0.59 / $2.18View

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-fable-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 Fable 5, Claude Haiku 4.5, Claude Opus 4 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.
Create a free accountBrowse all models

Other use cases