THE COST OF BUILDING WITH AI

Lower-cost Gemini API access

Compare Gemini text-model rates on Tokely and exact-model OpenRouter references. Separate text-token pricing from Gemini image-generation variants.

THE SHORT ANSWER

Tokely supports selected Gemini models through its OpenAI-compatible interface. The table below covers text-token prices. Gemini image models have separate generation settings and billing units, linked from the image API guide.

Flash and Pro are separate choices

Evaluate the Flash and Pro model versions against your task before changing models for price. Keep the version and request contract constant when comparing gateway costs. A model's native context window does not remove Tokely's request-body and output limits.

Keep text and image budgets separate

Gemini-branded image models do not use the text rates in this table. Their model pages specify a bounded image variant, input requirements and per-generation rates. Text endpoints currently accept the documented text input contract, not every native Google multimodal feature.

Gemini API price comparison

USD per 1M tokens. Example: 1M uncached input + 250K output. Tokely rates dated 2026-10-09; OpenRouter references checked 2026-10-09. Platform/checkout fees, taxes, special units and context tiers excluded. Different models are not quality equivalents. Methodology.
ModelTokely input / outputTokely exampleOpenRouter exampleDifference vs OpenRouter
Gemini 3.1 Flash LiteGoogle$0.050552 / $0.303312Cache read: $0.005056$0.12638$0.625$0.25 / $1.5 per 1M79.8% lower
Gemini 2.5 FlashGoogle$0.060663 / $0.505924Cache read: $0.006067$0.187144$0.925$0.3 / $2.5 per 1M79.8% lower
Gemini 3.7 FlashGoogle$0.151656 / $0.758279Cache read: $0.015166$0.341226$1.6875$0.75 / $3.75 per 1M79.8% lower
Gemini 3.8 FlashGoogle$0.151656 / $0.758279Cache read: $0.015166$0.341226$1.6875$0.75 / $3.75 per 1M79.8% lower
Gemini 3.5 Flash LiteGoogle$0.218386 / $1.819882Cache read: $0.021839$0.673357$0.925$0.3 / $2.5 per 1M27.2% lower
Gemini 3.5 FlashGoogle$0.303312 / $1.819868Cache read: $0.030332$0.758279$3.75$1.5 / $9 per 1M79.8% lower
Gemini 2.5 ProGoogle$0.505519 / $3.033113Cache read: $0.050552$1.263797$3.75$1.25 / $10 per 1M66.3% lower
Gemini 3 ProGoogle$0.75 / $5.25Cache read: $0.75$2.0625Not matched—
Gemini 3.1 ProGoogle$0.833334 / $5.833334Cache read: $0.18$2.291668Not matched—

Change the token mix in the calculator →

Questions before you switch

Can I use the native Google Gemini SDK unchanged?

Tokely exposes the documented OpenAI-compatible endpoints rather than the native Google API contract. Use a compatible OpenAI client or send the documented HTTP request.

Where are Gemini image prices?

Use the image API comparison and the individual Gemini image-model pages. Their image-generation rates are separate from text-token pricing.

Keep exploring

OpenRouter migration checklist · Billing documentation

START WITH YOUR OWN WORKLOAD

Know the price.
Then make the call.

Check the model, compare the rate, and connect with a Tokely key.

Read the quickstart ↗Explore all models →