Anthropic Claude Haiku Latest vs Z.ai: GLM 5.1
They cost about the same for input tokens: Anthropic Claude Haiku Latest $1.00 per M, Z.ai: GLM 5.1 $0.966 per M. Z.ai: GLM 5.1 is 1.6× cheaper for output tokens: Anthropic Claude Haiku Latest costs $5.00 per M and Z.ai: GLM 5.1 costs $3.036 per M. About the same: Anthropic Claude Haiku Latest takes up to 200,000 tokens of context and Z.ai: GLM 5.1 up to 204,800. Anthropic Claude Haiku Latest accepts file, image, text; Z.ai: GLM 5.1 accepts text.
| Anthropic Claude Haiku Latest | Z.ai: GLM 5.1 | |
|---|---|---|
| Model id | anthropic/claude-haiku-latest | z-ai/glm-5.1 |
| Input | $1.00 per M | $0.966 per M |
| Output | $5.00 per M | $3.036 per M |
| Context length | 200,000 tokens | 204,800 tokens |
| Accepts | file, image, text | text |
| Produces | text | text |
| Served by | anthropic | zai |
Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.