Model families

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.

12 models2 free at $0OpenAI- & Anthropic-compatiblePay-as-you-go
ModelTierContextPrice in / out (1M)
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
Gemma 4 26b A4b ItFree$0.20 / $0.20View
Gemma3 270mFreeFreeView

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-2.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-2.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 — 2 of the 12 Gemini models are on the free tier and callable at $0 (for example Gemma 4 26b A4b It, 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 12 Gemini models, including Gemini 2.5 Flash, Gemini 2.5 Pro, Gemini 3 Flash. The catalog is refreshed as new models launch, so the list above is always current.
Create a free accountBrowse all models