All model pricing

google · GEMINI

Gemini 3.8 Flash API Pricing

Check the model ID and provider reference rates for Gemini 3.8 Flash, along with current pricing availability on GEMINI.

gemini-3.8-flashView provider pricing

Effective GEMINI API rates

USD per 1M tokens. Quota rates use the current AI in IDE base price × 0.5. Provider prices as of 2026-11-02.

AI in IDE quota rateReference provider rate
Input$0.50$0.75
Cache read$0.05$0.075
Output$1.50$3.75

Use Gemini 3.8 Flash in your client

Create a GEMINI API key in your dashboard, replace YOUR_DASHBOARD_API_KEY, and run this request in a Bash-compatible terminal. The key and its funding source need a positive balance; this request consumes quota.

curl --globoff 'https://api.aiinide.com/v1beta/models/gemini-3.8-flash:generateContent' \
  -H "x-goog-api-key: YOUR_DASHBOARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contents":[{"role":"user","parts":[{"text":"Hello"}]}]}'
View setup guide

Example: usage versus a top-up purchase

Each row uses a 3:1 input-to-output mix and no cache reads. Quota consumed is the cost of that mix. The top-up column is a separate purchase.

Monthly tokensReference API costQuota this example consumesSmallest top-up that covers it
1M$1.50$0.7550 dollars of quota, priced at $7.99
10M$15.00$7.5050 dollars of quota, priced at $7.99
100M$150.00$75.0075 dollars of quota, priced at $11.99

The quota column is what this token mix consumes. The top-up column is the smallest purchase the slider accepts: $50, then steps of $25. A small task does not cost that purchase. Examples round top-up quota up to the next $25 with a $50 minimum. Actual charges vary by usage, plan, context, speed, and promotions.

Protocol, channels, and tools

Protocol
Gemini generateContent
Path
/v1beta/models/gemini-3.8-flash:generateContent
API key header
x-goog-api-key

Channels and this model ID

  • AWSQ is not compatible with this model ID.
  • CCMAX is not compatible with this model ID.
  • CODEX is not compatible with this model ID.
  • GEMINI is compatible with this model ID and uses 0.5× the configured model price when the model is in the catalog.

Tool limits on this channel

Only client-side function declarations are accepted. Hosted tools, including Google Search, are rejected.

Gemini 3.8 Flash API FAQ

How much does Gemini 3.8 Flash API cost?

Reference rates for Gemini 3.8 Flash are USD 0.75 input, USD 0.075 cache read, and USD 3.75 output per 1M tokens. AI in IDE applies 0.5× its configured model price when charging quota.

What is the Gemini 3.8 Flash model ID?

The model ID is gemini-3.8-flash.

How do I use Gemini 3.8 Flash in my IDE?

Create a GEMINI API key, run the setup example on this page, and follow the linked IDE guide.