Google: Gemini 2.5 Flash
Fast Gemini workhorse for multimodal apps where latency and price matter
- Model lab
- Model family
- gemini-flash
Quickstart
Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to moduck/google/gemini-2-5-flash.
import os
import requests
base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "moduck/google/gemini-2-5-flash"
response = requests.post(
f"{base_url}/chat/completions",
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": model_id,
"messages": [{"role": "user", "content": "Hello!"}],
"stream": False,
},
timeout=60,
)
response.raise_for_status()
print(response.json())Use the familiar OpenAI-style chat request format to make model integration easier.
Gemini 2.5 Flash API Pricing
| Type | Price information |
|---|---|
| Input | USD 0.24 / 1M tokens |
| Output | USD 2 / 1M tokens |
| Cached input | USD 0.024 / 1M tokens |
Benchmarks
Non-reasoning
Performance
| Measurement variant | Output speed | Time to first token | Time to first answer token | End-to-end response time |
|---|---|---|---|---|
| Non-reasoning | 203.48 tokens/s | 0.48 s | — | — |
Performance trends
Availability
Gemini 2.5 Flash Compare models
| Model | Input price | Output price | Context window | Capabilities |
|---|---|---|---|---|
| Gemini 2.5 FlashThis page | USD 0.24 / 1M tokens | USD 2 / 1M tokens | 1,048,576 | Text output · Reasoning · Tool calling |
| Gemini 3.8 Flash | USD 0.6 / 1M tokens | USD 3 / 1M tokens | 1,048,576 | Text output · Reasoning · Tool calling |
| Gemini 3.7 Flash | USD 0.6 / 1M tokens | USD 3 / 1M tokens | 1,048,576 | Text output · Reasoning · Tool calling |
| Gemini Flash Latest | USD 0.4 / 1M tokens | USD 2.4 / 1M tokens | 1,048,576 | Text output · Reasoning · Tool calling |
| Gemini 3.6 Flash | USD 0.3 / 1M tokens | USD 1.5 / 1M tokens | 1,048,576 | Text output · Reasoning · Tool calling |
Model specifications
- Input
- text, image, audio, video, pdf
- Output
- text
- Context window
- 1,048,576
- Maximum output
- 65,536
- Release date
- 2025-06-17
- Attachments
- Yes
- Reasoning
- Yes
- Tool calling
- Yes
- Structured output
- Yes
- Temperature setting
- Yes
- Open weights
- No
Frequently asked questions
What is Gemini 2.5 Flash for?
Fast Gemini workhorse for multimodal apps where latency and price matter
What inputs and outputs does Gemini 2.5 Flash support?
Recorded inputs: text, images, audio, video, PDF; outputs: text.
How is Gemini 2.5 Flash priced?
The pricing table shows the current recorded Moduck price. For example: Input USD 0.24 / 1M tokens; Output USD 2 / 1M tokens. See the pricing table for all units, variants, and conditions.
What specifications are recorded for Gemini 2.5 Flash?
Current model records list Context window 1,048,576 tokens; Maximum output 65,536 tokens.
What model parameter does the Quickstart use?
The example uses moduck/google/gemini-2-5-flash. This is a cataloged Moduck public or reserved ID; check your account’s available models before calling it.
Can I call this model through the Moduck API now?
This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.