Updated
What is the Gemini 3.6 Flash API?
The Gemini 3.6 Flash API is live on UnificAlly as google/gemini-3.6-flash, from $0.225/1M tokens of input and $1.125/1M tokens of output. Gemini 3.6 Flash is Google's July 21, 2026 Flash release, the generation before Gemini 3.7 Flash, built for computer use, long-context retrieval, and everyday agentic work. It takes text, image, audio, video, and PDF input, outputs up to 65k tokens of text, and carries a 1M-token context window. It runs on UnificAlly as google/gemini-3.6-flash, with thinking on a tunable level and output measured at 234.6 tokens per second.
Gemini 3.6 Flash API specs
| Model ID | google/gemini-3.6-flash |
| Endpoint | POST https://direct-api.unifically.com/v1/chat/completions |
| Other formats | POST /v1/responses and POST /v1/messages |
| Request types | Chat, streaming, tool calls, video input |
| Output | Text |
| Video input | A public https link in a video_url content part, Chat Completions only |
| Video formats | mp4, mov, webm, mkv, avi, mpeg, 3gp, flv, wmv |
| Input rate | $0.225/1M tokens |
| Output rate | $1.125/1M tokens |
| Cache read rate | $0.0225/1M tokens |
The Gemini 3.6 Flash API bills per token, with no subscription. The Gemini API pricing guide covers the rates for every Gemini model.
How to use the Gemini 3.6 Flash API
- Create an API key on the API keys page.
- Send a POST request to
/v1/chat/completionsonhttps://direct-api.unifically.comwith the model ID and amessagesarray. - Read the reply from
choices[0].message.contentin the same response.
curl -X POST https://direct-api.unifically.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "google/gemini-3.6-flash",
"messages": [
{ "role": "user", "content": "Extract every invoice line item from this PDF into JSON with amounts and dates." }
]
}'
The response comes back synchronously with the completion and the token usage:
{
"id": "3f8e2a1c-7b4d-4e9a-9c2f-5d1e8b7a6c40",
"object": "chat.completion",
"created": 1710000000,
"model": "google/gemini-3.6-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Here are the invoice line items as JSON..."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 28,
"completion_tokens": 64,
"total_tokens": 92,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0
}
}
}
Set "stream": true to receive tokens as they generate. The stream is sent as server-sent events and ends with data: [DONE]. Send requests to direct-api.unifically.com so long replies are not cut short by a proxy timeout.
Gemini 3.6 Flash API parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
model | string | required | Model identifier, google/gemini-3.6-flash |
messages | array | required | Non-empty array of message objects with role and content (a string or an array of content parts). Roles: system, developer, user, assistant, tool, function |
stream | boolean | false | If true, the response is streamed using server-sent events |
stream_options | object | none | Set { "include_usage": true } to get a final chunk with token usage. Only used when stream is true |
temperature | number | none | Sampling temperature between 0 and 2. Higher values produce more random output |
max_tokens | integer | none | Maximum number of tokens to generate in the completion |
max_completion_tokens | integer | none | Accepted as an alias for max_tokens |
reasoning_effort | string | none | How much the model reasons before answering |
top_p | number | none | Nucleus sampling parameter. Alternative to temperature |
stop | string or array | none | Up to four sequences where the model stops generating further tokens |
tools | array | none | List of tools the model may call. Each tool needs a type and a function definition |
tool_choice | string or object | none | Controls which tool, if any, is called: none, auto, required, or a specific tool |
response_format | object | none | Set { "type": "json_object" } to enable JSON mode when the model supports it |
The Gemini 3.6 Flash API documentation has the full reference, including the Responses and Messages formats.
Key features of Gemini 3.6 Flash
The strongest computer-use score in its table
83.0% on OSWorld-Verified in Google's July 2026 evaluation, ahead of Claude Sonnet 5 at 81.2%, Gemini 3.5 Flash at 78.4%, and GPT 5.6 Luna at 72.6%. Desktop automation agents are where this model earns its keep.
Long-context retrieval that holds up
91.8% on GDM-MRCR v2 at 128k tokens with eight needles, well ahead of Grok 4.5 at 81.4% and Claude Sonnet 5 at 71.6%. On the 1M pointwise variant it scores 54.0%, roughly double Gemini 3.5 Flash.
Fast output, solid independent score
Artificial Analysis measures 234.6 output tokens per second, the second-fastest of 188 tracked models, with an Intelligence Index of 52, above Gemini 3.1 Pro Preview at 48 while running about twice as fast.
Verified coding and security patching
77.45% on Vals AI's independent SWE-bench Verified re-run, plus first place on the CyberBench Patch track at 84.75%. It also cut output tokens about 17% against Gemini 3.5 Flash on the same work.
What Gemini 3.6 Flash is best for
Desktop and browser automation
83% OSWorld-Verified; clicks, forms, and multi-app tasks on a real desktop.
RAG over big corpora
91.8% retrieval at 128k tokens keeps grounding accurate deep into the window.
High-throughput batch work
234.6 tok/s output, second-fastest tracked, for summarization and extraction at volume.
Security patching agents
First on the CyberBench Patch track at 84.75% in the Vals AI suite.
Multimodal document pipelines
PDF, image, audio, and video input without a separate preprocessing model.
Stable production pipelines
The regression-tested choice when 3.7 Flash behavior changes are a risk.
Gemini 3.6 Flash use cases
Use Gemini 3.6 Flash for computer-use agents that fill forms, drive internal tools, and run browser workflows; its OSWorld-Verified score leads the models around it. It fits retrieval pipelines over large document sets, where 128k-deep recall keeps citations honest. Data teams can run it for machine-learning workflow automation and bulk extraction at 234 tokens per second. It also works as the stable Flash choice for pipelines that were tuned before Gemini 3.7 Flash arrived and should not change behavior mid-quarter.
Gemini 3.6 Flash limitations
Time to first token is high at high thinking, near 17 seconds in Artificial Analysis measurements, even though output speed after that is near the top of the board.
It is not a frontier coding model: Google's own table puts it well behind GPT 5.6 Luna on DeepSWE v1.1 (49% against 67%) and behind Claude Sonnet 5 on SWE-Bench Pro.
Gemini 3.7 Flash replaced it as the newest Flash three weeks after release, so it no longer gets the "latest" label. Output is text only.
Gemini 3.6 Flash vs Gemini 3.5 Flash
The 3.6 release was a big step over 3.5 Flash: DeepSWE v1.1 rose from 37% to 49%, MLE-Bench from 49.7% to 63.9%, OSWorld-Verified from 78.4% to 83.0%, and 1M-token MRCR retrieval roughly doubled from 26.6% to 54.0%. It also finishes the same work in about 17% fewer output tokens. If anything still runs on Gemini 3.5 Flash, moving up is a clear win.
When to use Gemini 3.6 Flash
Use Gemini 3.6 Flash when the job is computer use, long-context retrieval, or high-volume multimodal processing and you want known, regression-tested behavior. For new builds that just want the strongest Flash model, start with Gemini 3.7 Flash instead and keep 3.6 Flash as the fallback your pipeline already understands.
Video input
Pass a video the same way you pass an image: a public https link in a video_url content part next to your text. The model watches the clip (frames and audio track) and answers about it. Keep the file under 20 MB when you send it inline as a data:video/mp4;base64 URI; linked files can be larger.
curl -X POST https://direct-api.unifically.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "google/gemini-3.6-flash",
"messages": [
{ "role": "user", "content": [
{ "type": "text", "text": "Describe what happens in this clip and flag anything unsafe." },
{ "type": "video_url", "video_url": { "url": "https://example.com/clip.mp4" } }
] }
]
}'
The video is billed as input tokens at the input rate on the pricing page: about 70 tokens per second of video at the default resolution, plus about 25 tokens per second for its audio track, so a 10-second clip adds roughly 950 input tokens. The usage block of the response shows the total so you can check what a clip cost.
FAQs
People also ask about Gemini 3.6 Flash
google/gemini-3.6-flash, called through the OpenAI-compatible POST /v1/chat/completions endpoint with your UnificAlly API key.
With an account in place, the API keys page issues the key you send as Authorization: Bearer <key>. Gemini 3.6 Flash answers at https://direct-api.unifically.com/v1/chat/completions under google/gemini-3.6-flash, an OpenAI-compatible endpoint, so existing OpenAI client code needs only a new base URL, key and model name.
Your JSON names google/gemini-3.6-flash and passes messages, where content can be a string or content parts carrying image, audio, video or PDF input; temperature, max_tokens, reasoning_effort and tools are optional. The completion comes back in the same HTTP response at choices[0].message.content, or token by token as server-sent events with "stream": true.
Text, image, audio, video, and PDF input, with text output up to 65k tokens per response. The context window is 1M tokens.
83.0% on OSWorld-Verified, the top score in Google's July 2026 evaluation table, ahead of Claude Sonnet 5 at 81.2% and GPT 5.6 Luna at 72.6%.
77.45% on Vals AI's independent SWE-bench Verified re-run, about two points above Gemini 3.5 Flash on the same harness.
For new work, Gemini 3.7 Flash. It is stronger on coding, documents, and long context, at the same place in the lineup. Stay on 3.6 Flash when a pipeline is already tuned and regression-tested against its behavior.
Artificial Analysis measures 234.6 output tokens per second, the second-fastest of 188 tracked models. The caveat is time to first token, near 17 seconds at high thinking.
Yes. It scores 91.8% on GDM-MRCR v2 at 128k tokens with eight needles, and 54.0% on the 1M pointwise variant, roughly double Gemini 3.5 Flash on both.
Gemini 3.6 Flash guides and comparisons
Review pricing, limits, and tested outputs before running this model.
