Google

Google: Gemini 2.0 Flash

stable

Gemini 2.0 Flash is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

gemini-2.0-flashgeminireleased Dec 11, 2024
Context
1.0M
tokens
Max output
8.2K
tokens
Input
$0.10
per 1M
Output
$0.40
per 1M

Activity

Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.

Providers

ProviderContextInput /MOutput /M

Pricing

ItemPriceUnit
Input$0.10per 1M tokens
Output$0.40per 1M tokens
Cache read$0.025per 1M tokens

Performance

Reliability

Compare

Compare usage and performance
Place this model beside up to three other catalog models.

Capabilities

Capabilities
Modalities
Input
Output
Details
Model ID
gemini-2.0-flash
Family
gemini
Status
stable
Knowledge
-
Released
Dec 11, 2024
Gateway Config
API
2024-01-01
Auth
GOOGLE_API_KEY
Discovery
static
Provider type
static

Quick Start

index.ts
import Everstack from "@everstack/node";const client = new Everstack({  apiKey: process.env.EVERSTACK_API_KEY!,  baseUrl: "https://{instance}.{region}.everstack.ai",});const completion = await client.chat.completions.create({  model: "@google/gemini-2.0-flash",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://generativelanguage.googleapis.com/v1
Chat completions
https://generativelanguage.googleapis.com/v1/chat/completions
Model
gemini-2.0-flash
Auth env
GOOGLE_API_KEY

Gemini 2.0 Flash FAQ

How much does the Gemini 2.0 Flash API cost?

Through Google, Gemini 2.0 Flash costs $0.10 per 1M input tokens and $0.40 per 1M output tokens.

What is the context window of Gemini 2.0 Flash?

Gemini 2.0 Flash accepts up to 1.0M tokens of context and returns up to 8.2K output tokens on Google.

What can Gemini 2.0 Flash do?

Gemini 2.0 Flash supports chat, image input and function calling. It accepts text, image, audio and video input.

How do I call Gemini 2.0 Flash through Everstack?

Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @google/gemini-2.0-flash. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.