🎉 Get Free $5 on Signup!
Models
Enterprise
Subscribe
Resource
Activity
Documentation
Console

/google/gemini-3.8-flash

G

Google: Gemini 3.8 Flash

Gemini 3.8 Flash is Google's most intelligent Flash model, engineered for long-horizon software engineering, autonomous agents, complex enterprise workflows, multimodal reasoning, and reliable multi-step tool use. It supports a 1M-token context window, advanced thinking, function calling, structured outputs, search grounding, code execution, file search, URL context, and computer use.

Modetext、image、file、audio、video → text
Input price$0.75 per M tokens
Output price$3.75 per M tokens
Context length1048576 tokens
Listed at2026-09-02T00:00:00Z

Google

Latency—
Throughput—
Upload rate—
Context length1048576 tokens
Max output65536 tokens
Input price$0.75per 1M tokens
Output price$3.75per 1M tokens
Cache read$0.075per 1M tokens
Cache write—per 1M tokens

Performance

Avg TPS—
Avg latency—
Avg success rate—
TPS—
TTFT—
Latency—
Success rate—

Success rate

Speed

Code Example

curl ${API_BASE_URL}/v1beta/models/gemini-3.8-flash:generateContent \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.8-flash",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'

Replace <YOUR_API_KEY> with the API key generated on your token management page.

Authentication

All requests must include the Authorization: Bearer <TOKEN> header.

Endpoint Path

POST
google-generate-content

Supported Parameters

ParameterTypeDefaultDescription
stringmediumControls the model's reasoning depth. Supported values: low, medium, and high. Default: medium.
integer-Maximum number of output tokens. Gemini 3.8 Flash supports up to 65,536 output tokens.
booleanfalseWhether to stream the response incrementally.

Rate Limits

GroupRPMTPMRPD

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.

Pricing

ProviderBilling typePrice summary
G
Gemini
Per token
Input price$0.75per 1M tokens
Completion price$3.75per 1M tokens
Cache read price$0.075per 1M tokens
Cache write price$—per 1M tokens