This model has been deprecated
This model is no longer accepting new requests. Please switch to an active alternative.
See active alternatives ↓Google: Gemini 3.6 Flash
ChatDEPRECATEDgoogle/gemini-3.6-flashGemini 3.6 Flash is Google's token-efficient workhorse model, released on 2026-07-21. It produces 17% fewer output tokens than Gemini 3.5 Flash, needs fewer reasoning steps and tool calls in multi-step agentic workflows, and makes higher-precision code edits with fewer execution loops. A thinking model with configurable levels, it accepts all input modalities — text, image, video and audio. Vision, tool use, prompt caching, PDF input and web search are supported. Context window: 1M tokens, output: 64K. Available via OpenAI and Gemini protocols.
Pricing
| Type | Price |
|---|---|
| Input Tokens | $0.75/M |
| Output Tokens | $3.75/M |
| Audio Input | $0.75/M |
| Cache Read | $0.075/M |
| Cache Write | $0.083/M |
| Cache Write (1 hour) | $1/M |
| Cached Image | $0.075/M |
| Cached Audio | $0.075/M |
| Cached Video | $0.075/M |
| Web Search | $0.014/R |
Documentation
How to call Gemini 3.6 Flash on OfoxAI: model IDs, request parameters and the errors you are most likely to hit.
- Gemini API guideModel IDs, choosing an endpoint, code examples and common errors.
- Thinking and reasoning settingsTurn thinking on or off, set the effort or token budget, and read the reasoning output.
- Web searchLet the model search the web and return sources with its answer.
- PDF, audio and structured outputSend PDF and audio as input and constrain the response to a schema.
Code Examples
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "base_url": "https://api.ofox.ai/gemini"},)response = client.models.generate_content(model="google/gemini-3.6-flash",contents="Hello!",)print(response.text)