Gemini 3.1 Pro Preview vs Gemini 3.8 Flash
Gemini 3.8 Flash costs less on both: $0.4925 in and $2.25 out per million tokens, against $1.20 in and $7.20 out for Gemini 3.1 Pro Preview. Both on one key at UplinkSwitch, each next to its developer's list price.
Prices · per million tokens, USD
Get a key| Tokens | Gemini 3.1 Pro Previewgemini-3.1-pro-preview | Gemini 3.8 Flashgemini-3.8-flash |
|---|---|---|
| Input | $1.20Google lists $2.00 · 40% under | $0.4925Google lists $0.75 · 34% under |
| Cached input | $0.12Google lists $0.20 · 40% under | $0.0493Google lists $0.075 · 34% under |
| Output | $7.20Google lists $12.00 · 40% under | $2.25Google lists $3.75 · 40% under |
| Context window | 1,048,576 tokens | 1,048,576 tokens |
| Max output | 65,536 tokens | 65,536 tokens |
| Input | text, image, audio, video | text, image, audio, video |
| Released | 2026-02-19 | 2026-09-02 |
| Formats | OpenAI SDK | OpenAI SDK |
| Developer | ||
| Daily check | Steady since Nov 24 | Steady since Dec 3 |
List price: each developer's published rate, read October 2026. A model with no cached rate bills cached tokens at its input rate. Live from GET https://api.uplinkswitch.com/v1/catalog.
What the same work costs · USD, here and at list
| Work | Gemini 3.1 Pro Preview | Gemini 3.8 Flash |
|---|---|---|
| 1,000 chat requests | $6.00list $10.00 | $2.11list $3.38 |
| 100 long documents | $7.44list $12.40 | $2.91list $4.50 |
| A month of both, daily | $403.20list $672.00 | $150.68list $236.25 |
A chat request is 2,000 input and 500 output tokens; a long document is 50,000 in and 2,000 out; the month is 1,000 chats and 100 documents a day for 30 days, uncached. Over that month Gemini 3.8 Flash costs $252.52 less here. Against list, Gemini 3.1 Pro Preview saves $268.80 and Gemini 3.8 Flash saves $85.57 over that month, and each top-up locks both prices for 30 days.
Try the same prompt on both · streamed live, billed to your key
Stays in this browser only. Get a key in the console.
gemini-3.1-pro-preview
gemini-3.8-flash
Same key, same URL
One base URL and one key serve both models. The Gemini 3.1 Pro Preview API and the Gemini 3.8 Flash API answer at the same base URL in the OpenAI format, so a client or SDK setup moves between them by changing the model id. The request below calls Gemini 3.1 Pro Preview; put gemini-3.8-flash in the model field to call Gemini 3.8 Flash instead.
shell
curl https://api.uplinkswitch.com/v1/chat/completions \
-H "authorization: Bearer sk-uplink-live-..." \
-H "content-type: application/json" \
-d '{"model":"gemini-3.1-pro-preview","messages":[{"role":"user","content":"Hello"}]}'Model pages: Gemini 3.1 Pro Preview API, Gemini 3.8 Flash API. Pricing by family: Gemini. More comparisons: Claude Opus 5.5 vs Gemini 3.1 Pro Preview, GPT-6.1 Sol vs Gemini 3.1 Pro Preview, Gemini 3.1 Pro Preview vs Gemini 2.5 Pro, Claude Sonnet 5.5 vs Gemini 3.8 Flash.
Questions
Gemini 3.8 Flash costs less on both: $0.4925 in and $2.25 out per million tokens, against $1.20 in and $7.20 out for Gemini 3.1 Pro Preview.
Yes. Both answer in the OpenAI SDK format at the same base URL with the same key. Change the model id from gemini-3.1-pro-preview to gemini-3.8-flash and nothing else.
No. Prepaid credit from $10, with no subscription or monthly fee. Each top-up locks your prices for 30 days.
Better depends on the job; this page compares what the catalog can measure. Gemini 3.8 Flash costs less on both: $0.4925 in and $2.25 out per million tokens, against $1.20 in and $7.20 out for Gemini 3.1 Pro Preview. Both take 1,048,576 tokens of context. Gemini 3.8 Flash is the newer release. Both run on the same key, so the fair test is your own prompt sent to each model id.