# gemini-2.5-flash — API, Pricing & Context Window | Vivgrid

> Source: https://vivgrid.com/docs/models/gemini-2.5-flash

gemini-2.5-flash on Vivgrid: Google's fast, affordable multimodal model with a 1M-token context window across text, image, video, audio and PDF.

`gemini-2.5-flash` is Google's fast, affordable multimodal model, popular for high-volume workloads that mix media. It pairs a **1M-token context window** with **text, image, video, audio, and PDF** inputs.

On Vivgrid it is served as a globally centralized model through the same unified API key as the rest of the catalog, making it easy to scale or swap.

## Specifications

| Field | Value |
| --- | --- |
| Provider | Google |
| Model ID | `gemini-2.5-flash` |
| Best for | General-purpose |
| Available on | Chat Completions |
| Context window | 1,048,576 tokens |
| Modalities | Text, Image, Video, Audio, PDF |
| Tool / function calling | Yes |
| Knowledge cutoff | 2025-01 |
| Acceleration | Global (centralized) |

## Pricing

Pricing in USD per 1M tokens.

| Input | Cached input | Output |
| --- | --- | --- |
| $0.30 | $0.08 | $2.50 |

### What one request costs

The rates above applied to a 20K-token prompt with a 2K-token reply — a typical single agent turn, small enough that every request is billed at the base rate.

| Request | Cost |
| --- | --- |
| Cold prompt, nothing cached | $0.0110 |
| Warm prompt, 90% of the input served from cache | $0.00704 |


## API surfaces

The Vivgrid Console catalogs `gemini-2.5-flash` on one surface, all behind the same API key. The endpoint shown is the one the Console previews for that surface.

| Surface | Primary endpoint | Use it for |
| --- | --- | --- |
| Chat Completions | `/chat/completions` | Agent projects, where Vivgrid injects the model, system prompt and tools server-side, and Model API calls that name the model per request. |

## Quick start

Get an API key from the Vivgrid Console (https://console.vivgrid.com), then call `gemini-2.5-flash` directly.

```bash
curl https://api.vivgrid.com/v1/chat/completions \
  -H "Authorization: Bearer $VIVGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-2.5-flash",
    "messages": [
      { "role": "user", "content": "Say hello in English, Chinese and Spanish." }
    ],
    "stream": true
  }'
```


## Ideal use cases

- High-volume multimodal agents and pipelines
- Cost-sensitive summarization and extraction
- Media-rich ingestion at scale
- Fast assistants needing very large context

## Related models

- [gpt-6-astra](/docs/models/gpt-6-astra) — OpenAI's frontier gpt-6 coding model
- [gemini-3.6-flash](/docs/models/gemini-3.6-flash) — next-gen flash
- [gemini-4-argon](/docs/models/gemini-4-argon) — Google's flagship Gemini 4 model
