Models / Compare

Gemini 3.1 Pro Preview vs Gemini 3.8 Flash

Gemini 3.8 Flash costs less on both: $0.45 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

TokensGemini 3.1 Pro Previewgemini-3.1-pro-previewGemini 3.8 Flashgemini-3.8-flash
Input$1.20Google lists $2.00 · 40% under$0.45Google lists $0.75 · 40% under
Cached input$0.12Google lists $0.20 · 40% under$0.045Google lists $0.075 · 40% under
Output$7.20Google lists $12.00 · 40% under$2.25Google lists $3.75 · 40% under
FormatsGemini SDK, OpenAI SDKOpenAI SDK, Gemini SDK
DeveloperGoogleGoogle
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.

Same key, same URL

One base URL and one key serve both models. 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"}]}'

Questions

Which costs less, Gemini 3.1 Pro Preview or Gemini 3.8 Flash?
Gemini 3.8 Flash costs less on both: $0.45 in and $2.25 out per million tokens, against $1.20 in and $7.20 out for Gemini 3.1 Pro Preview.
Can I switch between them by changing the model id?
Yes. Both answer in the Gemini SDK and 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.
Is there a subscription?
No. Prepaid credit from $10, with no subscription or monthly fee. Each top-up locks your prices for 30 days.