Gemini Flash Latest API

Google's auto-updated alias for the newest stable Gemini Flash model, same model ID, always current.

Modalities
Image, TextText
In / Out price
$1.59/$9.52per 1M
Context window
1.05M tokens
Released
Apr 27, 2026

Gemini Flash Latest overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Gemini Flash Latest through AI/ML API

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
Google
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

DeveloperGoogle
Model IDgoogle/gemini-flash-latest
Context window1,048,576 tokens
Max output65,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

Gemini Flash Latest pricing in US dollars
UsagePriceUnit
Input$1.591M tokens
Output$9.521M tokens
Cached input$0.15871M 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.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Gemini Flash Latest$1.59$9.52
Gemini 3.5 Flash Lite$0.3$2.5
Gemini 3.8 Flash$0.75$3.75
Gemini 3.7 Flash$0.75$3.75
Gemini 4 Argon$2$10

How to use the Gemini Flash Latest API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export 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."
    }
  ]
}'

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.

Start building with Gemini Flash Latest

Gemini Flash Latest API

google/gemini-flash-latest

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export 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."
    }
  ]
}'