LLM Reference
OpenRouter

Gemini 2.5 Flash on OpenRouter

Gemini 2.5 · Google DeepMind

Serverless

Last refreshed 2026-06-15. Next refresh: weekly.

Why use Gemini 2.5 Flash on OpenRouter?

OpenRouter offers Gemini 2.5 Flash with pay-as-you-go pricing at $0.30/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Compare Gemini 2.5 Flash across 6 providers to find the best fit for your use case
Input / 1M
$0.30
Output / 1M
$2.50
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: google/gemini-2.5-flash
Model ID
google/gemini-2.5-flash

Request example

Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID google/gemini-2.5-flash.

Gotchas

  • Use provider model ID "google/gemini-2.5-flash", not the LLMReference slug "gemini-2.5-flash".

Compare Gemini 2.5 Flash Across Providers

ProviderInput (per 1M)Output (per 1M)
Google AI Studio$0.30$2.50
GCP Vertex AI$0.30$2.50
Replicate API$0.30$2.50
OpenRouter$0.30$2.50
Vercel AI Gateway$0.30$2.50
View all 6 providers →

Pricing

TypePrice (per 1M)
Input tokens$0.30
Output tokens$2.50

Capabilities

VisionMultimodalJSON / Tool useStructured OutputsCode Execution

About Gemini 2.5 Flash

Google: Gemini 2.5 Flash available via OpenRouter. Pricing: $0.3/1M input, $2.5/1M output.

Get Started