Gemini 3.8 Flash

by Google

Zero data retention−50%
google/gemini-3.8-flash
Input
$1.16/1M tokens
Output
$5.77/1M tokens
Context
1Mtokens
Max output
66Ktokens
Knows to
-
Released
2 Sep 2026

About

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

Pricing

Input$1.16 from $0.52per 1M prompt tokens
Output$5.77 from $2.63per 1M generated tokens, reasoning included
Cached input$0.12per 1M tokens read back from the prompt cache
Cache write$0.06per 1M tokens written to the prompt cache
Web search$0.020per request that uses the provider’s built-in search

50% off right now. The provider is running a promotion, and the developer API bills what the provider actually charged for your call plus our flat markup, so it reaches your bill with nothing to claim. The “from” figure is the cheapest endpoint serving the model; which one answers is the provider’s routing decision, so treat it as a floor. Promotions can end at any time.

What a request costs

Typical requestEachPer 1,000
Short chat reply1,500 in · 400 out$0.0040$4.04
Question over a long document40,000 in · 800 out$0.051$50.82
Agent tool step20,000 in · 1,200 out$0.030$30.03

At the developer-API rate, before any provider promotion or prompt-cache saving. In the app, the model picker shows what a message costs on your plan before you send it.

Benchmarks

Intelligence40.9#44 of 285
Coding76.3#14 of 163
Agentic40.2#41 of 127

Head-to-head rankings

  1. #5Godot gamesAgent arenaElo 127353% wins
  2. #6Mobile appsAgent arenaElo 123354% wins
  3. #8SVGModel arenaElo 129255% wins
  4. #10ASCII artModel arenaElo 127553% wins
  5. #11Full stackAgent arenaElo 124448% wins
  6. #11Web appsAgent arenaElo 123146% wins
  7. #11UI componentsModel arenaElo 131954% wins
  8. #13WebsitesModel arenaElo 130350% wins
  9. #15CodeModel arenaElo 130650% wins
  10. #17Game devModel arenaElo 130851% wins

Scores from Artificial Analysis; bars are scaled to the best model on our list. Rankings from Design Arena head-to-head votes. Published by OpenRouter alongside its catalogue.

Call it from code

OpenAI-compatible: point any OpenAI SDK at https://api.privateer.pro/v1 and set model. Keys are created in the app under Settings.

cURL
curl https://api.privateer.pro/v1/chat/completions \
  -H "Authorization: Bearer $PRIVATEER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.8-flash",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.privateer.pro/v1",
    api_key=os.environ["PRIVATEER_API_KEY"],
)
reply = client.chat.completions.create(
    model="google/gemini-3.8-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
JavaScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.privateer.pro/v1",
  apiKey: process.env.PRIVATEER_API_KEY,
});
const reply = await client.chat.completions.create({
  model: "google/gemini-3.8-flash",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(reply.choices[0].message.content);

Parameters this model accepts

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p

API reference → · How API billing works →

Prices are USD at the developer-API rate, as of 16 Oct 2026, rebuilt daily from the providers’ live catalogues. ← All models