Claude Fable 5.1 vs Gemma 4 31B IT
Claude Fable 5.1 (Anthropic, September 2026) and Gemma 4 31B IT (Google DeepMind, April 2026), compared on price, context window, access and specs. They cost the same: $10.00 in and $50.00 out per million tokens. Claude Fable 5.1 reads more at once: a 1M-token context window against 262K. Gemma 4 31B IT has open weights, so you can also run it on your own hardware.
Updated 5 December 2026 · read each row across; the best value in a row is marked
Google DeepMind
At a glance
- Tasks
Language modeling
Language generation
Question answering
Language modeling
Language generation
Question answering
- Released
- 1 September 2026
- 2 April 2026
- Access
- API access
- Open weights (restricted use)
- Country
- United States of America
- United States of America
Price and API
- Input, per 1M tokens
- $10.00on Anthropic
- $0on Google AI StudioLowest
- Output, per 1M tokens
- $50.00on Anthropic
- $0on Google AI StudioLowest
- Where to run it
- AnthropicGoogle Vertex AIAmazon BedrockAzure AI FoundryAll 5 providers
- Google AI StudioDeepInfraAmazon BedrockOpenRouterAll 6 providersMost choice
- Official API id
anthropic/claude-fable-5-1google/gemma-4-31b-it- Context window
- 1M tokensLargest
- 262K tokens
- Max output
- 128K tokensLargest
- 33K tokens
- Takes
- Text, Image, PDF
- Text, Image
- Returns
- Text
- Text
- Knowledge cutoff
- June 2026
- Not listed
- Supports
- ReasoningTool callingStructured outputFile input
- ReasoningTool callingStructured outputFile inputOpen weights
Scale and training
- Parameters
- Not listed
- 31B31,000,000,000
- Confidence
- Confident
- Likely
In their own words
- Abstract
Claude Fable 5.1 and Claude Mythos 5.1 are the same model, but with different levels of safeguards. Fable 5.1 is generally available, while Mythos 5.1 is available only through our trusted access programs; its safeguards are specifically designed to support work in cybersecurity and the life sciences. Alongside its increased capabilities, Fable 5.1 takes important steps towards addressing the feedback we’ve received from customers on price, data retention, and safeguards. Price. Fable 5.1 will cost an estimated 25% less than Fable 5 for typical workloads, wherever usage is billed by token. This is because we’re reducing our pricing on cache reads (where the model reads inputs that have already been processed and stored). For highly agentic work, the savings will often be much larger—up to approximately 45%. Data retention. Our new system of Enterprise Frontier Safeguards (EFS) gives customers complete privacy (the same as a zero data retention policy) while still being state-of-the-art at preventing adversarial use. EFS works by storing data in cloud infrastructure controlled entirely by the customer, not Anthropic. It will be made available to enterprise customers in phases, beginning later this fall. Until EFS is available, eligible customers will be able to use Fable 5.1 with zero data retention. Safeguards. We’ve improved our safeguards to reduce false positives (where the system flags benign content). In cybersecurity, our newest safeguards block 60% fewer false positives than before. In part, this is because Fable 5.1 can now be used to discover software vulnerabilities—though not to develop exploits for them. In biology, we’ve established an access program, developed in partnership with the US government, to enable access to Claude Mythos 5.1’s advanced biology capabilities. We expect to open enrollment for scientists soon.Read all
We introduce Gemma 4, a new generation of open-weight, natively multimodal language models in the Gemma model family. Designed to advance compute efficiency and reasoning, the Gemma 4 model suite features dense and Mixture-of-Experts architectures, ranging from 2.3B to 31B parameters. Alongside improved vision and audio encoders for all model sizes, we propose a unified, encoder-free architecture for our 12B model, which ingests raw audio and image patches. Furthermore, we integrate a thinking mode, enabling Gemma models to generate reasoning traces prior to responding. We improve inference speed, memory, and compute efficiency, as well as long-context abilities through critical design choices. Gemma 4 establishes a leap in performance across STEM, multimodal, and long-context benchmarks, and rivals larger, frontier open models in human-rated tasks.Read all
- Authors
- Not listed
- Sherif El Abd, Vaibhav Aggarwal, Robin Algayres, Alek Andreev, Olivier Bachem, Ian Ballantyne, Cormac Brick, Victor Cărbune and 314 more
Which should you pick?
- Long documents, codebases or transcripts
- Claude Fable 5.1 · 1M tokens of context, 3.8× more than Gemma 4 31B IT.
- Long answers in one response
- Claude Fable 5.1 · Up to 128K output tokens per response.
- Self-hosting or fine-tuning
- Gemma 4 31B IT · Open weights: you can download them and run them on your own GPUs.
Questions people ask
Is Claude Fable 5.1 better than Gemma 4 31B IT?
It depends on the job. For long documents, codebases or transcripts, Claude Fable 5.1 has the edge: 1M tokens of context, 3.8× more than Gemma 4 31B IT. For long answers in one response, Claude Fable 5.1 has the edge: up to 128K output tokens per response. For self-hosting or fine-tuning, Gemma 4 31B IT has the edge: open weights: you can download them and run them on your own GPUs. Try them on your own prompts in the AIPortalX playground before you commit.
Which is cheaper: Claude Fable 5.1 or Gemma 4 31B IT?
They are priced the same, at $10.00 in and $50.00 out per million tokens.
Which has the bigger context window?
Claude Fable 5.1, with 1M tokens; Gemma 4 31B IT takes 262K. A larger window lets one request hold longer documents or conversations.
Where can I use Claude Fable 5.1 and Gemma 4 31B IT through one API?
Amazon Bedrock and OpenRouter serve all of them, so you can switch models without opening another account.
When were they released?
Claude Fable 5.1 in September 2026 and Gemma 4 31B IT in April 2026.