Back to Models

Gemini 3.5 Flash

googlegoogle/gemini-3.5-flash

API guide

Chat completion

Use Gemini 3.5 Flash as an OpenAI-compatible chat model through TheRouter for agentic coding and long-context reasoning without changing SDKs.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-3.5-flash","messages":[{"role":"user","content":"Refactor this module to use async/await and add proper error handling."}]}'

Tool calling

Gemini 3.5 Flash supports function calling through TheRouter's OpenAI-compatible schema, making it well-suited for multi-step agentic pipelines that coordinate search, code execution, and data retrieval.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-3.5-flash","messages":[{"role":"user","content":"List all failing tests in the repo."}],"tools":[{"type":"function","function":{"name":"run_tests","parameters":{"type":"object","properties":{"filter":{"type":"string"}},"required":[]}}}]}'

Related news

Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release dateblog.google β†—2026-06-09verified
Knowledge cutoffmarktechpost.com β†—2026-06-09verified
Input / output modalities (native Gemini API)marktechpost.com β†—2026-06-09verified
Thinking modemarktechpost.com β†—2026-06-09verified
Gemini API native pricing (input / output / cached)marktechpost.com β†—2026-06-09verified
Licenseblog.google β†—2026-06-09verified
Terminal-Bench 2.1blog.google β†—2026-06-09verified
GDPval-AAblog.google β†—2026-06-09verified
MCP Atlasblog.google β†—2026-06-09verified
CharXiv Reasoningblog.google β†—2026-06-09verified
Gemini 3.5 Flash launches at Google I/O 2026, beats Gemini 3.1 Pro on agentic benchmarksblog.google β†—2026-06-09verified
How is Gemini 3.5 Flash different from Gemini 2.5 Flash?blog.google β†—2026-06-09to verify
Does Gemini 3.5 Flash support tool calling through TheRouter?blog.google β†—2026-06-09to verify
What is dynamic thinking and does TheRouter expose it?marktechpost.com β†—2026-06-09to verify
Help & contact