返回模型列表

Gemini 3.5 Flash

googlegoogle/gemini-3.5-flash

API 使用指南

Chat 调用

通过 TheRouter 以 OpenAI-compatible chat model 调用 Gemini 3.5 Flash,进行 agentic 编程和长上下文推理,无需更换 SDK。

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."}]}'

工具调用

Gemini 3.5 Flash 通过 TheRouter 的 OpenAI-compatible schema 支持函数调用,非常适合协调搜索、代码执行和数据检索的多步 agentic 流水线。

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":[]}}}]}'

相关新闻

事实档案 — 本页每条断言可在此回溯来源
来源URL采集于
发布日期blog.google ↗2026-06-09已核实
知识截止marktechpost.com ↗2026-06-09已核实
输入 / 输出模态(原生 Gemini API)marktechpost.com ↗2026-06-09已核实
Thinking 模式marktechpost.com ↗2026-06-09已核实
Gemini API 原生定价(输入 / 输出 / 缓存)marktechpost.com ↗2026-06-09已核实
许可blog.google ↗2026-06-09已核实
Terminal-Bench 2.1blog.google ↗2026-06-09已核实
GDPval-AAblog.google ↗2026-06-09已核实
MCP Atlasblog.google ↗2026-06-09已核实
CharXiv Reasoningblog.google ↗2026-06-09已核实
Gemini 3.5 Flash 于 Google I/O 2026 发布,在 agentic benchmark 上超越 Gemini 3.1 Problog.google ↗2026-06-09已核实
Gemini 3.5 Flash 与 Gemini 2.5 Flash 有何不同?blog.google ↗2026-06-09待核实
Gemini 3.5 Flash 是否通过 TheRouter 支持工具调用?blog.google ↗2026-06-09待核实
动态 thinking 是什么?TheRouter 是否暴露它?marktechpost.com ↗2026-06-09待核实
帮助与联系