Claude Fable 5.2 vs GLM-5.4 pricing

Prices

Claude Fable 5.2 and GLM-5.4 prices, USD per 1M tokens
USD per 1M tokensClaude Fable 5.2GLM-5.4
Input$8.00$1.40
Output$40.00$4.40
Cache read$0.20$0.26
Cache write$10.00Free
Batch inputNot publishedNot published
Batch outputNot publishedNot published

Claude Fable 5.2: Anthropic's list price for its own API, as compiled by models.dev and checked Dec 4, 2026, 18:49 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

GLM-5.4: Z.AI's list price for its own API, as compiled by models.dev and checked Dec 4, 2026, 18:49 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Monthly cost by workload

WorkloadClaude Fable 5.2GLM-5.4
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$8,400/mo$1,080/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$12,600/mo$2,010/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$5,040/mo$996.00/mo

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Context and capabilities

Claude Fable 5.2GLM-5.4
Context1,000,000 tokens1,000,000 tokens
Max output128,000 tokens131,072 tokens
Inputtext, image, pdftext, image, video, pdf
Tool callingYesYes
ReasoningYesYes
Structured outputsYesYes

Questions

What is the price difference between Claude Fable 5.2 and GLM-5.4?
Claude Fable 5.2: $8.00 per 1M input tokens and $40.00 per 1M output tokens. GLM-5.4: $1.40 per 1M input tokens and $4.40 per 1M output tokens. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $8,400 per month for Claude Fable 5.2 and $1,080 for GLM-5.4.
Which has the longer context window, Claude Fable 5.2 or GLM-5.4?
Both accept up to 1,000,000 tokens of context.
Do Claude Fable 5.2 and GLM-5.4 have prompt caching and batch prices?
Claude Fable 5.2: cached input $0.20 per 1M tokens; no batch price published. GLM-5.4: cached input $0.26 per 1M tokens; no batch price published.

More comparisons