Try Bifrost Enterprise free for 14 days.
Request access

GLM-5.1 Cost Calculator - Hugging Face

Calculate the cost of using GLM-5.1 from Hugging Face for your AI applications

Pricing data last updated:

GLM-5.1 Cost Calculator

Mode: Chat

Max: 202,752 tokens

Cost Breakdown

Input Cost$0.001050
Output Cost$0.003500
Total Cost$0.004550

Pricing Details

Input: $0.00000105 per token
Output: $0.00000350 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

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

Model Specifications

Capabilities

Function Calling

Limits

Max Input Tokens202,752
Max Tokens202,752

About GLM-5.1

GLM-5.1 is a chat model from Hugging Face, one of 204 chat models they offer. It is priced at $1.05 per 1M input tokens and $3.50 per 1M output tokens, ranking 1890 out of 2788 chat models by cost and cheaper than 32% of models in this category. GLM-5.1 supports function calling, structured output. Its 203K-token context window is in the top 36% among chat models.

Pricing Information

Input Cost$1.05 per 1M tokens
Output Cost$3.50 per 1M tokens

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

Technical Specifications

Maximum Input Tokens202,752
Maximum Total Tokens202,752

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 202,752 input tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Response Schema - Structured output formatting

How GLM-5.1 Pricing Compares

At $1.05 per 1M input tokens and $3.50 per 1M output tokens, GLM-5.1 ranks 1890 out of 2788 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 32% of models in this category.

GLM-5.1 is one of 204 Hugging Face chat models, with support for function calling, structured output. its 203K-token context window places it in the top 36% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs GLM-5.1
anthropic.claude-haiku-4-5-20251001-v1:0AWS Bedrock$1.00$5.00-5%
anthropic.claude-haiku-4-5@20251001AWS Bedrock$1.00$5.00-5%
apac.amazon.nova-pro-v1:0AWS Bedrock$0.84$3.36-20%

Alternatives to GLM-5.1

Similar chat models from other providers

AWS Bedrock
anthropic.claude-haiku-4-5@20251001
$1.00/1M input
-5% vs GLM-5.1
AWS Bedrock
apac.amazon.nova-pro-v1:0
$0.84/1M input
-20% vs GLM-5.1

Frequently Asked Questions

Is GLM-5.1 cheaper than anthropic.claude-haiku-4-5-20251001-v1:0?

No. GLM-5.1 costs $1.05 per 1M input tokens while anthropic.claude-haiku-4-5-20251001-v1:0 costs $1.00 per 1M input tokens, making anthropic.claude-haiku-4-5-20251001-v1:0 5% 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.05 per 1M tokens, which is 93% above the median of $0.55 for chat models. It ranks 1890 out of 2788 chat models by input cost, making it cheaper than 32% of models in this category. For output, it costs $3.50 per 1M tokens compared to the median of $1.50.

What makes GLM-5.1 different from other Hugging Face models?

Among Hugging Face's 204 chat models, GLM-5.1 ranks 185 by input cost.

What are the best alternatives to GLM-5.1?

The most comparable chat models to GLM-5.1 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.amazon.nova-pro-v1:0 from AWS Bedrock ($0.84/1M input tokens); apac.anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.10/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 check if Hugging Face is down?

You can monitor Hugging Face service health in real time on the Bifrost Hugging Face Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.

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.05 and generating 1M output tokens costs $3.50.