model comparison

vs

Claude Fable 5.2 vs Grok 4.7

Anthropic against xAI, compared on listed price, real workload cost, context and capabilities.

our take

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.

pick Claude Fable 5.2 if

  • want strict tool use for schema-valid results

pick Grok 4.7 if

  • want medium reasoning effort

checked 2026-11-30. sources: Claude Fable 5.2 model page (Anthropic docs),xAI Grok 4.7 announcement,xAI docs: reasoning guide

the short answer

  • Grok 4.7 lists lower input and output prices.
  • Claude Fable 5.2 offers the larger context window.
  • Claude Fable 5.2 reads cached input for less ($0.2/M against Grok 4.7's $0.5/M), which decides the bill for agents that resend long context.

side-by-side specs

specClaude Fable 5.2Grok 4.7
providerAnthropicxAI
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 window1M tokens500k tokens
max output128k tokens—
inputtext, imagestext, images
structured outputyesyes
weightsclosedclosed
releasedNovember 9, 2026September 21, 2026

same work, both models

workloadClaude Fable 5.2Grok 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.

Claude Fable 5.2 pricing notes

  • cache hits bill at $0.20 per 1M tokens (0.025x input); cache writes at $10 (5-minute tier) or $16 (1-hour tier).
  • the full 1M-token window bills at the standard rate, with no long-context surcharge.
  • adaptive thinking is always on and cannot be disabled; the effort setting (default high) steers its depth.

Grok 4.7 pricing notes

  • once a prompt reaches 200K tokens, every rate doubles for the whole request ($4 input, $12 output, $1 cached); the listed price is the sub-200K rate.

when to pick which

Claude Fable 5.2

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.

pick it if

  • Opus 5.5 at higher effort still falls short on your evals
  • you run Fable 5.1 today and want lower rates on the same window
  • you run long agent sessions; cache hits bill at 2.5% of input

skip it if

  • Opus 5.5 covers your workload at half the per-token price
  • your code forces tool use, prefills replies, sets temperature or edits earlier turns; all return errors

Grok 4.7

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.

pick it if

  • you want xAI's top model for coding and multi-hour terminal tasks
  • your prompts repeat: cached input bills at a quarter of the input rate
  • you need text and image input in one 500K window

skip it if

  • Grok Build 0.1 fits your work: half the input, a third the output price
  • you need a non-reasoning mode: reasoning on Grok 4.7 cannot be disabled

faq

which is cheaper, Claude Fable 5.2 or Grok 4.7?

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.

which has the larger context window?

Claude Fable 5.2 offers the larger context window. Claude Fable 5.2: 1M tokens; Grok 4.7: 500k tokens.

can i switch between Claude Fable 5.2 and Grok 4.7 mid-task?

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.

try either model

switch between models inside the same octomind session.

prices from the catalog of 2026-12-01