Hosted by a provider reached through SayGM. The route is sealed in transit and in use; the provider receives the prompt under its API terms.
Released
Feb 2026Knowledge cutoff
Jan 2025Best price on SayGM
-15.0%In
Cached
Out
per Mtok*
Create an API key and set it as GM_API_KEY in your terminal.
curl "https://api.saygm.com/v1beta/models/gemini-3.1-pro-preview:generateContent" \
-H "Authorization: Bearer $GM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "Hello!"
}
]
}
]
}'SayGM's best available rate for gemini-3.1-pro-preview next to Google's own published list price — 15.0% off.
| Dimension | SayGM price | Google list price |
|---|---|---|
| Input | $1.70per Mtok | $2.00 |
| Output | $10.20per Mtok | $12.00 |
| Cache read | $0.17per Mtok | $0.20 |
| Audio input | $1.70per Mtok | $2.00 |
| Audio output | $10.20per Mtok | $12.00 |
| Image input | $1.70per Mtok | $2.00 |
| Long-context inputabove 200,000 input tokens | $3.40per Mtok | $4.00 |
| Long-context outputabove 200,000 input tokens | $15.30per Mtok | $18.00 |
| Long-context cache readabove 200,000 input tokens | $0.34per Mtok | $0.40 |
What buyers have actually paid on this model recently, across every provider and cache hits.
Input
$1.79
$2.00Cached input
$0.18
$0.20Output
$10.64
$12.00Requests are load balanced across every provider serving this model, each offering its own rate, so what you pay is a blend rather than a single number. These are the blended rates actually paid — priced at what a provider offered, capped at list.
Measured over 12 windows: 950 requests and 2,042,345 input-side tokens. Most recent window closed 2026-09-25 04:38 UTC.
Every provider currently serving this model, ranked by discount.
| Provider | Discount | In | Out |
|---|---|---|---|
| Provider 1 | 15.0% off | $1.70 | $10.20 |
| Provider 2 | 10.0% off | $1.80 | $10.80 |
| Provider 3 | 8.0% off | $1.84 | $11.04 |
Measured on the requests SayGM routed to this model.
Fixed-seed suites SayGM runs against this model.
Explore the Google lab and compare related models.
The best available rate for gemini-3.1-pro-preview on SayGM right now is $1.70 per million input tokens and $10.20 per million output tokens. A request above 200,000 input tokens bills at SayGM's long-context rate instead.
SayGM's best available rate for gemini-3.1-pro-preview is 15.0% off Google's list price.
The Google GenAI SDK. Set its base URL to https://api.saygm.com and your existing generateContent code calls gemini-3.1-pro-preview as-is.