Gemini Flash Latest overview
Gemini Flash Latest by Google
Requests always route to whichever Gemini Flash release is current, Google gives two weeks' notice by email before swapping the model behind the alias.
Gemini Flash Latest specs
- Model ID
google/gemini-flash-latest- Developer
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Input
- Image, Text
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
What Is Gemini Flash Latest API?
Gemini Flash Latest is an auto-updated alias from Google that always points to the newest stable release in the Gemini Flash line, hot-swapped whenever a new Flash version ships. Google gives a two-week notice by email before the model behind the alias changes.
Because it tracks the newest release, its exact capabilities shift over time as Google ships new Flash generations behind the same alias.
Technical Reference
| Developer | |
|---|---|
| Model ID | google/gemini-flash-latest |
| Context window | 1,048,576 tokens |
| Max output | 65,536 tokens |
What Gemini Flash Latest Brings to the Table
Always current
The alias is hot-swapped to the newest stable Flash release, so requests automatically use Google's latest Flash model without changing the model ID.
Advance notice on changes
Google provides a two-week notice before swapping the model behind the alias for any breaking change.
Use cases
Gemini Flash Latest is documented as suited for long-horizon software engineering, autonomous agents, and complex enterprise workflows. It is also positioned for coding tasks, based on the model documentation for the latest Flash release.
It is suited to interactive apps that need quick answers and complex analysis. The documentation also describes it as useful for document analysis in enterprise and developer settings.
Capabilities
- File input
- Reasoning
- Streaming
- Vision
- Web search
Gemini Flash Latest API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $1.59 | 1M tokens |
| Output | $9.52 | 1M tokens |
| Cached input | $0.1587 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Gemini Flash Latest vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $1.59 | $9.52 | |
| $0.3 | $2.5 | |
| $0.75 | $3.75 | |
| $0.75 | $3.75 | |
| $2 | $10 |
How to use the Gemini Flash Latest API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "google/gemini-flash-latest",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "google/gemini-flash-latest",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "google/gemini-flash-latest",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Gemini Flash Latest FAQ
What is the context window of Gemini Flash Latest?
Gemini Flash Latest has a 1,048,576 tokens context window and can return up to 65,536 tokens.
What inputs and outputs does Gemini Flash Latest support?
Gemini Flash Latest takes image, text as input and returns text.
What is the model ID for Gemini Flash Latest?
Use google/gemini-flash-latest as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
When was Gemini Flash Latest released?
Gemini Flash Latest became available on April 27, 2026.
How much does Gemini Flash Latest cost?
Gemini Flash Latest costs $1.59 input and $9.52 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Does Gemini Flash Latest support streaming?
Yes, Gemini Flash Latest can stream responses as they are generated.
Can Gemini Flash Latest read images?
Yes, Gemini Flash Latest accepts image input alongside text.
Who created Gemini Flash Latest?
Gemini Flash Latest was built by Google.
How can developers access Gemini Flash Latest?
It is available via the API endpoint https://api.aimlapi.com/v1/chat/completions using the model id google/gemini-flash-latest.