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
| source | URL | retrieved | |
|---|---|---|---|
| Release date | blog.google β | 2026-06-09 | verified |
| Knowledge cutoff | marktechpost.com β | 2026-06-09 | verified |
| Input / output modalities (native Gemini API) | marktechpost.com β | 2026-06-09 | verified |
| Thinking mode | marktechpost.com β | 2026-06-09 | verified |
| Gemini API native pricing (input / output / cached) | marktechpost.com β | 2026-06-09 | verified |
| License | blog.google β | 2026-06-09 | verified |
| Terminal-Bench 2.1 | blog.google β | 2026-06-09 | verified |
| GDPval-AA | blog.google β | 2026-06-09 | verified |
| MCP Atlas | blog.google β | 2026-06-09 | verified |
| CharXiv Reasoning | blog.google β | 2026-06-09 | verified |
| Gemini 3.5 Flash launches at Google I/O 2026, beats Gemini 3.1 Pro on agentic benchmarks | blog.google β | 2026-06-09 | verified |
| How is Gemini 3.5 Flash different from Gemini 2.5 Flash? | blog.google β | 2026-06-09 | to verify |
| Does Gemini 3.5 Flash support tool calling through TheRouter? | blog.google β | 2026-06-09 | to verify |
| What is dynamic thinking and does TheRouter expose it? | marktechpost.com β | 2026-06-09 | to verify |