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

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 3281 out of 4040 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 29% 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

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 3281 out of 4040 chat models by input cost. It is more expensive compared to the median of $0.60 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 29% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs glm-5.2-fast-preview
anthropic.claude-sonnet-5AWS Bedrock$2.00$10.00-11%
global.anthropic.claude-sonnet-5AWS Bedrock$2.00$10.00-11%
us.anthropic.claude-sonnet-5AWS Bedrock$2.20$11.00-2%

Alternatives to glm-5.2-fast-preview

Similar chat models from other providers

AWS Bedrock
anthropic.claude-sonnet-5
$2.00/1M input
-11% vs glm-5.2-fast-preview
AWS Bedrock
global.anthropic.claude-sonnet-5
$2.00/1M input
-11% vs glm-5.2-fast-preview
AWS Bedrock
us.anthropic.claude-sonnet-5
$2.20/1M input
-2% vs glm-5.2-fast-preview
AWS Bedrock
eu.anthropic.claude-sonnet-5
$2.20/1M input
-2% vs glm-5.2-fast-preview
AWS Bedrock
au.anthropic.claude-sonnet-5
$2.20/1M input
-2% vs glm-5.2-fast-preview

Frequently Asked Questions

Is glm-5.2-fast-preview cheaper than anthropic.claude-sonnet-5?

No. glm-5.2-fast-preview costs $2.25 per 1M input tokens while anthropic.claude-sonnet-5 costs $2.00 per 1M input tokens, making anthropic.claude-sonnet-5 11% 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 276% above the median of $0.60 for chat models. It ranks 3281 out of 4040 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.80.

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

Among Aihubmix's 72 chat models, glm-5.2-fast-preview ranks 61 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: anthropic.claude-sonnet-5 from AWS Bedrock ($2.00/1M input tokens); global.anthropic.claude-sonnet-5 from AWS Bedrock ($2.00/1M input tokens); us.anthropic.claude-sonnet-5 from AWS Bedrock ($2.20/1M input tokens); eu.anthropic.claude-sonnet-5 from AWS Bedrock ($2.20/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 29% of chat models by context window size (rank 876 of 3774). 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.