Skip to content

Gemma 4 31B

Gemma4's open-weight model for low-cost dense multimodal work with tool calls and optional reasoning, served on Boundless.

About the model

Gemma 4 31B at a glance

Best for: Low-cost dense multimodal work with tool calls and optional reasoning.

Developer
Gemma4
Context window
262K tokens
Input
Text, image
Capabilities
Reasoning, tool use, vision

Tailored inference

Want Gemma 4 31B tuned to your workload?

Our engineers benchmark it against your current model, tune how it's served for your traffic, and run it to your cost, latency and quality targets.

Talk to an engineer

Run it

Switch with a base URL and a key

  1. 01

    Get an API key

    Sign up in the console and create a key. No sales call.

    Get a key
  2. 02

    Point your SDK at Boundless

    Change the base URL and key. For Anthropic SDKs, drop the /v1 and set max_tokens.

curl https://api.inference.boundless.network/v1/chat/completions \
  -H "Authorization: Bearer $BOUNDLESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemma4-31b",
    "messages": [{
      "content": "Say hello",
      "role": "user"
    }]
  }'
From the quickstart docs

FAQ

Questions before you commit

How much does Gemma 4 31B cost on Boundless?

$0.42 per 1M input tokens, $0.10 per 1M cached input tokens and $0.84 per 1M output tokens, billed from prepaid credits. Every response includes exact token counts, so any charge can be checked against these prices.

What is Gemma 4 31B's context window on Boundless?

262K tokens, shared by the prompt and the reply. max_tokens can go up to that limit.

Does Gemma 4 31B support tool calling?

Yes. Gemma 4 31B supports tool use and reasoning.

Can I control how much Gemma 4 31B reasons?

Yes. On chat completions, set reasoning_effort to none, low, medium or high, or leave it unset for the model's default. Size max_tokens for both the thinking and the reply.

Can Gemma 4 31B read images?

Yes. Gemma 4 31B accepts text, image as input.

What are the rate limits?

Each team has caps on tokens per minute, requests per minute and concurrent requests, shown on the usage page. Cached input doesn't count against them, and support can raise them for your team.

Does Boundless store my prompts or outputs?

No. Boundless never stores prompts or outputs and never trains on them. It keeps only what billing needs: token counts, model, timestamp and cost.

Can Boundless help me decide if Gemma 4 31B fits my workload?

Yes. We test it against your current model on your own prompts, then tune and run it to your targets.

More models

Other models to compare

View all models