Gemini 3.7 Flash API

Gemini 3.7 Flash is the high-efficiency Flash model of the Gemini 3 family, with Pro-level agentic capabilities, stronger code generation and terminal execution, and high token efficiency for multi-step multimodal work.

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

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

Gemini 3.7 Flash by Google

Google's high-efficiency Flash model with Pro-level agentic and coding capabilities.

Gemini 3.7 Flash specs

Model ID
google/gemini-3.7-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

Gemini 3.7 Flash is the high-efficiency Flash model of the Gemini 3 family, with Pro-level agentic capabilities, stronger code generation and terminal execution, and high token efficiency for multi-step multimodal work.

Use cases

Gemini 3.7 Flash is documented as suited to agentic workflows, complex video reasoning, coding tasks, and enterprise workflows. It is also described as well suited for software engineering, knowledge work, and web development. Additional documented use cases include complex tasks with instruction following and tool calling, plus code generation, spatial or multimodal reasoning, multi-step agentic workflows, and design adherence.

Capabilities

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

Gemini 3.7 Flash benchmarks by Artificial Analysis

See how Gemini 3.7 Flash scores on independent evaluations. Data retrieved Nov 3, 2026.

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.7 Flash API pricing

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

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

Related articles

All posts

Gemini 3.7 Flash FAQ

What is the context window of Gemini 3.7 Flash?

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

What inputs and outputs does Gemini 3.7 Flash support?

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

What is the model ID for Gemini 3.7 Flash?

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

When was Gemini 3.7 Flash released?

Gemini 3.7 Flash became available on August 13, 2026.

How much does Gemini 3.7 Flash cost?

Gemini 3.7 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.7 Flash support streaming?

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

Can Gemini 3.7 Flash read images?

Yes, Gemini 3.7 Flash accepts image input alongside text.

Who created Gemini 3.7 Flash?

Gemini 3.7 Flash was built by Google.

Can Gemini 3.7 Flash call external tools or functions?

Yes, it supports function calling and tool use, including parallel tool calls.

Start building with Gemini 3.7 Flash

Gemini 3.7 Flash API

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