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 modelsOpenAI- & 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)
[次]gemini 3.8 FlashPaid—See detailsView
[次]glm 5.3 FlashPaid—$14.13 / $14.13View
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 Fable 5.1Paid1M$1.53 / $7.66View
Claude Haiku 4.5Paid200K$0.50 / $2.50View
Claude Opus 4Paid—$5.31 / $26.49View
Claude Opus 4.1Paid200K$5.31 / $26.49View
Claude Opus 4.5Paid200K$2.50 / $12.50View
Claude Opus 4.6Paid—$2.85 / $14.25View
Claude Opus 4.7Paid1M$2.50 / $12.50View
Claude Opus 4.8Paid1M$2.50 / $12.50View
Claude Opus 5Paid1M$2.50 / $12.50View
Claude Opus 5.5Paid1M$3.92 / $19.60View
Claude Sonnet 4Paid200K$1.05 / $5.31View
Claude Sonnet 4.5Paid1M$1.50 / $7.50View
Claude Sonnet 4.6Paid1M$1.50 / $7.50View
Claude Sonnet 5Paid1M$1.59 / $7.97View
Claude Sonnet 5.5Paid1M$0.37 / $1.85View
Codex Auto ReviewPaid—$0.09 / $0.56View
Codex Mini 05.16Paid—$1.95 / $7.80View
DeepSeekPaid—$0.33 / $0.66View
DeepSeek ChatPaid—$0.26 / $1.03View
DeepSeek OCRPaid—$0.07 / $0.29View
DeepSeek R1Paid64K$0.51 / $2.10View
DeepSeek R1Paid164K$0.96 / $3.04View
DeepSeek R1Paid—$1.32 / $5.22View
DeepSeek ReasonerPaid—$0.25 / $0.38View
DeepSeek V3Paid131K$0.25 / $0.85View
DeepSeek V3Paid—$0.32 / $0.32View
DeepSeek V3.1Paid131K$0.51 / $1.56View
DeepSeek V3.1 TerminusPaid—$0.61 / $1.83View
DeepSeek V3.1 ThinkPaid—$0.59 / $1.78View
DeepSeek V3.2Paid164K$0.27 / $0.41View
DeepSeek V3.2 ExpPaid—$0.20 / $0.30View
DeepSeek V3.2 SpecialePaid—$0.42 / $0.79View
DeepSeek V4 FlashPaid—$0.24 / $0.62View
DeepSeek V4 ProPaid—$0.92 / $2.77View

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="[次]gemini-3.8-flash",
    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 [次]gemini 3.8 Flash, [次]glm 5.3 Flash, 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?
The featured models are pay-as-you-go; a free account can also use the open free-tier models from the catalog at $0.
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