gemma-4-31b-it API price comparison

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.

Provider: Other ยท Category: chat

Cheapest overall

AIHubMix

0.54 USD/M tokens combined per 1M tokens

Lowest input

AIHubMix

0.14 USD/M tokens input per 1M tokens

Lowest output

AIHubMix

0.40 USD/M tokens output per 1M tokens

Last refreshed

Sep 3, 2026

1 listed platform

Best listed option

gemma-4-31b-it is currently cheapest overall on AIHubMix, with input at 0.14 USD/M tokens and output at 0.40 USD/M tokens per million tokens.

Pricing insight

Across 1 listed routes, gemma-4-31b-it is cheapest overall on AIHubMix at 0.54 USD/M tokens.

  • Lowest total cost

    AIHubMix

    Best first check for balanced coding-agent sessions: 0.54 USD/M tokens.

  • Prompt-heavy work

    AIHubMix

    Useful for large repositories and long context reads: 0.14 USD/M tokens input.

  • Response-heavy work

    AIHubMix

    Useful for long answers, edits, and agent loops: 0.40 USD/M tokens output.

Median combined price

0.54 USD/M tokens

Baseline for judging whether the cheapest route is unusually low.

Cache price coverage

100%

1 of 1 routes publish cache read or write prices.

Fresh rows

1/1

Routes crawled in the last 72 hours.

Prices are crawler-backed and normalized; confirm final prices on the target platform before large purchases.

Use case fit

gemma-4-31b-it from Other can be compared by input, output, and combined per-million-token cost to select the most economical API route.

Platform price comparison

PlatformRatioInputOutputTotal
AIHubMix 1.00x 0.14 USD/M tokens 0.40 USD/M tokens 0.54 USD/M tokens

FAQ

Where is gemma-4-31b-it cheapest?

AIHubMix has the lowest listed combined price at 0.54 USD/M tokens per 1M tokens.

What do input and output prices mean?

Input is charged for prompt tokens you send. Output is charged for tokens generated by the model.

How often are prices refreshed?

Prices are crawler-backed and this page was last refreshed Sep 3, 2026. Always confirm before large purchases.

Related models