Gemini API pricing, compare token rates
Updated · official prices verified at the source
faborapi gives access to Gemini models through one OpenAI-compatible API and a prepaid balance. With the $29 → $320 credit pack, real cash cost = credit rate × 0.090625, so compared Gemini models cost 91% to 96% less than Google's official rates. For example, Gemini 3.1 Pro Preview costs $0.113 / $0.453 instead of $2.00 / $12.00 per 1M input/output tokens.
- Gemini models
- 5Gemini models
- max saving
- 96%max saving
- real cost factor
- ×0.091real cost factor
Gemini price comparison per 1M tokens
Pay $29 for $320 API credits (91% pack discount). Real cost = credit rate × 0.090625. Savings compare that real cost with Google's official USD rate for the exact same model ID.
| Model | Official price (input / output) | faborapi credit rate | Real cost with $29 pack | Real savings | Official source verified |
|---|---|---|---|---|---|
Gemini 3.1 Pro Previewgemini-3.1-pro-preview | $2.00 / $12.00 | $1.25 / $5.00 | $0.113 / $0.453 | 94% / 96% less | Google Gemini pricing (opens in a new tab)Checked |
Gemini 3.8 Flashgemini-3.8-flash | $0.75 / $3.75 | $0.75 / $3.75 | $0.068 / $0.34 | 91% less | Google Gemini pricing (opens in a new tab)Checked |
Gemini 3.5 Flashgemini-3.5-flash | No exact official ID match | $0.75 / $3.00 | $0.068 / $0.272 | Not comparable | Google Gemini pricing (opens in a new tab)ID not listed, checked |
Gemini 3.7 Flashgemini-3.7-flash | No exact official ID match | $0.75 / $3.75 | $0.068 / $0.34 | Not comparable | Google Gemini pricing (opens in a new tab)ID not listed, checked |
Gemini 3.8 Flash Cybergemini-3.8-flash-cyber | No exact official ID match | $0.75 / $3.75 | $0.068 / $0.34 | Not comparable | Google Gemini pricing (opens in a new tab)ID not listed, checked |
Official rates are Google's paid-tier standard prices for prompts up to 200k tokens; Google lists the Gemini 3.8 Flash price through 31 December 2026. Longer prompts, context caching and Batch prices differ. “No exact official ID match” means Google's pricing page lists no price for that exact model ID.
faborapi rates are read live from the catalog by exact model ID. Cache and long-context rates differ; see the documentation. Failed requests are not billed.
Credit packs for Gemini: minimum top-up $10
Credit packs range from the Nano Pack ($10 for $100 of credit, the minimum top-up) to the Gold Pack ($99 for $1100). Every pack works with all Gemini models above and with every other model in the catalog. Savings figures use the ×0.090625 factor shared by the Starter packs. Bronze and Gold lower it to 0.0891 and 0.09 respectively, so their real token cost is lower still.
Choose a pack
You pay
$29
API credit added
$320
- Cost per $100 of credit
- $9.06
- Real cost factor
- × 0.0906
- Below credit face value
- 90.94%
- Models unlocked
- Every model in the catalog
Prepaid, no subscription. Same models and token rates with every pack.
| Pack | You pay | API credit added | Cost per $100 of credit | Real cost factor | Below credit face value |
|---|---|---|---|---|---|
| Nano PackMinimum top-up | $10 | $100 | $10.00 | × 0.1 | 90% |
| Mini Pack | $15 | $160 | $9.38 | × 0.0938 | 90.63% |
| Starter PackReference pack | $29 | $320 | $9.06 | × 0.0906 | 90.94% |
| Bronze Pack | $49 | $550 | $8.91 | × 0.0891 | 91.09% |
| Silver Pack | $89 | $960 | $9.27 | × 0.0927 | 90.73% |
| Gold Pack | $99 | $1100 | $9.00 | × 0.09 | 91% |
Why use faborapi for Gemini?
One key, 25 models
Your sk-fabor- key covers Claude, GPT, Gemini and Grok. Switch models by changing the model string.
Prepaid, no subscription
Each successful request is deducted from one prepaid balance and itemized on your Usage page.
Drop-in compatible
Point an existing OpenAI SDK at https://faborapi.com/v1 and keep the Chat Completions request format.
Gemini pricing FAQ
How is the faborapi discount on Gemini API pricing calculated?
faborapi deducts credit at its listed rate per 1M tokens, and the Starter pack costs $29 for $320 of credit, so real cash cost = credit rate × 0.090625. Google lists Gemini 3.1 Pro Preview (gemini-3.1-pro-preview) at $2.00 / $12.00 per 1M input/output tokens; faborapi deducts $1.25 / $5.00 in credit, which costs $0.113 / $0.453 with the pack, 94% / 96% less. Official prices were checked on 29 October 2026.
Can I call Gemini models with the OpenAI SDK?
Yes. faborapi serves Gemini models through the OpenAI-compatible POST https://faborapi.com/v1/chat/completions endpoint. Set base_url to https://faborapi.com/v1, use your sk-fabor- API key and an exact model ID such as gemini-3.1-pro-preview. faborapi does not expose Google's native generateContent API; call Gemini models through Chat Completions.
How does the prepaid balance work for Gemini requests?
Every successful Gemini request deducts its token cost from one prepaid USD balance shared by all faborapi models. Failed requests are not billed, and a request is refused with HTTP 402 when the balance is 0 or lower. Accounts created with Google sign-in receive $0.50 of welcome credit. Credit packs range from the Nano Pack ($10 for $100 of credit, the minimum top-up) to the Gold Pack ($99 for $1100). The $29 Starter pack adds $320 of credit. Every pack is paid by bank card, Manza in Morocco or Mobile Money in supported African countries.
Start with $320 of Gemini credit for $29
Create an account, top up, and make your first Gemini API call in under two minutes.
How it works in Cursor & VS Code
Connect your editor to the Gemini models currently listed in faborapi without rebuilding your application. Cursor supports custom OpenAI settings; in VS Code, use an extension that accepts an OpenAI-compatible endpoint, such as Continue. These instructions configure chat requests, not every proprietary editor feature.
- 1
Prepare your account. Sign up, confirm your email, and create an API key. Check your prepaid balance and copy an exact model ID from the live catalog; a model mentioned in a comparison may not currently be available.
- 2
Set the connection. In Cursor’s model settings, enter your faborapi key and override the OpenAI base URL. In Continue, choose the OpenAI provider and set the same address: https://faborapi.com/v1. Add the selected model ID explicitly. Menu names vary by version.
- 3
Test before switching. Send a short prompt, confirm the response, and inspect Usage for token deductions. Keep production keys in environment variables, never in committed code. Check extension support before enabling streaming or tools.
quickstart.py
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FABORAPI_API_KEY"],
base_url="https://faborapi.com/v1", # Replace the default endpoint
)
response = client.chat.completions.create(
model="gemini-3.1-pro-preview",
messages=[{"role": "user", "content": "Explain this function briefly."}],
)
print(response.choices[0].message.content)