Compare GLM 5.2 from Z.ai and Claude Fable 5 from Anthropic on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
GLM 5.2 and Claude Fable 5 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
GLM 5.2, from Z.ai, has a 1,048,576-token context window and is priced at $0.0341/M tokens input, $7/M tokens output on OpenRouter.
Claude Fable 5, from Anthropic, has a 1,000,000-token context window and is priced at $10/M tokens input, $50/M tokens output on OpenRouter.
| Attribute | GLM 5.2 | Claude Fable 5 |
|---|---|---|
| Input price | $0.0341/M tokens | $10/M tokens |
| Output price | $7/M tokens | $50/M tokens |
| Context window | 1,048,576 tokens | 1,000,000 tokens |
| Intelligence Index | 33.7 | 49.6 |
| Coding Index | 68.8 | 76.5 |
| Agentic Index | 38.4 | 50.7 |
| Latency (p50) | 0.52 s | Not available |
| Throughput (p50) | 139.0 tok/s | Not available |
Benchmark data updated
GLM 5.2 is cheaper than Claude Fable 5 on OpenRouter: GLM 5.2 costs $0.0341/M tokens input and $7/M tokens output, while Claude Fable 5 costs $10/M tokens input and $50/M tokens output.
GLM 5.2 has the longer context window at 1,048,576 tokens, compared with 1,000,000 tokens for Claude Fable 5.
Claude Fable 5 scores higher on coding, with an Artificial Analysis Coding Index of 76.5 compared with 68.8 for GLM 5.2.