Gemini 3.8 Flash (Google) API
Google · serves gemini-3.8-flash
Pricing
| Input / 1M | $0.75 |
|---|---|
| Output / 1M | $3.75 |
| Blended / 1M | $4.5 |
| Context window | 1,048,576 tokens |
| Max output | 65,536 tokens |
| License | API only · Proprietary proprietary |
| Knowledge cutoff | March 2026 · source |
| Intelligence index | 58.7 Artificial Analysis Intelligence Index · source |
textfunction-calling
Price verified 2026-09-03 (2 days ago) · sourcecorroborated
Sources
| Source | Input / 1M | Output / 1M | Verified |
|---|---|---|---|
| Provider page | $0.75 | $3.75 | 2026-09-03 |
| LiteLLM | $0.75 | $3.75 | 2026-09-03 |
| models.dev | $0.75 | $3.75 | 2026-09-04 |
Two independent sources agree within 20%.
Latency measured
| Region | TTFT p50 | TTFT p95 | Total p50 | Total p95 | Throughput | Samples |
|---|---|---|---|---|---|---|
| eu-paris | 1,780.4 ms | 1,826.6 ms | 1,785.6 ms | 1,828.2 ms | 3,845.2 tok/s | 3 |
Time-to-first-token, measured server-side. Measured 2026-09-04 (0 days ago).
Call it
OpenAI-compatible endpoint — set GOOGLE_API_KEY.
curl https://generativelanguage.googleapis.com/v1beta/openai/chat/completions \
-H "Authorization: Bearer $GOOGLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.8-flash",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI # pip install openai
client = OpenAI(
base_url="https://generativelanguage.googleapis.com/v1beta/openai",
api_key="...", # GOOGLE_API_KEY
)
resp = client.chat.completions.create(
model="gemini-3.8-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Price unchanged since 2026-09-03 — 1 point on record.
Use this data
Raw JSON for this page: gemini-3.8-flash.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.