# Google Gemini 2.5 Flash API

> Gemini 2.5 Flash is the workhorse model of Google's Gemini 2.5 family, a thinking model released as stable in June 2025. Google positions it for large-scale processing, low-latency and high-volume tasks that require reasoning, and agentic use cases, with text, image, video and audio input. It sits between 2.5 Flash-Lite and 2.5 Pro in the same generation and remains a stable model with no announced shutdown date.

Source: https://www.sandbase.ai/models/google/gemini-2.5-flash
API reference: https://www.sandbase.ai/models/google/gemini-2.5-flash/docs

## Facts

- Provider: Google
- Type: Language model
- Model ID: `google/gemini-2.5-flash`
- Price: $0.30 per 1M input tokens, $2.50 per 1M output tokens
- Context window: 1M tokens, up to 65.5K output tokens
- Capabilities: chat, vision, audio input, reasoning, structured output, function calling
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Chat Completions API: `POST https://api.sandbase.ai/v1/chat/completions`

```bash
curl -X POST https://api.sandbase.ai/v1/chat/completions \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemini-2.5-flash",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}'
```

## FAQ

### How do I call Google Gemini 2.5 Flash through SandBase?

Create a SandBase API key, then send requests with the model ID "google/gemini-2.5-flash" to Chat Completions API (/v1/chat/completions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### How much does Google Gemini 2.5 Flash cost?

$0.30 per 1M input tokens and $2.50 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

### What is the context window of Google Gemini 2.5 Flash?

1M tokens of context, with up to 65.5K output tokens per response.

### How does Google Gemini 2.5 Flash score on benchmarks?

Google Gemini 2.5 Flash scores 13.1 on the Artificial Analysis Intelligence Index (v4.3), ranking #69 of 83 models on SandBase. Source: Artificial Analysis, measured as Gemini 2.5 Flash (Reasoning).

### Which features does Google Gemini 2.5 Flash support?

Google Gemini 2.5 Flash supports vision (image input), reasoning, function calling, structured output. See Specifications above for the full list.

### Do I need a separate Google account?

No. One SandBase API key and balance gives you access to Google Gemini 2.5 Flash and the other models in the catalog; you do not need to sign up with Google separately.
