AI model comparison

google/gemma-4-31B-it vs Grok Build 0.1

Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.

google/gemma-4-31B-it from google lists 262.14K context, 32.77K maximum output. Grok Build 0.1 from xAI lists 256K context, 256K maximum output, $1.00 input per 1M tokens, $2.00 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.

Side-by-sideCapabilities and practical differences

google

google/gemma-4-31B-it

google/gemma-4-31B-it is a source-linked Hugging Face repository assigned to Image-text-to-text. Its recorded task interface accepts image, text and produces text.

Context
262.14K
Max output
32.77K

Accepts

  • Image input
  • Text input

Produces

  • Text output
VS

xAI

Grok Build 0.1

Grok Build 0.1 from xAI: Fast Grok coding model tuned for agentic engineering and iterative edits.

Context
256K
Max output
256K
Input / 1M tokens
$1.00
Output / 1M tokens
$2.00

Accepts

  • Text input
  • Image input
  • PDF input

Produces

  • Text output

At a glance

Key differences

Compare the available figures below, then try both models on the work you need to do.

google/gemma-4-31B-it

  • Context capacity: 262.14K

Grok Build 0.1

  • Maximum output: 256K

Context capacity

Higher listed limit

google/gemma-4-31B-it:262.14K

Grok Build 0.1:256K

google/gemma-4-31B-it

Maximum output

Higher listed limit

google/gemma-4-31B-it:32.77K

Grok Build 0.1:256K

Grok Build 0.1

Specifications

Pricing, limits and capabilities

Specifications for google/gemma-4-31B-it and Grok Build 0.1. Higher limits and lower prices describe these figures only.
Specificationgoogle/gemma-4-31B-itGrok Build 0.1
ProvidergooglexAI
Listed pricing routegooglexAI
Model family—grok-build
Accepted inputsimage, texttext, image, pdf
Produced outputstexttext
Context window262.14KHigher256K
Max output32.77K256KHigher
Input price / 1M—$1.00
Output price / 1M—$2.00
Reasoning modeDocumentedDocumented
Tool callingDocumentedDocumented
Image inputDocumentedDocumented
Audio inputNot documentedNot documented
Structured outputNot documentedDocumented
LicenseNot documentedProprietary

Workload guidance

Which model should you choose?

Consider google/gemma-4-31B-it if you need larger context. Consider Grok Build 0.1 if you need larger maximum output. google/gemma-4-31B-it offers downloadable weights; Grok Build 0.1 is listed as a proprietary model. Compare licence terms and operating costs before choosing a deployment. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.

Documentation and model profiles

Explore each model’s features, API requirements and licence terms in the sources below.

Questions people ask

It brings together documented inputs and outputs, token limits, deployment terms and available pricing. When both models have source-linked, verified results on a shared benchmark, those results are shown with their individual sources. The comparison is a starting point for evaluating your own workload.

Compare a different pair

Search by model or provider to explore another comparison.

Open model comparison