Model Details
Gemini 3.5 Flash is a fast, general-purpose large language model for everyday text work: summarisation, extraction, classification, rewriting, code assistance and multi-turn conversation.
It is served through the **OpenAI-compatible chat completions API** rather than the queue submit/poll contract:
``` POST https://queue.modelrunner.run/google/gemini-3.5-flash/chat/completions ```
Point any OpenAI SDK or OpenAI-compatible tool at `base_url = https://queue.modelrunner.run/google/gemini-3.5-flash` with your ModelRunner API key. Streaming (`"stream": true`), tool calling, JSON mode and multi-turn `messages` all work; parameters the platform does not interpret are forwarded to the model verbatim.
Billing is per token from the model's own reported usage. Cached input tokens are billed at a reduced rate; thinking tokens are billed at the output rate.
The request body mirrors OpenAI's chat completions shape: a `messages` array of `system`/`user`/`assistant`/`tool` turns, plus optional `temperature` and `top_p` for sampling control, `max_tokens` to cap generation length, a `seed` for best-effort determinism, and up to four `stop` sequences. Pass an OpenAI-format `tools` array together with `tool_choice` (`auto`, `none`, `required`, or a specific tool) to let the model call functions, and set `response_format` to `{"type": "json_object"}` to force valid JSON output. The response comes back as a standard ChatCompletion object — `id`, `model`, `choices[]` and a `usage` block.
Pricing is $2.10 per 1M input tokens, $0.21 per 1M cached input tokens, and $12.60 per 1M output tokens, so repeated system prompts or long shared context cut cost sharply once cached. It's a solid default for chat-style product features, agent tool loops, and everyday summarisation, extraction and rewriting work — reach for Flash-Lite when volume matters more than quality, or Gemini 3.7 Flash when a task needs deeper multi-step reasoning.
