Gemini 3.5 Flash API

Gemini 3.5 Flash is a multimodal reasoning model from Google optimized for fast inference and agentic workflows. Supports text, image, audio and video understanding with large context window and strong coding capabilities.

Modalities
Text, Image, Audio, VideoText
In / Out price
$1.5/$9per 1M
Context window
1.05M tokens
Released
May 19, 2026

Gemini 3.5 Flash overview

Gemini 3.5 Flash by Google

Gemini 3.5 Flash model narrows the gap between Flash-tier speed and Pro-level reasoning.

Gemini 3.5 Flash specs

Model ID
google/gemini-3-5-flash
Developer
Google
Context window
1,048,576 tokens
Max output
65,536 tokens
Input
Text, Image, Audio, Video
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What Is Gemini 3.5 Flash API?

With Gemini 3.5 Flash API, Google introduces a new generation of multimodal AI designed for real-world production workloads, high-speed automation, advanced coding assistance, and scalable agentic workflows. Whether you're building AI-powered SaaS tools, enterprise copilots, customer support systems, automation pipelines, or next-generation coding agents, Gemini 3.5 Flash delivers the performance modern applications demand.

Unlike traditional heavyweight models that often sacrifice latency for reasoning quality, Gemini 3.5 Flash focuses on delivering advanced reasoning, coding capability, and multimodal understanding at Flash-level speed.

What Gemini 3.5 Flash brings to the table

Everything developers are expecting based on current leaks, official Gemini 3 series documentation, and early tester reports.

Near-Pro reasoning

Expected to come significantly closer to Gemini 3.1 Pro's reasoning quality while remaining faster and cheaper. Early testers report that the long-standing "lazy model" problem has been largely addressed.

1 million token context

Carries forward the full 1M token input context window from the Gemini 3 generation, large enough to fit entire codebases, lengthy documents, and complex multi-turn agentic conversations in a single call.

Configurable thinking levels

Like Gemini 3 Flash before it, 3.5 Flash is expected to support four thinking levels, minimal, low, medium, and high, letting developers trade off reasoning depth against latency and cost per request.

Full multimodal support

Accepts text, images, audio, video, and PDFs as input. Carries forward the improved audio grounding from the Gemini 3 series, including better handling of accented speech and background noise.

Use cases

Gemini 3.5 Flash is documented as suited to agentic workflows, coding tasks, and multi-week enterprise processes.

It is also described as well-suited for rapid agentic loops, including complex coding cycles and iterations.

The model is further presented as a strong choice for sub-agent deployment, multi-step workflows, and long-horizon tasks at scale.

Google also says it can be used to develop new applications, maintain codebases, and help prepare financial documents.

Capabilities

  • Function calling
  • Streaming
  • Structured outputs
  • Reasoning

Gemini 3.5 Flash benchmarks by Artificial Analysis

See how Gemini 3.5 Flash compares in generation speed and latency. Data retrieved Nov 3, 2026.

Speed

Output tokens / second

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

Gemini 3.5 Flash pricing in US dollars
UsagePriceUnit
Input$1.51M tokens
Output$91M tokens
Cached input$0.151M tokens

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

Gemini 3.5 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.5 Flash$1.5$9
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 3.5 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-5-flash",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Gemini 3.5 Flash FAQ

What is the context window of Gemini 3.5 Flash?

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

What inputs and outputs does Gemini 3.5 Flash support?

Gemini 3.5 Flash takes audio, image, text, video as input and returns audio, text.

What is the model ID for Gemini 3.5 Flash?

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

How much does Gemini 3.5 Flash cost?

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

Does Gemini 3.5 Flash support streaming?

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

Can Gemini 3.5 Flash read images?

Yes, Gemini 3.5 Flash accepts image input alongside text.

Who created Gemini 3.5 Flash?

Gemini 3.5 Flash was built by Google.

What tool-related features does Gemini 3.5 Flash offer?

It supports function calling, parallel tool calls, and structured output generation.

Start building with Gemini 3.5 Flash

Gemini 3.5 Flash API

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