Gemini 3.8 Flash API

Gemini 3.8 Flash is Google’s most intelligent Flash model, engineered for long-horizon software engineering, autonomous agents and complex enterprise workflows, at Flash speed and cost efficiency.

Modalities
Image, TextText
In / Out price
$0.75/$3.75per 1M
Context window
1.05M tokens
Released
Sep 2, 2026

Gemini 3.8 Flash 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 3.8 Flash through AI/ML API

Gemini 3.8 Flash by Google

Gemini 3.8 Flash is Google's most intelligent Flash model, built for long-horizon software engineering, autonomous agents, and complex enterprise workflows.

Gemini 3.8 Flash specs

Model ID
google/gemini-3.8-flash
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 3.8 Flash API?

Gemini 3.8 Flash, internally codenamed "Skimaki," is Google's most intelligent Flash model, released September 2, 2026, the third Flash update in about five weeks, following 3.6 Flash (July 21) and 3.7 Flash (August 13). It's engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows, at Flash speed and cost efficiency. Google also released a cybersecurity-focused sibling, Gemini 3.8 Flash Cyber, alongside it.

Technical Reference

DeveloperGoogle
Model IDgoogle/gemini-3.8-flash
Context window1,048,576 tokens
Max output65,536 tokens
Supported inputsImage, Text
OutputText

What Gemini 3.8 Flash Brings to the Table

Strong agentic coding benchmarks
Google reports Gemini 3.8 Flash ahead of Anthropic's Opus 5 and OpenAI's GPT-5.6 Sol on several practical benchmarks, including Vals Finance Agent v2 (61.4% vs 58.6% and 53.8%), CharXiv Reasoning (86.2% vs 83.7%), and LVBench agentic mode (87.8% vs 75.4%).

Built for long-running agentic loops
Designed for multi-step orchestration, where an agent breaks a complex task into sequential actions and executes them with less human hand-holding, code generation, refactoring, and production-ready agents are the headline use cases.

Same speed and cost as 3.7 Flash
Google says the coding, agentic, and reasoning upgrades come at the same speed and low cost as the previous Flash release.

Sources: blog.google, 9to5google.com, officechai.com

Use cases

Gemini 3.8 Flash is documented as suited for long-horizon software engineering, including real-world coding benchmarks and complex multi-file refactoring. It is also suited for autonomous agents, with resilient multi-step planning and tool orchestration workflows.

It is documented for complex enterprise workflows, including demanding domain tasks and large-scale data pipelines with deep reasoning and high factual rigor. Google also describes it as well-suited for general-purpose, production-ready agents and agentic knowledge workflows.

It is additionally presented for interactive app building and rich visual experiences, including design adherence, interactive components, screenshots-to-app workflows, and 3D/physics-oriented app creation.

Capabilities

  • Reasoning
  • Streaming
  • Structured outputs
  • Function calling
  • Vision

Gemini 3.8 Flash benchmarks by Artificial Analysis

See how Gemini 3.8 Flash compares in intelligence, generation speed, cost per task and latency. Data retrieved Nov 3, 2026.

Intelligence

Index v5.0

Speed

Output tokens / second

Cost per task

USD / benchmark task

Benchmark results

Compare 6 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Gemini 3.8 Flash API pricing

Gemini 3.8 Flash pricing in US dollars
UsagePriceUnit
Input$0.751M tokens
Output$3.751M tokens
Cached input$0.0751M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Gemini 3.8 Flash 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 3.8 Flash$0.75$3.75
Gemini 3.5 Flash Lite$0.3$2.5
Gemini 3.7 Flash$0.75$3.75
Gemini 3.6 Flash$1.5$7.5
Gemini 4 Argon$2$10

How to use the Gemini 3.8 Flash 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-3.8-flash",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Gemini 3.8 Flash FAQ

What is the context window of Gemini 3.8 Flash?

Gemini 3.8 Flash has a 1,048,576 tokens context window and can return up to 65,536 tokens.

What inputs and outputs does Gemini 3.8 Flash support?

Gemini 3.8 Flash takes image, text as input and returns text.

What is the model ID for Gemini 3.8 Flash?

Use google/gemini-3.8-flash as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

When was Gemini 3.8 Flash released?

Gemini 3.8 Flash became available on September 2, 2026.

How much does Gemini 3.8 Flash cost?

Gemini 3.8 Flash costs $0.75 input and $3.75 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Gemini 3.8 Flash support streaming?

Yes, Gemini 3.8 Flash can stream responses as they are generated.

Can Gemini 3.8 Flash read images?

Yes, Gemini 3.8 Flash accepts image input alongside text.

Who created Gemini 3.8 Flash?

Gemini 3.8 Flash was built by Google.

Start building with Gemini 3.8 Flash

Gemini 3.8 Flash API

google/gemini-3.8-flash

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-3.8-flash",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'