Gemini 3.8 Flash

New

by Google

Google's newest Gemini Flash model, with a 1M token context window.

Parameters
Context Length
1M
Category
chat
Available Serverless

Run queries immediately, pay only for usage

$0.79in|$3.94out

Per 1M tokens

Try this modelView documentation

About this model

Google's newest Gemini Flash model, with a 1M token context window.

Capabilities

VisionAdvanced reasoningTool callingStreamingLong context (1M)

Providers

One model, several sources. DOS routes to the first that answers and falls back automatically, or you can pin a provider per request.

ProviderInput /1MOutput /1MContextServed from
GoogleAvailable
$0.79$3.941MUS

Observed performance

Provider results over the last 7d.

Updated Sep 7, 08:55 AM UTC
Google
69 samples
Uptime
100.0%
P50 response
2.17 s
P95 response
6.17 s

Uptime is based on observed valid provider attempts. Not an SLA.

Latency is measured to provider response headers, not end-to-end completion.

Model Details

Provider
Google
Model ID
gemini-3.8-flash
Parameters
Context Length
1M tokens
Category
chat

API Usage

Use the DOS API to integrate Gemini 3.8 Flash into your applications. Our API is compatible with OpenAI's client libraries for easy migration.

Model ID

gemini-3.8-flash

Python

python
from dos import DOS

client = DOS()

response = client.chat.completions.create(
    model="gemini-3.8-flash",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ]
)

print(response.choices[0].message.content)

cURL

bash
curl https://api.dos.ai/v1/chat/completions \
  -H "Authorization: Bearer $DOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.8-flash",
    "messages": [
      {"role": "user", "content": "Hello, how are you?"}
    ]
  }'

Node.js

javascript
import DOS from 'dos-ai';

const client = new DOS();

const response = await client.chat.completions.create({
  model: "gemini-3.8-flash",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ]
});

console.log(response.choices[0].message.content);