Try Bifrost Enterprise free for 14 days.
Request access

glm-5.1 Cost Calculator - Opencode

Calculate the cost of using glm-5.1 from Opencode for your AI applications

Pricing data last updated:

glm-5.1 Cost Calculator

Mode: Chat

Cost Breakdown

Input Cost$0.001400
Output Cost$0.004400
Total Cost$0.005800

Pricing Details

Input: $0.00000140 per token
Output: $0.00000440 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

About glm-5.1

glm-5.1 is a chat model from Opencode, one of 48 chat models they offer. It is priced at $1.40 per 1M input tokens and $4.40 per 1M output tokens, ranking 1674 out of 2292 chat models by cost and cheaper than 27% of models in this category.

Pricing Information

Input Cost$1.40 per 1M tokens
Output Cost$4.40 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

How glm-5.1 Pricing Compares

At $1.40 per 1M input tokens and $4.40 per 1M output tokens, glm-5.1 ranks 1674 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 27% of models in this category.

ModelProviderInput / 1M tokensOutput / 1M tokensvs glm-5.1
amazon.titan-text-express-v1AWS Bedrock$1.30$1.70-7%
gpt-5-2025-08-07Azure$1.38$11.00-2%
gpt-5.1Azure$1.38$11.00-1%

Alternatives to glm-5.1

Similar chat models from other providers

AWS Bedrock
amazon.titan-text-express-v1
$1.30/1M input
-7% vs glm-5.1
Azure
gpt-5.1
$1.38/1M input
-1% vs glm-5.1
Azure
gpt-5.1-chat
$1.38/1M input
-1% vs glm-5.1

Frequently Asked Questions

Is glm-5.1 cheaper than amazon.titan-text-express-v1?

No. glm-5.1 costs $1.40 per 1M input tokens while amazon.titan-text-express-v1 costs $1.30 per 1M input tokens, making amazon.titan-text-express-v1 7% more affordable for input. However, glm-5.1 may offer different capabilities or performance characteristics that justify the price difference.

How does glm-5.1 pricing compare to the average chat model?

glm-5.1 input pricing is $1.40 per 1M tokens, which is 155% above the median of $0.55 for chat models. It ranks 1674 out of 2292 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.50.

What makes glm-5.1 different from other Opencode models?

Among Opencode's 48 chat models, glm-5.1 ranks 25 by input cost.

What are the best alternatives to glm-5.1?

The most comparable chat models to glm-5.1 are: amazon.titan-text-express-v1 from AWS Bedrock ($1.30/1M input tokens); 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). 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.

How do I calculate glm-5.1 costs?

glm-5.1 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.