Google · Text

Gemma 4 31B

Context
262K
Verified
$0.24per 1M tokens

What it costs

One model, two catalogs. Verified goes to the vendor or its official partner; Community goes through third-party providers for less.

Verified
Input
$0.24
Output
$0.48

input / output per 1M

Straight from the vendor or its official partner. The original model.

Community

Not available in this catalog

Third-party providers. Cheaper, with no guarantee the model isn't quantized.

Specs and latency

Everything you need for a request, and how fast the model answers on real traffic.

ID
google/gemma-4-31b-it
Endpoint
POST /v1/chat/completions
Modality
Text
Context
262K
Capabilities
  • JSON
  • Reasoning
  • Tools
  • Vision
TTFB p50—
TTFB p99—
not enough data Real traffic through the gateway, last 7 days.

First request

The API is OpenAI-compatible: change base_url and the model name, keep the rest of your code.

1curl https://api.velisity.live/v1/chat/completions \2  -H "Authorization: Bearer $VELISITY_API_KEY" \3  -H "Content-Type: application/json" \4  -d '{5    "model": "google/gemma-4-31b-it",6    "stream": true,7    "messages": [{ "role": "user", "content": "ping" }]8  }'

Similar price

Models of the same modality at a similar price. Compare to see the difference at your volume.

ModelPriceContextCompare
Gemma 4 31B$0.24 / $0.48262K
Uncensored$0.24 / $1.08128KCompare →
Mi:dm K 3.0 Pro$0.24 / $0.96262KCompare →
Ministral 3 14B 2512$0.24 / $0.24262KCompare →

Questions about Gemma 4 31B

  1. Verified: $0.24 input / $0.48 output per 1M tokens. Pay as you go, no subscription; the balance is kept in US dollars.

  2. Gemma 4 31B has a 262K-token window. You pay for the tokens you actually send, not for the window size.

  3. In any OpenAI-compatible SDK set base_url to https://api.velisity.live/v1 and the model to "google/gemma-4-31b-it". Get a key in the console; the rest of your code stays the same.

Your first request in a minute

Create a key, change the base_url — and your code already works with any model. You only pay for answers.