Gemini 3.8 Flash

google/gemini-3.8-flash
FeaturedZDR
VisionAudioToolsJSONReasoning
by Google · 2026-09-02

Gemini 3.8 Flash is a multimodal model from Google, available through OrcaRouter under the model ID google/gemini-3.8-flash. The model accepts text, image, video, file, and audio inputs and provides a 1,048,576-token context window, with a maximum output of 65,536 tokens. Its headline evaluation result is 54.9 on HLE-Verified, a benchmark of verified, expert-level questions. Because it is hosted behind OrcaRouter's OpenAI-compatible API at https://api.orcarouter.ai/v1, applications written for OpenAI-style requests can call google/gemini-3.8-flash without changing their core request format. OrcaRouter lists Gemini 3.8 Flash at $0.75 per 1M input tokens and $3.75 per 1M output tokens, billed at the provider rate with zero markup. This makes the model useful when prompts will read a lot of content and the final response stays comparatively short; it can also generate up to 65,536 tokens where the task demands a long text result. The catalog record does not include latency figures, benchmark breakdowns, or a separate data-processing policy, so teams should test the model on their own data and review the applicable Google and OrcaRouter terms before production use.

Max output65K
Inputtext + image + video + file + audio
Outputtext
p50 TTFT≥ 10 s
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Context window1Mtokens
INPUT$0.75/ 1M tokens
OUTPUT$3.75/ 1M tokens
p50 TTFT10.00 s7d
p95 TTFT10.00 s7d
TRAFFIC16.7Mtokens / 7d

Pricing

Pricing
Input / 1M tokens$0.750
Output / 1M tokens$3.75
Cache read / 1M$0.075
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $2.70 · With prompt caching $2.16

1.6M input × $0.75/M + 400K output × $3.75/M

Prompt caching assumes half of the input tokens are read from cache at $0.07/M.

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0013$1.27
Summarize a long doc30K / 1K$0.026$26.25
Code review8K / 2K$0.013$13.50

Token & cost estimator

Input tokens: 20Cost per request: $0.001890

Estimate only — actual token counts depend on the provider's tokenizer.

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1

Native endpoints: Gemini SDK https://api.orcarouter.ai

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="google/gemini-3.8-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "google/gemini-3.8-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
temperatureSampling randomness: lower is more focused, higher is more varied.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
reasoning_effortHow much the model reasons before answering: low, medium or high.

Full API reference

Use cases and examples

  • Long context — 1M-token context window: whole codebases, long reports or chat histories in one request.
  • Multimodal input — Takes text + image + video + file + audio in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Reasoning — Works through a problem before answering: math, science and multi-step tasks.
  • Strong benchmarks — AA Coding 76.3
  • Processing long multimodal prompts that combine text, image, video, file, and audio content in a 1,048,576-token context
  • Hard expert-level question tasks where the 54.9 HLE-Verified score suggests meaningful reasoning and knowledge coverage
  • Generation of long output artifacts up to 65,536 tokens in a single request
  • OpenAI-compatible application migration through OrcaRouter using model ID google/gemini-3.8-flash
  • Reading-heavy workloads with low-cost input tokens and concise structured output

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
≥ 10 s
#132 fastest of 144 models
Output speedHow many tokens per second the model streams once it starts answering.
242 tok/s
#40 fastest of 137 models
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
≥ 10 s
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
93.1%

Benchmarks

OrcaRouter leaderboard
76.3
AA CodingArtificial Analysis Coding Index: one 0–100 score that combines its coding evaluations.
Better than 94% of models compared
#8 of 138
30.8
AA IntelligenceArtificial Analysis Intelligence Index: one 0–100 score that combines its evaluations of reasoning, knowledge, math and coding.
Better than 68% of models compared
#49 of 153
GPQA DiamondGPQA Diamond: graduate-level biology, physics and chemistry questions written to be hard to look up.
95.3#2 of 137
HLE-Verified
54.9
Humanity's Last ExamHumanity's Last Exam: expert-written questions at the frontier of human knowledge, across dozens of subjects.
47.8#15 of 141
Long-Context RecallLong-Context Recall: answering questions that need facts found and combined across long documents.
81.3#32 of 136
SciCodeSciCode: writing code that solves research-level problems in physics, chemistry, biology and math.
56.6#17 of 141
tau_bankingτ²-Bench: acting as a customer-service agent that uses tools and follows policy while talking to a simulated user.
44.9#10 of 80
terminalbench_v2_1Terminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
87.6#9 of 80
terminalbench_v4_0Terminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
19.7#25 of 60
Source: artificialanalysis.ai, deepmind.google

Compare models

Gemini 3.8 FlashGemini 3.1 Pro PreviewGemini 3.1 Pro Preview Custom ToolsGemini 4 Carbon
Input $/M$0.75$2.00$4.00$2.00
Output $/M$3.75$12.00$18.00$10.00
Context1.0M1.0M1.0M1.0M
Quality9/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What does Gemini 3.8 Flash cost through OrcaRouter?
OrcaRouter bills Gemini 3.8 Flash at the provider rate with zero markup: $0.75 per 1M input tokens and $3.75 per 1M output tokens. No session fee or platform fee is listed in the catalog. Because output is five times the input price, long generations will cost more proportionally than long prompts.
What are the context window and maximum output size?
Gemini 3.8 Flash has a context window of 1,048,576 tokens and a maximum output of 65,536 tokens. The context window is advertised for text, image, video, file, and audio inputs. The provider does not give a separate per-media token formula in this listing.
What are Gemini 3.8 Flash's main strengths?
Its listed strengths are a 1,048,576-token context, 65,536-token maximum output, broad multimodal input, and a 54.9 score on HLE-Verified. Those features suit expert-level question work, long-document tasks, and multimedia understanding through an OpenAI-compatible API. No additional quality claims are made in the catalog.
How does Gemini 3.8 Flash compare with other models?
The catalog record does not contain benchmark scores or prices for any alternative model. Comparisons should be made by running identical test sets through OrcaRouter and measuring accuracy, cost, and speed. Use model ID google/gemini-3.8-flash alongside other IDs and compare the fields actually returned for your workload.
What data-handling terms apply?
This catalog page does not state retention, training, or data-sharing rules. If you send data to Gemini 3.8 Flash through OrcaRouter, request content is processed to complete the transaction. Business terms for data handling are found in the Google provider terms and OrcaRouter terms. Check those documents before sending regulated or confidential data.
How do I call Gemini 3.8 Flash using an OpenAI-compatible API?
Use the OrcaRouter base URL https://api.orcarouter.ai/v1 and set the model field to google/gemini-3.8-flash. Then send a standard OpenAI-style chat completion request with your OrcaRouter API key. Existing clients that support chat.completions.create should work after changing the base URL and model name.
Does OrcaRouter add a markup to the provider rate?
No. The catalog listing says the model is billed at the provider rate with zero markup. The input and output token prices shown are $0.75 per 1M input and $3.75 per 1M output. This makes the listed per-token cost the direct provider rate.
Is prompt caching available for this model?
The model facts do not mention prompt caching, cache hit pricing, or automatic cache behavior. You should not rely on cached prompts to reduce cost. The safest cost estimate is based on full input token billing at $0.75 per 1M input tokens.
What input modalities are supported?
The model accepts text, image, video, file, and audio input. Output is listed as up to 65,536 tokens and no media output modality is documented. For image, video, file, or audio prompts, test your client's content format because the API media schema is not described in the catalog.

Embed this badge

Google: Gemini 3.8 Flash•$0.75/M in•10000ms p50•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/google/gemini-3.8-flash" target="_blank"> <img src="https://www.orcarouter.ai/embed/google/gemini-3.8-flash.svg" alt="Google: Gemini 3.8 Flash on OrcaRouter" /> </a>
Markdown [![Google: Gemini 3.8 Flash](https://www.orcarouter.ai/embed/google/gemini-3.8-flash.svg)](https://www.orcarouter.ai/models/google/gemini-3.8-flash)

Model card as data

GET /api/public/models/google/gemini-3.8-flashOpen
Machine-readable:/llms.txt/llms-full.txt