Calculate the cost of using glm-5 from OpenRouter for your AI applications
Pricing data last updated:
Mode: Chat
Max: 202,752 tokens
Max: 128,000 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
glm-5 is a chat model from OpenRouter, one of 351 chat models they offer. It is priced at $0.60 per 1M input tokens and $1.92 per 1M output tokens, ranking 1213 out of 2292 chat models by cost and cheaper than 45% of models in this category. glm-5 supports function calling, reasoning, prompt caching, structured output. Its 203K-token context window is in the top 30% 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 202,752 input tokens. The maximum output length is 128,000 tokens.
At $0.60 per 1M input tokens and $1.92 per 1M output tokens, glm-5 ranks 1213 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 45% of models in this category.
glm-5 is one of 351 OpenRouter chat models, with support for function calling, reasoning, prompt caching, structured output. its 203K-token context window places it in the top 30% of chat models.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs glm-5 |
|---|---|---|---|---|
| gpt-5.4-mini | Azure | $0.75 | $4.50 | +25% |
| gpt-5.4-mini-2026-03-17 | Azure | $0.75 | $4.50 | +25% |
| gemini-3-flash-preview | Vertex AI | $0.50 | $3.00 | -17% |
Similar chat models from other providers
Yes. glm-5 costs $0.60 per 1M input tokens compared to gpt-5.4-mini's $0.75 per 1M input tokens, making it 25% more affordable. Both are chat models and share support for vision, function calling, reasoning, web search, prompt caching, structured output.
glm-5 input pricing is $0.60 per 1M tokens, which is 9% above the median of $0.55 for chat models. It ranks 1213 out of 2292 chat models by input cost, making it cheaper than 45% of models in this category. For output, it costs $1.92 per 1M tokens compared to the median of $1.50.
Among OpenRouter's 351 chat models, glm-5 ranks 196 by input cost.
The most comparable chat models to glm-5 are: gpt-5.4-mini from Azure ($0.75/1M input tokens); gpt-5.4-mini-2026-03-17 from Azure ($0.75/1M input tokens); gemini-3-flash-preview from Vertex AI ($0.50/1M input tokens); gemini-3-flash-preview from Google Gemini ($0.50/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 supports up to 202,752 input tokens, placing it in the top 30% of chat models by context window size (rank 638 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 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.60 and generating 1M output tokens costs $1.92.