Choose Google: Gemma 4 31B (batch) if…
No advantage on the data we track — pick it for provider preference or output quality on your own prompts.
Mistral: Mistral Small 4 (batch) comes out ahead on the data we track: 2 advantages and none for Google: Gemma 4 31B (batch).
| Spec | Google: Gemma 4 31B (batch) | Mistral: Mistral Small 4 (batch) |
|---|---|---|
| Provider | Mistral AI | |
| Input price (per 1M tokens) | $0.39 | $0.07 |
| Output price (per 1M tokens) | $0.97 | $0.30 |
| Blended price (3:1 input/output) | $0.53 | $0.13 |
| Cheaper than … of all models we track | 52% | 76% |
| Context window | 262K tokens (~393 pages) | 262K tokens (~393 pages) |
| Larger context than … of all models | 48% | 48% |
| Max output per response | 236K tokens (~176,900 words) | 210K tokens (~157,300 words) |
| Input types | image, text, video | text, image |
| Output types | text | text |
| Free variant | No | No |
| Listed since | 2026-04-02 | 2026-03-16 |
Monthly cost at list price for five common workloads. Token counts per unit are stated so you can scale them to your own traffic. A workload that does not fit a model's context window is marked rather than priced.
| Workload (per month) | Google: Gemma 4 31B (batch) | Mistral: Mistral Small 4 (batch) | Difference |
|---|---|---|---|
| Customer-support chatbot 50,000 conversations — each a 6-turn conversation (1,500 in / 400 out tokens) | $48.65 | $11.63 | Mistral: Mistral Small 4 (batch) saves $37.02 |
| RAG search over documents 20,000 questions — each a question answered from ~8 retrieved passages (6,000 in / 500 out tokens) | $56.50 | $12.00 | Mistral: Mistral Small 4 (batch) saves $44.50 |
| Coding / tool-using agent 2,000 tasks — each a multi-step task with tool calls and file context (60,000 in / 6,000 out tokens) | $58.44 | $12.60 | Mistral: Mistral Small 4 (batch) saves $45.84 |
| Batch summarisation 10,000 documents — each a 6,000-word report summarised to a page (8,000 in / 600 out tokens) | $37.02 | $7.80 | Mistral: Mistral Small 4 (batch) saves $29.22 |
| Long-document analysis 500 documents — each a 150-page contract or codebase read in one pass (100,000 in / 2,000 out tokens) | $20.47 | $4.05 | Mistral: Mistral Small 4 (batch) saves $16.42 |
| Capability | Google: Gemma 4 31B (batch) | Mistral: Mistral Small 4 (batch) | What it lets you do |
|---|---|---|---|
| Tool / function calling | ✓ Yes | ✓ Yes | call your APIs and run agent loops |
| Structured output (JSON schema) | ✓ Yes | ✓ Yes | return JSON that validates against your schema |
| Reasoning / thinking mode | ✓ Yes | ✓ Yes | spend extra tokens thinking before answering hard problems |
| Image input | ✓ Yes | ✓ Yes | read screenshots, charts and scanned pages |
| Audio input | — | — | take speech or audio directly |
| File / PDF input | — | — | accept documents without your own parsing step |
| Image output | — | — | generate images, not just text |
| Built-in web search | — | — | answer from live web results |
| Seed (reproducible sampling) | — | ✓ Yes | repeat a generation for tests and evals |
| Log-probabilities | — | — | read token confidence for classification and scoring |
From each model's published parameters and input/output types. “—” means not advertised, not proven absent.
| Date | Model | Input / 1M | Output / 1M |
|---|---|---|---|
| 2026-09-10 | Mistral: Mistral Small 4 (batch) | $0.07 | $0.30 |
No advantage on the data we track — pick it for provider preference or output quality on your own prompts.
Mistral: Mistral Small 4 (batch) comes out ahead on the data we track: 2 advantages and none for Google: Gemma 4 31B (batch).
Mistral: Mistral Small 4 (batch) is cheaper: $0.13 vs $0.53 per 1M tokens at a typical 3:1 input/output mix, 75% less. For 50,000 support conversations a month that is $11.63 against $48.65.
Google: Gemma 4 31B (batch) costs $0.39 per 1M input tokens and $0.97 per 1M output tokens; Mistral: Mistral Small 4 (batch) costs $0.07 input and $0.30 output. Output tokens are billed separately, so long answers shift the gap.
Both take 262K tokens per request — roughly 393 pages of text.
Tool calling — Google: Gemma 4 31B (batch): yes, Mistral: Mistral Small 4 (batch): yes. JSON-schema structured output — Google: Gemma 4 31B (batch): yes, Mistral: Mistral Small 4 (batch): yes.
Yes, both accept image input.
No free variant is listed for either; both are pay-per-token.
Google: Gemma 4 31B (batch) can write up to 236K tokens (about 176,900 words) per response; Mistral: Mistral Small 4 (batch) up to 210K (about 157,300 words).
Google: Gemma 4 31B (batch) was listed on 2026-04-02; Mistral: Mistral Small 4 (batch) on 2026-03-16.
Google: Gemma 4 31B (batch): price unchanged since we started tracking it on 2026-08-29. Mistral: Mistral Small 4 (batch): input price cut 50% ($0.15 → $0.07/1M), output price cut 50% ($0.60 → $0.30/1M) on 2026-09-10.
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...
Full Google: Gemma 4 31B (batch) specs →Mistral Small 4 is the next major release in the Mistral Small family, unifying the capabilities of several flagship Mistral models into a single system. It combines strong reasoning from...
Full Mistral: Mistral Small 4 (batch) specs →