Gemini 3.6 Flash (2026): Pricing, API Access and Code
Unicorn API Team · · 10 min read
Gemini 3.6 Flash is Google’s mid-2026 workhorse model: the fast, comparatively cheap tier of the Gemini family, tuned for coding, multi-step agent work and long documents rather than for maximum reasoning depth. Google introduced it on July 21, 2026, together with Gemini 3.5 Flash-Lite and Gemini 3.5 Flash Cyber, and it went live on Unicorn API the next day as Gemini 3.6 Flash. This post covers what the model is for, what a request actually costs, how to call it with working code, and when a different model is the better buy.
What is Gemini 3.6 Flash?
Google splits Gemini into tiers. The Pro tier (and Deep Think modes) spends more compute per answer for harder reasoning. Flash is the high-throughput tier: lower latency, lower price, good enough for the large majority of production tasks. Flash-Lite goes further down the cost curve for simple, high-volume jobs like classification and routing.
Within that lineup, Gemini 3.6 Flash is the default choice. Google describes it as frontier-level intelligence optimized for real-world tasks at higher speed and lower cost, and pitches it at the “agentic” use case. An agentic workflow is one where the model does not just answer once: it calls tools (search, a database, your own functions), reads the results, decides the next step, and repeats until the job is done. Speed and price matter a lot here, because one user request can turn into ten or twenty model calls.
Key specs Google lists
- Inputs: text, image, speech and video.
- Output: text.
- Context window: 1 million tokens. A token is a chunk of text, roughly three quarters of an English word on average. The context window is the total amount of text (prompt plus conversation plus documents) the model can consider in one call.
- Focus areas: multi-step orchestration, full-stack code refactoring, knowledge work and general reasoning.
- Parameters: Google does not publish a parameter count for its Gemini models, so any number you see quoted is a guess.
Those are Google’s specs for the model itself. On Unicorn API you reach it through the chat completions endpoint; check the model page for which input types that endpoint accepts before you build a multimodal pipeline around it.
Model names: two ids on Unicorn API
Unicorn API lists two entries: gemini-3-6-flash and Gemini 3.6 Flash OpenAI (gemini-3-6-flash-openai). Both have the same price and accept the same request fields. Read both model pages, pick one, and pin that id in your config so your quality and cost measurements stay comparable over time.
What changed from Gemini 3.5 Flash?
Google says Gemini 3.6 Flash builds directly on developer and customer feedback from 3.5 Flash. The claimed improvements fall into four areas:
- Coding. A step up in writing, editing and refactoring code, including changes that span several files.
- Knowledge work. Better at summarising, drafting and answering questions over business documents.
- Multimodal tasks. Better understanding of images, audio and video inputs.
- Token efficiency. It tends to reach the same result with fewer tokens.
The last point is easy to skip and it matters most for your bill. You pay per token, so a model that finishes a task in fewer output tokens is cheaper per task even if its per-token price is unchanged. Google’s launch messaging leaned on exactly this: lower cost per task and faster responses than 3.5 Flash for the same work. That is why “cost per task” is a better comparison metric than “price per million tokens” when you evaluate any model.
The 1 million token context window carries over from the previous Flash generation, so long-context workflows you built on 3.5 Flash should port without restructuring.
Gemini 3.6 Flash vs 3.1 Pro
This comes up a lot in searches. The short version: Pro is the deeper reasoning tier, Flash is the fast, cheaper default. A newer Flash release can match or beat an older Pro release on many everyday tasks, which is why people ask. The honest answer for your use case is to run both on 30 to 50 real prompts from your product and compare quality, latency and tokens used. Published benchmark tables rarely match your data.
Google has kept shipping since July: it has since launched Gemini 4 Neon, its fast frontier model for agents and code. Gemini 3.6 Flash remains a sensible, well-understood choice while you evaluate newer options.

How much does Gemini 3.6 Flash cost?
On Unicorn API, Gemini 3.6 Flash is priced in credits per million tokens:
- Input tokens: 45 credits per 1M
- Output tokens: 225 credits per 1M
What a credit is worth depends on how you buy it. Monthly plans give credits at $0.01 each (Starter $25, Creator $50, Studio $100, Pro $200 per month). Top-ups cost $0.015 per credit and never expire. See pricing for the plans.
| Token type | Credits per 1M | On a monthly plan | With top-up credits |
|---|---|---|---|
| Input | 45 | $0.45 | $0.675 |
| Output | 225 | $2.25 | $3.375 |
A worked example
Say you run a code-review bot. Each request sends about 2,000 tokens (a system prompt plus a diff) and gets back about 500 tokens of review comments.
- Input: 2,000 / 1,000,000 × 45 = 0.09 credits
- Output: 500 / 1,000,000 × 225 = 0.1125 credits
- Total: 0.2025 credits per request, about $0.002 on a plan
At 10,000 reviews a month that is 2,025 credits, or $20.25. The Starter plan’s 2,500 credits covers it with room to spare.
Notice that output tokens cost five times as much as input tokens. In this example the 500 output tokens cost more than the 2,000 input tokens. Capping max_tokens and asking for concise answers are the two quickest ways to cut the bill.
Exact cost before and after a call
Billing is based on the usage the model reports, so the exact amount is debited after each call from the real token counts. If you want a number before running something, the API exposes POST /v1/models/price, which returns the price of a request ahead of time. The request format is in the API documentation.
Is Gemini 3.6 Flash free?
Not on a paid API. Through Unicorn API you pay per token as above, though a short request costs a fraction of a credit. Google’s consumer app and its own developer tools have separate terms that change over time; check them directly if you only need occasional free use. To try the model before writing code, the browser playground lets you chat with it on your Unicorn account.
How to call the Gemini 3.6 Flash API
The endpoint is OpenAI-compatible, so any OpenAI SDK or HTTP client works once you change the base URL. Accepted fields: model, messages, tools, tool_choice, stream, max_tokens, temperature, top_p, stop, response_format and reasoning_effort.
1. Get a key
Create an API key on the keys page and export it:
export UNICORN_API_KEY="your-key-here"
2. Make a first call with curl
curl https://api.unicornapi.net/v1/chat/completions \
-H "Authorization: Bearer $UNICORN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-6-flash",
"messages": [
{"role": "user", "content": "Write one sentence about unicorns."}
],
"max_tokens": 200
}'
The response has the usual OpenAI shape: the text is in choices[0].message.content and the token counts are in usage.
3. Python with cost tracking
This uses the official openai package pointed at Unicorn API and prints what each call cost in credits.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["UNICORN_API_KEY"],
base_url="https://api.unicornapi.net/v1",
)
INPUT_CREDITS_PER_M = 45
OUTPUT_CREDITS_PER_M = 225
diff = open("change.diff").read()
resp = client.chat.completions.create(
model="gemini-3-6-flash",
messages=[
{"role": "system", "content": "You are a concise senior code reviewer. "
"List real problems only, one line each."},
{"role": "user", "content": f"Review this diff:\n\n{diff}"},
],
max_tokens=600,
temperature=0.2,
)
print(resp.choices[0].message.content)
u = resp.usage
credits = (u.prompt_tokens * INPUT_CREDITS_PER_M
+ u.completion_tokens * OUTPUT_CREDITS_PER_M) / 1_000_000
print(f"{u.prompt_tokens} in, {u.completion_tokens} out, ~{credits:.4f} credits")
4. Tool calling in JavaScript
Tool calling is how you build agents: you describe functions, the model decides when to call them, your code runs them and sends back the result.
const API = "https://api.unicornapi.net/v1/chat/completions";
const headers = {
"Authorization": `Bearer ${process.env.UNICORN_API_KEY}`,
"Content-Type": "application/json",
};
const tools = [{
type: "function",
function: {
name: "get_order_status",
description: "Look up the shipping status of an order by id",
parameters: {
type: "object",
properties: { order_id: { type: "string" } },
required: ["order_id"],
},
},
}];
// Replace with your real lookup
async function getOrderStatus(orderId) {
return { order_id: orderId, status: "shipped", eta: "Friday" };
}
async function chat(messages) {
const res = await fetch(API, {
method: "POST",
headers,
body: JSON.stringify({
model: "gemini-3-6-flash",
messages,
tools,
tool_choice: "auto",
max_tokens: 400,
}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
return (await res.json()).choices[0].message;
}
const messages = [{ role: "user", content: "Where is order A-1042?" }];
let msg = await chat(messages);
while (msg.tool_calls) {
messages.push(msg);
for (const call of msg.tool_calls) {
const args = JSON.parse(call.function.arguments);
const result = await getOrderStatus(args.order_id);
messages.push({
role: "tool",
tool_call_id: call.id,
content: JSON.stringify(result),
});
}
msg = await chat(messages);
}
console.log(msg.content);
Each loop iteration resends the whole conversation, so input tokens grow with every tool call. That is normal for agents and one reason a cheap, fast model suits them.
5. Useful options
stream: truesends tokens as they are generated, which makes chat interfaces feel faster.response_formatasks for JSON output when you need machine-readable results.reasoning_effortcontrols how much the model thinks before answering. More effort usually means more output tokens and higher cost. The accepted values are in the docs.
If you work in Cursor, Claude Code or another coding agent, you can also wire Unicorn API in through MCP; see the agents guide.
Gemini 3.6 Flash vs GPT 6.2 Sol, Claude Opus 5.5 and DeepSeek V4.1 Flash
All of these sit behind the same endpoint and the same key, so switching is a one-line change to model. Here is how they compare on price, using the same 2,000-input, 500-output request from the worked example.
| Model | Input (credits / 1M) | Output (credits / 1M) | Cached input (credits / 1M) | Example request (credits) | 10,000 requests on a plan |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | 24 | 95 | 0.5 | 0.0955 | $9.55 |
| Gemini 3.6 Flash | 45 | 225 | not listed | 0.2025 | $20.25 |
| GPT 6.2 Sol | 120 | 600 | 6 | 0.54 | $54.00 |
| Claude Opus 5.5 | 320 | 1,600 | 32 | 1.44 | $144.00 |
| GPT 6.2 Astra | 480 | 2,400 | 24 | 2.16 | $216.00 |
What the table tells you:
- DeepSeek V4.1 Flash costs about half as much as Gemini 3.6 Flash per request. If your task is simple and your evaluation shows equal quality, it is the cheaper default.
- GPT 6.2 Sol costs about 2.7x more per request. It is the natural step up when Flash-tier answers fall short.
- Claude Opus 5.5 and GPT 6.2 Astra cost roughly 7x and 11x more. Reserve them for the hardest prompts, not for every call.
Where caching changes the math
Prompt caching means the provider stores a repeated prefix (a long system prompt, a big document) and charges much less when you send it again. On Unicorn API, GPT 6.2 Sol lists cached input at 6 credits per million and DeepSeek V4.1 Flash at 0.5, while no cached rate is listed for Gemini 3.6 Flash. If your workload resends the same 100,000-token document on every call, compare the cached rates, not the headline input price: in that case GPT 6.2 Sol’s cached input is cheaper than Gemini’s regular input. Price your real traffic before deciding.
A practical routing pattern
Many teams do not pick one model. They send everything to a Flash-tier model first and escalate only when needed: when a validator rejects the output, when the user clicks “try harder”, or when a classifier flags the request as complex. Because every model here shares one key and one request shape, that router is a few lines of code. Browse the full model catalog for other candidates.

When to use Gemini 3.6 Flash (and when not to)
Good fits
- Agents and tool use. Many calls per task, latency stacks up, price per call matters.
- Code review, refactoring suggestions and test generation, especially in CI where volume is high.
- Long-document work. Summarising contracts, answering questions over manuals, comparing versions, using the large context window.
- Structured extraction with
response_format: pulling fields from emails, invoices or support tickets into JSON. - Customer-facing chat where streaming speed shapes how the product feels.
Poor fits
- The hardest reasoning problems, such as subtle multi-step math or deep architectural decisions, where a heavier model’s extra cost buys real accuracy.
- Trivial high-volume tasks (sentiment tags, language detection) where a cheaper model gives the same answer for less.
- Workloads dominated by repeated long prefixes, where a model with a listed cached-input rate may be cheaper overall.
Common mistakes with Gemini 3.6 Flash
- Filling the context window because you can. A 1 million token window is a ceiling, not a target. At 45 credits per million, a call that sends 800,000 tokens costs 36 credits in input alone. Do that a few hundred times a day and it adds up fast. Retrieve the relevant sections instead.
- Leaving
max_tokensunset. Output is the expensive side. A rambling answer costs five times more per token than the prompt that produced it. - Turning reasoning effort up everywhere. Higher effort generates more output tokens. Use it where accuracy improves measurably, and keep it low for routine calls.
- Comparing models on price per token alone. A model that uses fewer tokens per task can be cheaper even at a higher rate. Measure credits per completed task using the
usagefield, as in the Python example. - Mixing the two ids. Switching between
gemini-3-6-flashandgemini-3-6-flash-openaimid-evaluation muddies your results. Pick one. - Trusting benchmark tables over your own data. Run 30 to 50 real prompts through Gemini 3.6 Flash and one alternative, grade the outputs blind, and decide from that.
- Not handling errors in agent loops. Check the HTTP status, cap the number of tool-call iterations, and log usage per run so a runaway loop cannot quietly drain your credits.
The quickest way to judge whether Gemini 3.6 Flash fits your product is to paste a few of your real prompts into the playground, then run the Python script above on a small batch and read the credit totals. If quality holds, you have a fast default at about 0.2 credits per typical request. If it does not, change one string and try the next model up.
Frequently asked questions
How good is Gemini 3.6 Flash?
Gemini 3.6 Flash is Google's Flash-tier workhorse, positioned as near-frontier quality at higher speed and lower cost. Google says it improves on 3.5 Flash in coding, knowledge work, multimodal tasks and token efficiency. It handles most everyday coding, extraction, summarisation and agent work well. For the hardest multi-step reasoning, a heavier model may still win, so test it on your own prompts before switching a production workload.
Is Gemini 3.6 Flash free?
Not through an API you pay for. On Unicorn API, Gemini 3.6 Flash is billed per token: 45 credits per million input tokens and 225 credits per million output tokens. A typical short request costs a fraction of a credit. Google's own consumer app and developer tools have separate terms that change over time, so check those directly if you only need occasional free use.
What does Gemini 3.6 Flash do?
Gemini 3.6 Flash is a general-purpose language model built for speed and cost efficiency. Google aims it at coding and refactoring, multi-step agent workflows that call tools, long-document work, and general reasoning. Google lists text, image, speech and video as inputs and text as output. Through Unicorn API you call it with the OpenAI-compatible chat completions endpoint, including tools, streaming and JSON output.
How much does Gemini 3.6 Flash cost?
On Unicorn API, Gemini 3.6 Flash costs 45 credits per million input tokens and 225 credits per million output tokens. On a monthly plan, credits are $0.01 each, so that is $0.45 and $2.25 per million tokens. Top-up credits cost $0.015 each, which works out to $0.675 and $3.375. A request with 2,000 input and 500 output tokens costs about 0.2 credits.
What is the context window of Gemini 3.6 Flash?
Google lists a context window of 1 million tokens for Gemini 3.6 Flash, the same scale as the previous Flash generation. That is enough for large codebases, long contracts or many hours of transcripts in a single prompt. Remember that every input token is billed, so filling the window on every call gets expensive quickly. Send only what the task needs.
What is the difference between Gemini 3.6 Flash and 3.5 Flash?
Gemini 3.6 Flash builds on developer feedback from 3.5 Flash. Google says it is better at coding, knowledge work and multimodal tasks, and that it uses tokens more efficiently, which lowers the cost of finishing a task. It keeps the 1 million token context window. If you run 3.5 Flash today, re-run your evaluation set on 3.6 Flash and compare both quality and tokens used.