Calculate the cost of using glm-5.2 from OpenRouter for your AI applications
Pricing data last updated:
Mode: Chat
Max: 1,048,576 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
glm-5.2 is a chat model from OpenRouter, one of 351 chat models they offer. It is priced at $0.98 per 1M input tokens and $3.08 per 1M output tokens, ranking 1472 out of 2292 chat models by cost and cheaper than 36% of models in this category. glm-5.2 supports function calling, reasoning, prompt caching, structured output. Its 1,049K-token context window is in the top 6% among chat models.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 1,048,576 input tokens.
At $0.98 per 1M input tokens and $3.08 per 1M output tokens, glm-5.2 ranks 1472 out of 2292 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 36% of models in this category.
glm-5.2 is one of 351 OpenRouter chat models, with support for function calling, reasoning, prompt caching, structured output. its 1,049K-token context window places it in the top 6% of chat models.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs glm-5.2 |
|---|---|---|---|---|
| anthropic.claude-haiku-4-5-20251001-v1:0 | AWS Bedrock | $1.00 | $5.00 | +2% |
| anthropic.claude-haiku-4-5@20251001 | AWS Bedrock | $1.00 | $5.00 | +2% |
| apac.anthropic.claude-haiku-4-5-20251001-v1:0 | AWS Bedrock | $1.10 | $5.50 | +12% |
Similar chat models from other providers
Yes. glm-5.2 costs $0.98 per 1M input tokens compared to anthropic.claude-haiku-4-5-20251001-v1:0's $1.00 per 1M input tokens, making it 2% more affordable. Both are chat models and share support for vision, function calling, reasoning, web search, prompt caching, structured output.
glm-5.2 input pricing is $0.98 per 1M tokens, which is 78% above the median of $0.55 for chat models. It ranks 1472 out of 2292 chat models by input cost, making it cheaper than 36% of models in this category. For output, it costs $3.08 per 1M tokens compared to the median of $1.50.
Among OpenRouter's 351 chat models, glm-5.2 ranks 231 by input cost.
The most comparable chat models to glm-5.2 are: anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.00/1M input tokens); anthropic.claude-haiku-4-5@20251001 from AWS Bedrock ($1.00/1M input tokens); apac.anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.10/1M input tokens); claude-haiku-4-5 from Azure ($1.00/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.
glm-5.2 supports up to 1,048,576 input tokens, placing it in the top 6% of chat models by context window size (rank 115 of 2159). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.
You can monitor OpenRouter service health in real time on the Bifrost OpenRouter Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.
glm-5.2 is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.98 and generating 1M output tokens costs $3.08.