GLM 5.2 Fast Preview
glm-5.2-fast-previewPricing
List prices at AIHubMix, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $2.25 | $7.89 | |
| Cached input 75% off input | $0.564 | 75% off input |
What it costs a month
At AIHubMix list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$1,116
- RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$960
- Coding agent1,000 requests a day, 40K in / 2K out, cached$1,758
- Overnight batch20,000 requests a day, 4K in / 0.4K out$7,303
Where to run it
1 host serve GLM 5.2 Fast Preview. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
AIHubMixGateway glm-5.2-fast-preview | $2.25 / $7.89 | glm-5.2-fast-preview |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
- Features
- Prompt caching
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than AIHubMix.
Smaller Zhipu AI models
- 48% less
- 41% less
Other frontier labs
- 18% less
- 18% less
- 45% less
- 95% less
Open-weight picks
- 18% less
- 53% less
- 77% less
- 78% less
Call it
Using AIHubMix's API.
from litellm import completion
response = completion(
model="aihubmix/glm-5.2-fast-preview",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does GLM 5.2 Fast Preview cost?
On AIHubMix, GLM 5.2 Fast Preview costs $2.25 per million input tokens and $7.89 per million output tokens. Cached input costs $0.564 per million tokens.
Which APIs offer GLM 5.2 Fast Preview?
GLM 5.2 Fast Preview runs on 1 API: AIHubMix.
What is GLM 5.2 Fast Preview's context window?
1M tokens, with up to 131K tokens in one reply.
Is GLM 5.2 Fast Preview being retired?
No retirement date is scheduled for it on any API we track.
What are cheaper alternatives to GLM 5.2 Fast Preview?
Models that cost less and keep most of what it can do: GLM 5v Turbo on Z.ai (48% less), Gemini 4 Hydrogen on Google AI Studio (18% less), Grok 4.7 on xAI (18% less) and Qwen3.8.2 4T A95B on DeepInfra (18% less). Savings are on a mix of 3 input tokens to 1 output token.
What is GLM 5.2 Fast Preview's API model id?
Use glm-5.2-fast-preview with AIHubMix.
Sources
Raw catalog entry for glm-5.2-fast-preview on AIHubMix
{
"cache_read_input_token_cost": 5.635e-7,
"input_cost_per_token": 0.000002254,
"litellm_provider": "aihubmix",
"max_input_tokens": 1000000,
"max_output_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 0.000007889,
"source": "https://aihubmix.com/api/v1/models",
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_response_schema": true
}