Model familiesCreate a free accountBrowse all models
GPT API
OpenAI’s GPT and o-series reasoning models behind one base URL. Use the OpenAI SDK you already have — just change the base URL and key — and compare versions, context and pricing side by side.
55 models3 free at $0OpenAI- & Anthropic-compatiblePay-as-you-go
Call GPT 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="gpt-3.5",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)Frequently asked questions
- How do I use GPT models through Api.Airforce?
- Point any OpenAI-compatible client at https://api.airforce/v1 and set the model id (for example "gpt-3.5"). Your existing OpenAI SDK works unchanged — you only swap the base URL and API key. The same key also speaks the Anthropic Messages API.
- Are any GPT models free?
- Yes — 3 of the 55 GPT models are on the free tier and callable at $0 (for example GPT 4o Mini, GPT Oss 120b, GPT Oss 20b). A free account needs no credit card; the remaining models are pay-as-you-go.
- How much do GPT models cost on Api.Airforce?
- Billing is pay-as-you-go per token, at rates that sit well below the official APIs. The exact per-model input and output prices are listed in the table above and update automatically as upstream prices change.
- Which GPT models are available?
- Currently 55 GPT models, including GPT 3.5, GPT 3.5 Turbo 16k, GPT 4. The catalog is refreshed as new models launch, so the list above is always current.