PriceIndex
Google logo

Gemma 4 31B Pricing & API Specs

gemma-4-31b-it

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... Built by Google.

Prices updated

Input price

$0.20

per 1M tokens · Standard

Output price

$0.40

per 1M tokens · Standard

Input limit

262K

tokens

Output limit

16K

tokens

Input formats

TextImageVideoAudioPDF

Output formats

TextImageVideoAudioPDF
Compare

Gemma 4 31B price history

8 price records since 9/25/2026 · 6 changes

Gemma 4 31B cost calculator

Input20M tokens
Output5M tokens

$6.00/month

Standard pricing

    Overview

    What is Gemma 4 31B?

    Gemma 4 31B is a text & reasoning and vision model from Google priced at $0.20 input and $0.40 output per 1M tokens, with a 262K context window. Its low input price suits high-volume work and it scores 14.7 on AA Intelligence.

    Price: Hunyuan A13B Instruct (−$0.003)Price: Command R (08-2024) (+$0.012)Price: GPT-4o-mini (2024-07-18) (+$0.012)Score: GLM 4.6 (AA +0)Score: GLM 4.7 Flash (AA +0)Score: Mistral Medium 3.5 (AA −1)

    Benchmarks

    Gemma 4 31B benchmarks & speed

    How Gemma 4 31B scores on standardized evaluations, and where it lands among every model we track.

    14.7

    Intelligence Index

    Better than 37% of 153 models

    36tok/s

    Output speed

    Better than 1% of 119 models

    Reasoning

    GPQA Diamond

    85.7%

    Graduate-level scientific reasoning · top 41%

    HLE

    23.6%

    Humanity's Last Exam · top 46%

    Coding

    SciCode

    45.5%

    Python for scientific computing · top 68%

    Latency & design

    Time to first token
    1.12s

    Independent scores from Artificial Analysis and DesignArena · updated 10/5/2026. Higher is better; ranks compare against every model we track with that score.

    Rates

    Gemma 4 31B pricing

    Pricing is based on token usage. Provider-specific caching, batch, regional, and tool charges may affect the final cost.

    Input · Standard

    $0.20

    Per 1M tokens

    Cached input · Standard

    $0.10

    Per 1M tokens

    Capabilities

    Gemma 4 31B Tools

    Tools available when using Gemma 4 31B through supported provider APIs.

    Where to run it

    Gemma 4 31B API providers

    18 providers serve Gemma 4 31B. Prices are per 1M tokens; uptime is the last 24 hours.

    OpenInferencebf16
    Input
    $0.10
    Output
    $0.34
    Cached
    $0.10
    Context
    66K
    Uptime
    19.93%
    KT
    Input
    $0.10
    Output
    $0.34
    Cached
    $0.10
    Context
    262K
    Uptime
    98.47%
    CoreWeavefp4
    Input
    $0.10
    Output
    $0.34
    Cached
    $0.10
    Context
    262K
    Uptime
    100%
    Venicefp4
    Input
    $0.12
    Output
    $0.36
    Cached
    $0.05
    Context
    256K
    Uptime
    99.93%
    Chutesfp4
    Input
    $0.12
    Output
    $0.37
    Cached
    $0.01
    Context
    131K
    Uptime
    99.51%
    NextBitfp4
    Input
    $0.13
    Output
    $0.34
    Cached
    $0.07
    Context
    262K
    Uptime
    100%
    DeepInfrafp4
    Input
    $0.14
    Output
    $0.51
    Cached
    $0.07
    Context
    262K
    Uptime
    100%
    Crusoe
    Input
    $0.14
    Output
    $0.40
    Cached
    $0.14
    Context
    260K
    Uptime
    100%
    Friendli
    Input
    $0.14
    Output
    $0.40
    Cached
    —
    Context
    262K
    Uptime
    99.51%
    Parasailfp8
    Input
    $0.15
    Output
    $0.40
    Cached
    $0.06
    Context
    262K
    Uptime
    100%
    DeepInfrafp8
    Input
    $0.16
    Output
    $0.32
    Cached
    —
    Context
    262K
    Uptime
    100%
    PrimeIntellectfp8
    Input
    $0.20
    Output
    $0.34
    Cached
    $0.10
    Context
    262K
    Uptime
    90.74%
    DeepInfrafp8
    Input
    $0.20
    Output
    $0.40
    Cached
    —
    Context
    262K
    Uptime
    99.93%
    DeepInfrafp8
    Input
    $0.30
    Output
    $0.60
    Cached
    —
    Context
    262K
    Uptime
    99.92%
    Modal
    Input
    $0.34
    Output
    $0.10
    Cached
    $0.10
    Context
    131K
    Uptime
    99.86%

    Showing 15 of 18

    Strengths and limitations

    Strengths

    • Price rank 78 of 330 tracked models (1 = cheapest, by blended price).
    • Blended price at 3 input : 1 output is $0.25 per 1M tokens.
    • 1M input + 250K output tokens costs about $0.30.
    • Context window 262K vs a median of 262K (1.0× larger).

    Limitations

    • Real-world cost still depends on prompt length, response length and provider-specific billing rules.
    • Large context capacity does not guarantee consistent retrieval across the entire prompt.
    • Benchmarks are directional; test accuracy, latency and reliability on your own workload before committing.

    Public listed prices, checked Dec 4, 2026. Benchmarks as published by their sources. Confirm with the provider.

    Same provider

    More models from Google

    View provider →

    Frequently asked questions about Gemma 4 31B

    Gemma 4 31B is a text & reasoning and vision model from Google. 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...

    Gemma 4 31B costs $0.20 per million input tokens and $0.40 per million output tokens on standard pricing. A workload of 20M input and 5M output tokens a month is about $6.00.

    Gemma 4 31B accepts up to 262,144 tokens (262K) of input and can return up to 16,384 tokens in one response.

    Yes, Gemma 4 31B supports function/tool calling and structured (JSON) outputs. Supported tools: Function calling, Structured outputs, JSON mode, Reasoning, Log probabilities, Deterministic seed.

    Gemma 4 31B accepts Image, Text, Video as input and produces Text as output.

    Gemma 4 31B is available from 18 API providers: OpenInference, KT, CoreWeave, Venice, Chutes, NextBit, DeepInfra, Crusoe and more. Prices can differ by provider.

    Gemma 4 31B was released by Google in 2026-04-02.