Calculate the cost of using glm-5.2 from OpenRouter for your AI applications
Pricing data last updated:
Mode: Chat
Max: 262,144 tokens
Max: 262,144 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
glm-5.2 is a chat model from OpenRouter, one of 346 chat models they offer. It is priced at $1.40 per 1M input tokens and $4.40 per 1M output tokens, ranking 1584 out of 2170 chat models by cost and cheaper than 27% of models in this category. glm-5.2 supports function calling, reasoning, prompt caching, structured output. Its 262K-token context window is in the top 24% 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 262,144 input tokens. The maximum output length is 262,144 tokens.
At $1.40 per 1M input tokens and $4.40 per 1M output tokens, glm-5.2 ranks 1584 out of 2170 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 27% of models in this category.
glm-5.2 is one of 346 OpenRouter chat models, with support for function calling, reasoning, prompt caching, structured output. its 262K-token context window places it in the top 24% of chat models.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs glm-5.2 |
|---|---|---|---|---|
| gpt-5-2025-08-07 | Azure | $1.38 | $11.00 | -2% |
| gpt-5.1 | Azure | $1.38 | $11.00 | -1% |
| gpt-5.1-chat | Azure | $1.38 | $11.00 | -1% |
Similar chat models from other providers
No. glm-5.2 costs $1.40 per 1M input tokens while gpt-5-2025-08-07 costs $1.38 per 1M input tokens, making gpt-5-2025-08-07 2% more affordable for input. However, glm-5.2 may offer different capabilities or performance characteristics that justify the price difference.
glm-5.2 input pricing is $1.40 per 1M tokens, which is 155% above the median of $0.55 for chat models. It ranks 1584 out of 2170 chat models by input cost, making it cheaper than 27% of models in this category. For output, it costs $4.40 per 1M tokens compared to the median of $1.46.
Among OpenRouter's 346 chat models, glm-5.2 ranks 257 by input cost.
The most comparable chat models to glm-5.2 are: gpt-5-2025-08-07 from Azure ($1.38/1M input tokens); gpt-5.1 from Azure ($1.38/1M input tokens); gpt-5.1-chat from Azure ($1.38/1M input tokens); gpt-5.1-2025-11-13 from Azure ($1.25/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 262,144 input tokens, placing it in the top 24% of chat models by context window size (rank 482 of 2095). 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 $1.40 and generating 1M output tokens costs $4.40.