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 3 HaikuPaid200K$0.21 / $1.08View
Claude 3.5 SonnetPaid200K$3.15 / $15.75View
Claude 3.5 SonnetPaid200K$3.15 / $15.75View
Claude 3.7 SonnetPaid200K$3.15 / $15.75View
Claude Fable 5Paid$7.00 / $35.00View
Claude Haiku 4.5Paid200K$0.89 / $4.42View
Claude Opus 4Paid$15.00 / $82.50View
Claude Opus 4.1Paid200K$15.00 / $75.00View
Claude Opus 4.5Paid200K$5.00 / $25.00View
Claude Opus 4.6Paid$2.50 / $12.50View
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$3.15 / $15.75View
Claude Sonnet 4.5Paid$1.50 / $7.50View
Claude Sonnet 4.6Paid1M$1.50 / $7.50View
Claude Sonnet 5Paid1M$1.59 / $7.97View
Codex Auto ReviewPaid$0.33 / $1.99View
DeepSeekPaid$0.44 / $1.72View
DeepSeek ChatPaid$2.31 / $3.47View
DeepSeek OCRPaid$0.07 / $0.29View
DeepSeek R1Paid64K$1.41 / $5.64View
DeepSeek R1Paid164K$1.14 / $3.96View
DeepSeek R1Paid$1.32 / $5.22View
DeepSeek ReasonerPaid$0.89 / $3.53View
DeepSeek V3Paid131K$0.38 / $1.34View
DeepSeek V3Paid$0.25 / $0.84View
DeepSeek V3Paid$0.66 / $2.61View
DeepSeek V3.1Paid131K$0.62 / $1.87View
DeepSeek V3.1 TerminusPaid$0.61 / $1.83View
DeepSeek V3.2Paid164K$0.27 / $0.41View
DeepSeek V3.2 ExpPaid$0.33 / $0.50View
DeepSeek V3.2 SpecialePaid$0.42 / $0.79View
DeepSeek V4 FlashPaid$0.13 / $0.26View
DeepSeek V4 ProPaid$1.32 / $3.96View
DeepSeek V4 ProPaid$1.16 / $3.47View
DevstralFree$0.20 / $0.20View
Devstral LatestFree$0.20 / $0.20View
Devstral Medium LatestFree$0.20 / $0.20View
Doubao 1.5 Thinking ProPaid$0.40 / $1.62View

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.
Create a free accountBrowse all models

Other use cases