pick Claude Fable 5.2 if
- want strict tool use for schema-valid results
model comparison
Anthropic against xAI, compared on listed price, real workload cost, context and capabilities.
Anthropic's Claude Fable 5.2 documents strict tool use for schema-valid results; xAI's Grok 4.7 documents a medium reasoning-effort setting. Anthropic rejects forced tool selection and non-default sampling settings; xAI rejects presencePenalty, frequencyPenalty and stop.
checked 2026-11-30. sources: Claude Fable 5.2 model page (Anthropic docs),xAI Grok 4.7 announcement,xAI docs: reasoning guide
| spec | Claude Fable 5.2 | Grok 4.7 |
|---|---|---|
| provider | Anthropic | xAI |
| input price | $8/M | $2/M |
| output price | $40/M | $6/M |
| cached input | $0.2/M | $0.5/M |
| blended price (3:1) | $16/M | $3/M |
| context window | 1M tokens | 500k tokens |
| max output | 128k tokens | — |
| input | text, images | text, images |
| structured output | yes | yes |
| weights | closed | closed |
| released | November 9, 2026 | September 21, 2026 |
| workload | Claude Fable 5.2 | Grok 4.7 |
|---|---|---|
| one chat reply3,000 tokens in, 500 outClaude Fable 5.2 costs 4.9× as much as Grok 4.7 | $0.04 | $0.009 |
| summarise a 100-page report50,000 tokens in, 1,500 out, one requestClaude Fable 5.2 costs 4.2× as much as Grok 4.7 | $0.46 | $0.11 |
| 1,000 classification calls500 tokens in, 20 out, per callClaude Fable 5.2 costs 4.3× as much as Grok 4.7 | $4.80 | $1.12 |
| coding-agent session2M tokens in across ~60 turns, 60,000 out, no cacheClaude Fable 5.2 costs 4.2× as much as Grok 4.7 | $18.40 | $4.36 |
| same session, cached85% of input read from the prompt cache, the rest written to itClaude Fable 5.2 costs 3.2× as much as Grok 4.7 | $5.74 | $1.81 |
at listed rates. token counts are typical sizes, not measurements.
Anthropic's Claude model for demanding reasoning and long-horizon agentic work, released as the successor to Fable 5.1. It costs less than 5.1 on input, output and cache, at the same context window; Anthropic points most workloads to the cheaper Opus 5.5.
xAI's model for coding and knowledge work, launched September 2026 as the successor to Grok 4.6 at the same price and speed. it takes text and images, and reasoning is always on.
Grok 4.7 lists lower input and output prices. on a coding-agent session (2M tokens in, 60,000 out) Claude Fable 5.2 costs $18.40 and Grok 4.7 $4.36.
Claude Fable 5.2 offers the larger context window. Claude Fable 5.2: 1M tokens; Grok 4.7: 500k tokens.
yes. in an octomind session, /model octohub:claude-fable-5-2 and /model octohub:grok-4.7 switch models without losing the conversation, so you can draft on one and review on the other.
switch between models inside the same octomind session.
prices from the catalog of 2026-12-01