# Gemini 3.8 Flash API pricing

GOOGLE GEMINI / TEXT

> Gemini 3.8 Flash via one OpenAI-compatible key: $0.32 in / $1.58 out per 1M tokens. Model ID gemini-3.8-flash, base URL https://api.outrun.to/v1.

$0.32 in / $1.58 out per 1M tokens

Gemini 3.8 Flash costs $0.32 per 1M input tokens and $1.58 per 1M output tokens (cached input $0.04). Call it with model ID `gemini-3.8-flash` at `https://api.outrun.to/v1` using one prepaid Outrun key. Prices as of October 30, 2026.

`gemini-3.8-flash`OpenAI compatibleVision

USD / 1M TOKENS

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

[Get a key ↗](https://outrun.to/overview)

Standard

| Token type | List price | Outrun | Below list |
| --- | --- | --- | --- |
| Input | $0.75 | **$0.32** | 58% |
| Cached input |  | **$0.04** |  |
| Output | $3.75 | **$1.58** | 58% |

Billed prices, rounded up to the cent. Prices as of October 30, 2026.

[Google list price source ↗](https://ai.google.dev/gemini-api/docs/pricing)

Context window

1,000,000 tokens

Max output

64,000 tokens

Input

Text + images

## What is Gemini 3.8 Flash?

Gemini 3.8 Flash is a text model in the Outrun catalog. Its developer describes it for long-horizon software engineering and multi-step automation. The standard rate is $0.32 in / $1.58 out per 1M tokens.

## What are the Gemini 3.8 Flash model details?

| Model detail | Value |
| --- | --- |
| Developer | Google |
| Kind | Text |
| Developer context | 1,048,576 tokens |
| Developer max output | 65,536 tokens |
| Developer input | Text, Images, Video, Audio, PDF |

## How do I call Gemini 3.8 Flash?

Use your Outrun key and the exact model ID. Requests use prepaid USD credit.

cURL

```
curl https://api.outrun.to/v1/chat/completions \
  -H "Authorization: Bearer $OUTRUN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-3.8-flash",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "max_tokens": 8192
}'
```

Python · OpenAI SDK

```
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.outrun.to/v1",
    api_key=os.environ["OUTRUN_API_KEY"],
)
reply = client.chat.completions.create(
    model="gemini-3.8-flash",
    messages=[{"role": "user", "content": "Hello!"}],
    max_tokens=8192,
)
print(reply.choices[0].message.content)
```

## Which tools work with Gemini 3.8 Flash?

Any client that accepts an OpenAI-compatible base URL and a model ID can use `gemini-3.8-flash`. Setup guides: [Gemini CLI (Gemini models)](https://outrun.to/docs/setup/gemini), [Cline (OpenAI Compatible)](https://outrun.to/docs/setup/cline), [OpenCode](https://outrun.to/docs/setup/opencode), [SillyTavern](https://outrun.to/docs/setup/sillytavern), [LiteLLM](https://outrun.to/docs/setup/litellm).

Use these setup values for this model ID. Recommended output settings can be lower than the route maximum.

| Set this value | Value |
| --- | --- |
| API format | `OpenAI compatible` |
| Base URL | `https://api.outrun.to/v1` |
| Model ID | `gemini-3.8-flash` |
| Context window | `1,000,000` |
| Max output setting | `8,192` |
| Temperature | `1` |
| Streaming | `Yes` |
| Image support | `Yes` |
| R1 format | `No` |
| Include max tokens | `Yes` |
| Reasoning override | `No` |
| Prompt caching setting | `No` |

| Capability | Supported |
| --- | --- |
| Tool calling | Yes |
| Streaming | Yes |
| Reasoning | Yes |
| Structured output | Yes |
| Image input | Yes |
| Roo Code ready | Yes |

## How does Gemini 3.8 Flash compare on cost?

| Model | Input / output | 1,000 chat turns |
| --- | --- | --- |
| [Gemini 3.8 Flash](https://outrun.to/model/gemini-3.8-flash) This model | $0.32 / $1.58 | $0.79 |
| [Gemini 3.7 Flash](https://outrun.to/model/gemini-3.7-flash) | $0.95 / $4.73 | $2.37 |
| [Gemini 4 Argon](https://outrun.to/model/gemini-4-argon) | $1.20 / $6.00 | $3.00 |
| [Gemini 3.1 Pro Preview](https://outrun.to/model/gemini-3.1-pro-preview) | $1.26 / $7.56 | $3.53 |

Assumes 1,000 input + 300 output tokens per turn, repeated 1,000 times, at standard-tier rates without caching. Input / output shown per 1M tokens, rounded up to the cent.

## Which similar models can I try?

[Google Gemini Gemini 3.7 Flash $0.95 in / $4.73 out View model ↗](https://outrun.to/model/gemini-3.7-flash)[Google Gemini Gemini 4 Argon $1.20 in / $6.00 out View model ↗](https://outrun.to/model/gemini-4-argon)[Google Gemini Gemini 3.1 Pro Preview $1.26 in / $7.56 out View model ↗](https://outrun.to/model/gemini-3.1-pro-preview)

## Common questions about Gemini 3.8 Flash

### How much does the Gemini 3.8 Flash API cost?

Gemini 3.8 Flash costs $0.32 per 1M input tokens and $1.58 per 1M output tokens (cached input $0.04). Prices as of October 30, 2026.

### What model ID and base URL do I use for Gemini 3.8 Flash?

Use the model ID `gemini-3.8-flash` with the base URL `https://api.outrun.to/v1` and your Outrun API key.

### Does Gemini 3.8 Flash accept images?

Yes. Gemini 3.8 Flash accepts text and image input.

### Does Outrun store my prompts when I use Gemini 3.8 Flash?

Outrun does not store your prompts, images or outputs unless you choose to save them.

## Where can I find more models?

[Google Gemini guide ↗](https://outrun.to/gemini-api)[All model prices ↗](https://outrun.to/discounted-ai-api)[Model docs ↗](https://outrun.to/docs/models)[All model pages ↗](https://outrun.to/model/)

---
Source: https://outrun.to/model/gemini-3.8-flash
Outrun: https://outrun.to/ | API base: https://api.outrun.to/v1 | Prices (JSON): https://api.outrun.to/pricing | Docs: https://outrun.to/docs/
