# Google: Gemini 3.8 Flash

Gemini 3.8 Flash, Google's September 2026 successor to 3.7 Flash, is aimed at long software engineering tasks and agents. It also targets enterprise workflows, reads text, images, video, audio and PDFs, and thinks at low, medium or high.

- **Model id:** `opencheap/gemini-3.8-flash`
- **Price per 1M tokens:** $0.45 input / $2.25 output
- **Cached input:** $0.045 per 1M tokens
- **Context:** 1M tokens, 65K max output

## Providers

8 providers. Prices are per 1M tokens. As of 2026-12-04 11:56 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| kie.ai · quantization unknown | $0.23 | $0.23* | $1.13 | 8.95 s | 254 tok/s | 100 % | 1M | — |
| Google · Route 1 | $0.39 | $0.039 | $1.97 | 14.5 s | 41 tok/s | 88 % | 1M | 65K |
| Google · Route 2 | $0.79 | $0.079 | $3.94 | 2.17 s | 79 tok/s | 100 % | 1M | 65K |
| Google · Route 3 | $1.42 | $0.14 | $7.09 | 1.81 s | 80 tok/s | 100 % | 1M | 65K |
| Google AI Studio · Route 1 | $0.39 | $0.039 | $1.97 | 2.49 s | 69 tok/s | 100 % | 1M | 65K |
| Google AI Studio · Route 2 | $0.79 | $0.079 | $3.94 | 2.72 s | 64 tok/s | 100 % | 1M | 65K |
| Google AI Studio · Route 3 | $1.42 | $0.14 | $7.09 | 9.55 s | 69 tok/s | 99.7 % | 1M | 65K |
| Surplus · quantization unknown | $0.45 | $0.045 | $2.25 | 1.41 s | — | 100 % | 1M | 65K |
| AiHubMix · quantization unknown | $0.75 | $0.075 | $3.75 | 3.58 s | 798 tok/s | 100 % (success rate) | 1M | 65K |
| NanoGPT · quantization unknown | $0.75 | $0.075 | $3.75 | 1.83 s | 123 tok/s | 100 % (success rate) | 1M | 65K |
| Qubax · quantization unknown | $1.14 | $0.11 | $5.39 | — | — | 100 % (success rate) | 1M | 65K |
| Sandbase · quantization unknown | $1.50 | $0.15 | $7.50 | — | — | — | — | — |

\* No cache discount from this provider: cached tokens cost the input price.

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **kie.ai:** `temperature`, `top_p`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`
- **Google:** `seed`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **Google AI Studio · Route 1:** `temperature`, `top_p`, `seed`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (stop not confirmed)
- **Google AI Studio · Route 2:** `top_p`, `seed`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature, stop not confirmed)
- **Google AI Studio · Route 3:** `seed`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature, stop not confirmed)
- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `structured_outputs`, `tools`, `tool_choice`
- **AiHubMix:** `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice` (temperature not confirmed)
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Qubax:** `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice` (temperature not confirmed)
- **Sandbase:** `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice` (temperature not confirmed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/gemini-3.8-flash#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/gemini-3.8-flash`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/gemini-3.8-flash", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gemini-3.8-flash",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gemini-3.8-flash",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Gemini 3.8 Flash

Gemini 3.8 Flash costs from $0.45 per 1M input tokens and $2.25 per 1M output tokens on OpenCheap, with cached input at $0.045 per 1M tokens. Its list price is $0.75 per 1M input tokens and $3.75 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 40 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0067, and 1,000 such requests about $6.75. Prices as of 2026-12-04 11:48 UTC.

8 providers serve Gemini 3.8 Flash on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.

Gemini 3.8 Flash is one of [102 Google models](https://opencheap.si/models/lab/google) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the Gemini 3.8 Flash API cost per 1M tokens?

Gemini 3.8 Flash costs from $0.45 per 1M input tokens and $2.25 per 1M output tokens on OpenCheap, with cached input at $0.045 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one Gemini 3.8 Flash request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0067, and 1,000 such requests about $6.75. Every answer reports its own cost in usage.cost.

### Is Gemini 3.8 Flash cheaper on OpenCheap than its list price?

Its list price is $0.75 per 1M input tokens and $3.75 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 40 % less here.

### Which providers serve Gemini 3.8 Flash?

8 providers serve Gemini 3.8 Flash on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of Gemini 3.8 Flash?

Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.

### How do I call the Gemini 3.8 Flash API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemini-3.8-flash. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Google

- [Gemma 4 26B A4B It](https://opencheap.si/models/gemma-4-26b-a4b) (`gemma-4-26b-a4b`): $0.01 / $0.03 per 1M · 262K context
- [Gemma 4 31B It](https://opencheap.si/models/gemma-4-31b) (`gemma-4-31b`): $0.012 / $0.036 per 1M · 262K context
- [google/gemma-3-27b-it](https://opencheap.si/models/gemma-3-27b) (`gemma-3-27b`): $0.02 / $0.05 per 1M · 131K context
- [Gemini 3.5 Flash](https://opencheap.si/models/gemini-3.5-flash) (`gemini-3.5-flash`): $1.50 / $9.00 per 1M · 1M context
- [DiffusionGemma](https://opencheap.si/models/diffusiongemma) (`diffusiongemma`): $0.05 / $0.15 per 1M · 262K context
- [Nano Banana (Gemini 2.5 Flash Image)](https://opencheap.si/models/gemini-2.5-flash-image) (`gemini-2.5-flash-image`): $0.32 / $2.63 per 1M · 32K context
- [Gemini 2.5 Flash Lite](https://opencheap.si/models/gemini-2.5-flash-lite) (`gemini-2.5-flash-lite`): $0.10 / $0.40 per 1M · 1M context
- [Gemini 2.5 Flash Preview 05-20 (no think)](https://opencheap.si/models/gemini-2.5-flash-preview-05.20:nothink) (`gemini-2.5-flash-preview-05.20:nothink`): $0.30 / $2.50 per 1M · 1M context

[All 102 Google models](https://opencheap.si/models/lab/google)

## Similar models

- [MiniMax M4](https://opencheap.si/models/minimax-m4): MiniMax · 1M context · $0.60 / $2.33 per 1M · [Compare with Gemini 3.8 Flash](https://opencheap.si/compare/gemini-3.8-flash-vs-minimax-m4)
- [mistralai/Mistral-Large-4-1T-A52B](https://opencheap.si/models/mistral-large-4-1t-a52b): Mistral · 1M context · $0.70 / $2.10 per 1M · [Compare with Gemini 3.8 Flash](https://opencheap.si/compare/gemini-3.8-flash-vs-mistral-large-4-1t-a52b)
- [Amazon Nova 2 Lite](https://opencheap.si/models/nova-2-lite-v1): Amazon · 1M context · $0.32 / $2.63 per 1M · [Compare with Gemini 3.8 Flash](https://opencheap.si/compare/gemini-3.8-flash-vs-nova-2-lite-v1)
- [OrcaCyber Ling 3.2 Flash](https://opencheap.si/models/orcacyber-ling-3.2-flash): OrcaRouter · 1M context · $0.60 / $1.80 per 1M, 17 % cheaper · [Compare with Gemini 3.8 Flash](https://opencheap.si/compare/gemini-3.8-flash-vs-orcacyber-ling-3.2-flash)
- [MiniMax M3](https://opencheap.si/models/minimax-m3): MiniMax · 1M context · $0.24 / $1.01 per 1M, 55 % cheaper · [Compare with Gemini 3.8 Flash](https://opencheap.si/compare/gemini-3.8-flash-vs-minimax-m3)
- [GPT 4.1 Mini](https://opencheap.si/models/gpt-4.1-mini): OpenAI · 1M context · $0.40 / $1.60 per 1M, 28 % cheaper · [Compare with Gemini 3.8 Flash](https://opencheap.si/compare/gemini-3.8-flash-vs-gpt-4.1-mini)

[Compare Gemini 3.8 Flash with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/gemini-3.8-flash · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
