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.
| Input / 1M tokens | $0.750 |
|---|---|
| Output / 1M tokens | $3.75 |
| Cache read / 1M | $0.075 |
| Currency | USD |
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
| Scenario | Input / output tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Chat reply | 200 / 300 | $0.0013 | $1.27 |
| Summarize a long doc | 30K / 1K | $0.026 | $26.25 |
| Code review | 8K / 2K | $0.013 | $13.50 |
Estimate only — actual token counts depend on the provider's tokenizer.
Use an OpenAI-compatible SDK or send an HTTP request. Get API key
export ORCAROUTER_API_KEY=…https://api.orcarouter.ai/v1Native 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){
"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.
| Parameter | What it does |
|---|---|
max_tokens | Upper limit on the number of tokens the model generates. |
temperature | Sampling randomness: lower is more focused, higher is more varied. |
tools | Functions the model may call, described as JSON Schema. |
response_format | Force JSON output, optionally matching a JSON Schema. |
reasoning_effort | How much the model reasons before answering: low, medium or high. |
top_p | Nucleus sampling: only consider tokens within this cumulative probability. |
stop | Sequences where the model stops generating. |
tool_choice | Whether the model must, may or must not call a tool. |
structured_outputs | The model can follow a strict JSON Schema given in response_format. |
reasoning | Configure the model's reasoning: effort, token budget, or off. |
include_reasoning | Return the model's reasoning text along with the answer. |
seed | Ask for repeatable sampling for the same input. |
Embed this badge
Model card as data
GET /api/public/models/google/gemini-3.8-flashOpen @misc{orcarouter_gemini_3_8_flash,
title = {Gemini 3.8 Flash API},
author = {Google},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/google/gemini-3.8-flash}
}Google. (2026). Gemini 3.8 Flash API. OrcaRouter. https://www.orcarouter.ai/models/google/gemini-3.8-flash