Try Bifrost Enterprise free for 14 days.
Request access

glm-5.2-fast-preview Cost Calculator - Aihubmix

Calculate the cost of using glm-5.2-fast-preview from Aihubmix for your AI applications

Pricing data last updated:

glm-5.2-fast-preview Cost Calculator

Mode: Chat

Max: 1,000,000 tokens

Max: 131,072 tokens

Cost Breakdown

Input Cost$0.002254
Output Cost$0.007889
Total Cost$0.010143

Pricing Details

Input: $0.00000225 per token
Output: $0.00000789 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
Reasoning

Limits

Max Input Tokens1,000,000
Max Output Tokens131,072
Max Tokens131,072

About glm-5.2-fast-preview

glm-5.2-fast-preview is a chat model from Aihubmix, one of 72 chat models they offer. It is priced at $2.25 per 1M input tokens and $7.89 per 1M output tokens, ranking 2961 out of 3639 chat models by cost and cheaper than 19% of models in this category. glm-5.2-fast-preview supports function calling, reasoning, prompt caching, structured output. Its 1,000K-token context window is in the top 23% among chat models.

Pricing Information

Input Cost$2.25 per 1M tokens
Output Cost$7.89 per 1M tokens

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

Technical Specifications

Maximum Input Tokens1,000,000
Maximum Output Tokens131,072
Maximum Total Tokens131,072

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 1,000,000 input tokens. The maximum output length is 131,072 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Advanced Reasoning - Complex problem-solving capabilities
Prompt Caching - Optimize repeated prompts
Response Schema - Structured output formatting

How glm-5.2-fast-preview Pricing Compares

At $2.25 per 1M input tokens and $7.89 per 1M output tokens, glm-5.2-fast-preview ranks 2961 out of 3639 chat models by input cost. It is more expensive compared to the median of $0.58 for chat models, and is cheaper than 19% of models in this category.

glm-5.2-fast-preview is one of 72 Aihubmix chat models, with support for function calling, reasoning, prompt caching, structured output. its 1,000K-token context window places it in the top 23% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs glm-5.2-fast-preview
amazon.nova-2-pro-preview-20251202-v1:0AWS Bedrock$2.19$17.50-3%
apac.amazon.nova-2-pro-preview-20251202-v1:0AWS Bedrock$2.19$17.50-3%
eu.amazon.nova-2-pro-preview-20251202-v1:0AWS Bedrock$2.19$17.50-3%

Alternatives to glm-5.2-fast-preview

Similar chat models from other providers

AWS Bedrock
amazon.nova-2-pro-preview-20251202-v1:0
$2.19/1M input
-3% vs glm-5.2-fast-preview
AWS Bedrock
apac.amazon.nova-2-pro-preview-20251202-v1:0
$2.19/1M input
-3% vs glm-5.2-fast-preview
AWS Bedrock
eu.amazon.nova-2-pro-preview-20251202-v1:0
$2.19/1M input
-3% vs glm-5.2-fast-preview
AWS Bedrock
us.amazon.nova-2-pro-preview-20251202-v1:0
$2.19/1M input
-3% vs glm-5.2-fast-preview
AWS Bedrock
anthropic.claude-sonnet-5
$2.00/1M input
-11% vs glm-5.2-fast-preview

Frequently Asked Questions

Is glm-5.2-fast-preview cheaper than amazon.nova-2-pro-preview-20251202-v1:0?

No. glm-5.2-fast-preview costs $2.25 per 1M input tokens while amazon.nova-2-pro-preview-20251202-v1:0 costs $2.19 per 1M input tokens, making amazon.nova-2-pro-preview-20251202-v1:0 3% more affordable for input. However, glm-5.2-fast-preview may offer different capabilities or performance characteristics that justify the price difference.

How does glm-5.2-fast-preview pricing compare to the average chat model?

glm-5.2-fast-preview input pricing is $2.25 per 1M tokens, which is 289% above the median of $0.58 for chat models. It ranks 2961 out of 3639 chat models by input cost, making it cheaper than 19% of models in this category. For output, it costs $7.89 per 1M tokens compared to the median of $1.66.

What makes glm-5.2-fast-preview different from other Aihubmix models?

Among Aihubmix's 72 chat models, glm-5.2-fast-preview ranks 60 by input cost.

What are the best alternatives to glm-5.2-fast-preview?

The most comparable chat models to glm-5.2-fast-preview are: amazon.nova-2-pro-preview-20251202-v1:0 from AWS Bedrock ($2.19/1M input tokens); apac.amazon.nova-2-pro-preview-20251202-v1:0 from AWS Bedrock ($2.19/1M input tokens); eu.amazon.nova-2-pro-preview-20251202-v1:0 from AWS Bedrock ($2.19/1M input tokens); us.amazon.nova-2-pro-preview-20251202-v1:0 from AWS Bedrock ($2.19/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 large is glm-5.2-fast-preview's context window?

glm-5.2-fast-preview supports up to 1,000,000 input tokens, placing it in the top 23% of chat models by context window size (rank 698 of 3346). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I calculate glm-5.2-fast-preview costs?

glm-5.2-fast-preview 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 $2.25 and generating 1M output tokens costs $7.89.