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

Intelligence30.8#31 of 74
Coding76.3#13 of 162
Agentic40.2#37 of 132

Head-to-head rankings

  1. #4codetovideoAgent arenaElo 123158% wins
  2. #5Godot gamesAgent arenaElo 127353% wins
  3. #6blender3dAgent arenaElo 119354% wins
  4. #10Mobile appsAgent arenaElo 123254% wins
  5. #10SVGModel arenaElo 129355% wins
  6. #11Full stackAgent arenaElo 123848% wins
  7. #11pdfAgent arenaElo 122355% wins
  8. #12ASCII artModel arenaElo 127252% wins
  9. #15Web appsAgent arenaElo 122647% wins
  10. #15CodeModel arenaElo 130250% 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 5 Nov 2026, rebuilt daily from the providers’ live catalogues. ← All models