impulse

GLM 5.2 Fast Preview

Preview
API id glm-5.2-fast-preview
Input / 1M
$2.25
at AIHubMix
Output / 1M
$7.89
at AIHubMix
Context window
1M
tokens
Max output
131K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at AIHubMix, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$2.25$7.89
Cached input
75% off input
$0.564

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
Use your own numbers

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.

HostIn / out per 1M
AIHubMixGateway
glm-5.2-fast-preview
$2.25 / $7.89

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

  • GLM 5v Turbo
    Zhipu AI · on Z.ai
    $1.20 / $4.00
    Lacks structured
    48% less
  • GLM 5 Code
    Zhipu AI · on Z.ai
    $1.20 / $5.00
    Lacks structured
    41% less

Other frontier labs

  • Gemini 4 Hydrogen
    Google · on Google AI Studio
    $1.50 / $7.50
    Has every key capability
    18% less
  • Grok 4.7
    xAI · on xAI
    $2.00 / $6.00
    Has every key capability
    18% less
  • GPT-6.1 Terra
    OpenAI · on OpenAI
    $1.00 / $5.00
    Has every key capability
    45% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    95% less

Open-weight picks

  • Qwen3.8.2 4T A95B
    Alibaba Qwen · on DeepInfra
    $2.00 / $6.00
    Has every key capability
    18% less
  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    53% less
  • GLM 5.3
    Zhipu AI · on CLF AI Gateway
    $0.56 / $1.76
    Has every key capability
    77% less
  • DeepSeek V4 Pro
    DeepSeek · on CLF AI Gateway
    $0.528 / $1.58
    Has every key capability
    78% less

Call it

Using AIHubMix's API.

Python
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
}