← Models
huggingface

Gemma 4 31B IT

google/gemma-4-31B-it
ReasoningVision

Model details

Model
google/gemma-4-31B-it
Provider
huggingface
API
openai-completions
Base URL
https://router.huggingface.co/v1
Input
text, image
Reasoning
Yes
Context window
262,144
Max tokens
32,768

Pricing

USD per million tokens.

Input
$0.34
Output
$0.1
Cache read
$0
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.03
Uncached input
$0.03
Cache reads
$0.0000
Cache writes
$0.0000
Output
$0.0015
Without caching
$0.25

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

supportsStrictMode
Yes