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 window1,048,576 tokens
Max output65,536 tokens
LicenseAPI only · Proprietary proprietary
Knowledge cutoffMarch 2026 · source
Intelligence index58.7 Artificial Analysis Intelligence Index · source

textfunction-calling

Price verified 2026-09-03 (2 days ago) · sourcecorroborated

Sources

SourceInput / 1MOutput / 1MVerified
Provider page$0.75$3.752026-09-03
LiteLLM$0.75$3.752026-09-03
models.dev$0.75$3.752026-09-04

Two independent sources agree within 20%.

Latency measured

RegionTTFT p50TTFT p95Total p50Total p95ThroughputSamples
eu-paris1,780.4 ms1,826.6 ms1,785.6 ms1,828.2 ms3,845.2 tok/s3

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.