Google: Gemini 3.8 Flash

Chat-50%
google/gemini-3.8-flash

Gemini 3.8 Flash is Google's most intelligent Flash model, released on 2026-09-02, with significant gains over 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning. It is a thinking model with configurable thinking levels, and accepts every input modality — text, image, audio, video, and PDF — under unified input pricing. It supports tool use, prompt caching, and web search. Context window: 1M tokens, output: 64K. A batch tier is available at a 50% discount for workloads that tolerate latency. Available via OpenAI-compatible and Gemini protocols through Ofox.

Context Window
1M
Max Output Tokens
66K
Released
2026-09-02
Capabilities
VisionFunction CallingReasoningPrompt CachingWeb SearchAudio InputVideo InputPDF Input
Available Providers
Vertex
Supported Protocols
openaigemini

Providers

Vertex
-50%
Input Tokens
$0.75/M
$1.5/M
Output Tokens
$3.75/M
$7.5/M
Cache Read
$0.075/M
$0.15/M
Cache Write
$0.0415/M
$0.083/M
Audio Input
$0.75/M
$1.5/M
Cache Write (1 hour)
$0.5/M
$1/M
Cached Audio
$0.075/M
$0.15/M
Web Search
$0.014/R
Protocols
openai/v1/chat/completions
gemini

Code Examples

from google import genai
client = genai.Client(
api_key="YOUR_OFOX_API_KEY",
http_options={"api_version": "v1beta", "base_url": "https://api.ofox.run/gemini"},
)
response = client.models.generate_content(
model="google/gemini-3.8-flash",
contents="Hello!",
)
print(response.text)

Uptime & Status

Frequently Asked Questions

Google: Gemini 3.8 Flash on Ofox.ai costs $1.5/M per million input tokens and $7.5/M per million output tokens. Pay-as-you-go, no monthly fees.