Key takeaways
- GLM-5.2 costs $1.40 per million input tokens and $4.40 per million output tokens, against $8 and $40 for Claude Fable 5.2, as of November 23, 2026.
- GLM-5.2's 753-billion-parameter weights are open under the MIT license, while Fable 5.2 is available only through Anthropic's apps, API and cloud partners.
- Fable 5.2 ranks first on Artificial Analysis's Intelligence Index v5.0.1 at 65, and Z.ai has since replaced GLM-5.2 with GLM-5.3 at the same price.
GLM 5.2 vs Claude Fable 5.2 comes down to price against reach. Anthropic's Claude Fable 5.2, released on November 9, 2026, is the higher-scoring model and currently sits first on Artificial Analysis's intelligence index. Z.ai's GLM-5.2, released on June 16, 2026, costs $1.40 per million input tokens against Fable's $8, and you can download its weights under the MIT license.
Both read up to 1 million tokens and write up to 128,000 in one reply. The gap is in what each costs, where it runs and how well it does on hard agentic work. One more thing to know before choosing GLM-5.2: Z.ai already has a successor, GLM-5.3, at the same price.
This comparison is based on the products' docs, pricing pages and published benchmark results, read on November 23, 2026. It is not a hands-on test.
GLM 5.2 vs Claude Fable 5.2 at a glance
| GLM-5.2 | Claude Fable 5.2 | |
|---|---|---|
| Maker | Z.ai (formerly Zhipu AI) | Anthropic |
| Released | June 16, 2026 | November 9, 2026 |
| Context window | 1M tokens | 1M tokens |
| Max output | 128K tokens | 128K tokens |
| Input | Text only | Text and images |
| Input price, per 1M tokens | $1.40 | $8 |
| Output price, per 1M tokens | $4.40 | $40 |
| Cached input, per 1M tokens | $0.26 | $0.20 |
| Batch price, per 1M tokens | Not listed | $4 input, $20 output |
| Weights | Open, MIT license, 753B parameters | Closed, API and apps only |
| Where to use it | Z.ai API, about 20 providers on OpenRouter, your own servers | Claude apps, Claude API, Amazon Bedrock, Google Cloud, Microsoft Foundry |
| Artificial Analysis index | 51 on v4.1 (June 2026); not scored on v5.0.1 | 65 on v5.0.1, ranked first |
| Successor | GLM-5.3, August 18, 2026 | None yet |
Prices are as of November 23, 2026, from Z.ai's pricing page and Anthropic's pricing page.
How much GLM 5.2 and Claude Fable 5.2 cost
GLM-5.2 costs $1.40 per million input tokens and $4.40 per million output tokens on Z.ai's own API. Claude Fable 5.2 costs $8 and $40. That makes Fable about 5.7 times as expensive on input and about 9 times as expensive on output.
A concrete case: a job that reads 1 million tokens and writes 100,000 costs about $1.84 on GLM-5.2 and $12 on Fable 5.2, before any discounts.
Two details narrow the gap a little:
- Cached input. Fable charges $0.20 per million tokens to read a cached prompt, 2.5% of its base input price. GLM-5.2 charges $0.26. An agent that re-reads the same large codebase on every turn pays slightly less for those reads on Fable. Z.ai lists cache storage as free for a limited time, with no end date.
- Batch. Anthropic's Batch API halves Fable's price to $4 and $20 for work that can wait. Z.ai's pricing page lists no batch rate for GLM-5.2.
Fable also has a fast mode that generates tokens up to 2.5 times faster, at $16 input and $80 output.
GLM-5.2 can cost less still. OpenRouter lists about 20 providers serving it, and some charge less than Z.ai. Because the weights are open, you can also run it on your own hardware and pay only for the machines.
Token counts don't translate one to one. Anthropic says its tokenizer for Claude 4.7 and later models produces about 30% more tokens for the same text than its older one. GLM uses a different tokenizer, so the same prompt can come to a different number of tokens on each model.
Open weights vs a closed model
This is the biggest practical difference. GLM-5.2's weights are on Hugging Face under the MIT license, which allows commercial use with almost no conditions. The model has 753 billion parameters and is a mixture-of-experts model, which runs only part of its network for each token. Artificial Analysis puts the active part at about 40 billion parameters.
Z.ai lists support for vLLM, SGLang, Transformers and KTransformers, and for Huawei's Ascend chips. At 753 billion parameters, running it yourself takes a multi-GPU server, not a laptop.
That matters if your data can't leave your network, if you want to fine-tune, or if you need to keep running the exact same model for years.
Claude Fable 5.2 has no downloadable weights. You use it through Claude's apps, the Claude API, or the clouds Anthropic partners with: Amazon Bedrock, Google Cloud and Microsoft Foundry. Anthropic commits to keeping it available until at least November 9, 2027.
Benchmarks: what each company claims
Neither company tested the other's model. Each compared its own model against older or different rivals, so their tables don't line up.
Z.ai compared GLM-5.2 with Claude Opus 4.8, an older Anthropic model that Fable and Opus 5.5 have since replaced at the top of the lineup. On its model card, Z.ai reports:
| Benchmark (Z.ai's numbers) | GLM-5.2 | Claude Opus 4.8 |
|---|---|---|
| SWE-bench Pro | 62.1 | 69.2 |
| Terminal Bench 2.1 (Terminus-2) | 81.0 | 85.0 |
| FrontierSWE (Dominance) | 74.4 | 75.1 |
| HLE with tools | 54.7 | 57.9 |
| MCP-Atlas | 76.8 | 77.8 |
| GPQA-Diamond | 91.2 | 93.6 |
By Z.ai's own count, GLM-5.2 trails Opus 4.8 on most coding and agent tests, sometimes by a point and sometimes by seven.
Anthropic compared Fable 5.2 with its own Opus 5.5, OpenAI's GPT-6 Astra and Google's Gemini 4 Carbon. It reports 69.9% on FrontierSWE v2, 49.1% on FrontierCode 2.0, 74.2% on Humanity's Last Exam with tools and 89.3% on OSWorld 2.1, a computer-use test. On all four, Fable 5.2 scored higher than Opus 5.5 in Anthropic's table.
The two tables share almost nothing. Z.ai's FrontierSWE figure is a "Dominance" score on a different version than Anthropic's FrontierSWE v2. Both report Humanity's Last Exam with tools (54.7 for GLM-5.2, 74.2% for Fable 5.2), but each company ran it with its own tools and settings, so the 20-point gap is a hint, not a measurement.
Independent results
Third-party leaderboards are a fairer guide, though they don't cover both models in the same version.
- Artificial Analysis. Its Intelligence Index v5.0.1 puts Claude Fable 5.2 (Max) first of every model it tracks, at 65. GLM-5.2 scored 51 on the earlier v4.1 when it came out in June, the highest of any open-weights model at the time. Artificial Analysis now marks GLM-5.2 deprecated and doesn't score it on v5.0.1. GLM-5.3, built on the same base model, scores 32 on v5.0.1. The two index versions use different tests, so 51 and 65 can't be compared directly.
- Terminal-Bench. On the Terminal-Bench 4.1 leaderboard, Claude Fable 5.2 solves 65.8% of tasks running in Claude Code, tied for second. GLM-5.2 isn't listed. GLM-5.3, run in the same harness, solves 41.2%.
- Speed and tokens. Artificial Analysis measured GLM-5.2 at 59 output tokens per second in its Max setting and Fable 5.2 at 110. It also found that GLM-5.2 uses about 43,000 output tokens per index task, up from 26,000 for GLM-5.1, which eats into its price advantage on reasoning-heavy work.
The independent numbers point the same way as the price list. Fable 5.2 is the stronger model on hard agentic tasks, and the gap is wide. GLM-5.2 was the best open model in June, but it is not close to Fable.
GLM-5.2 already has a successor
Z.ai released GLM-5.3 on August 18, 2026. It uses the same base model as GLM-5.2, improved through more training, and costs the same $1.40 and $4.40. Z.ai says it scores 50% higher than GLM-5.2 on its own Z.ai Code Bench.
Two things changed with it. Z.ai's GLM Coding Plan, its subscription for coding tools such as Claude Code and Cline, now routes requests for GLM-5.2 to GLM-5.3. And GLM-5.3 ships under its own "glm-5.3" license rather than MIT. If you want the MIT license, GLM-5.2 is still the one to download.
Which one to pick
Pick Claude Fable 5.2 when the work is long, hard and agentic, when you need image input, or when a failed run costs more than the tokens. Anthropic itself suggests Opus 5.5, at half Fable's price, for most everyday coding, and Fable for the hardest jobs. The Fable 5.2 vs Opus 5.5 comparison covers that choice.
Pick GLM-5.2 when cost per token decides, when you need to run the model yourself, or when you need permissive open weights. For API use, compare it with GLM-5.3 first, since both cost the same.
In the Claude apps, Anthropic says Fable is available to all users, and on Pro and standard Team seats it can use up to half of the weekly usage limit. Whether Claude Fable 5.2 is free covers the plans in detail.
Frequently asked questions
Is GLM 5.2 better than Claude Fable 5.2?
Not on the published results. Fable 5.2 ranks first on Artificial Analysis's current index and solves 65.8% of Terminal-Bench 4.1 tasks, while Z.ai's own tables show GLM-5.2 trailing even the older Claude Opus 4.8 on most coding tests. GLM-5.2's advantages are price and open weights.
How much does GLM 5.2 cost?
On Z.ai's API, GLM-5.2 costs $1.40 per million input tokens, $0.26 per million cached input tokens and $4.40 per million output tokens, as of November 23, 2026. The weights are free to download under the MIT license.
Is GLM 5.2 open source?
Its weights are open. Z.ai publishes GLM-5.2 on Hugging Face under the MIT license, which allows commercial use. Its successor, GLM-5.3, uses a custom glm-5.3 license instead.
What is the context window of GLM 5.2 and Claude Fable 5.2?
Both read up to 1 million tokens and write up to 128,000 tokens in one response, according to Z.ai's and Anthropic's docs.
Sources
- GLM-5.2Z.ai
- New releasesZ.ai
- PricingZ.ai
- zai-org/GLM-5.2 model cardZ.ai on Hugging Face
- zai-org/GLM-5.3 model cardZ.ai on Hugging Face
- GLM Coding Plan overviewZ.ai
- Claude Fable 5.2 and Claude Mythos 5.2Anthropic
- PricingAnthropic
- Models overviewAnthropic
- GLM-5.2 is the new leading open weights model on the Artificial Analysis Intelligence IndexArtificial Analysis
- LLM leaderboardArtificial Analysis
- GLM-5.2 model pageArtificial Analysis
- Claude Fable 5.2 model pageArtificial Analysis
- Terminal-Bench leaderboardTerminal-Bench
- GLM 5.2 providersOpenRouter




