Model familiesCreate a free accountBrowse all models
Gemini API
Google’s Gemini and Gemma models — long-context, multimodal and fast — available through one unified API with pay-as-you-go pricing well below the official rate.
55 models1 free at $0OpenAI- & Anthropic-compatiblePay-as-you-go
Call Gemini 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-1.5-flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)Frequently asked questions
- How do I use Gemini models through Api.Airforce?
- Point any OpenAI-compatible client at https://api.airforce/v1 and set the model id (for example "gemini-1.5-flash"). 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 Gemini models free?
- Yes — 1 of the 55 Gemini models is on the free tier and callable at $0 (for example Gemma3 270m). A free account needs no credit card; the remaining models are pay-as-you-go.
- How much do Gemini 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 Gemini models are available?
- Currently 55 Gemini models, including Gemini 1.5 Flash, Gemini 1.5 Pro, Gemini 2.0 Flash Lite. The catalog is refreshed as new models launch, so the list above is always current.