Models

agnes-2.5-flash vs glm-5.2

Output tokens cost $0.15 per million on agnes-2.5-flash and $1.97 per million on glm-5.2. Input tokens cost $0.03 per million on agnes-2.5-flash and $0.56 per million on glm-5.2. Cached input tokens are billed at $0.03 per million on agnes-2.5-flash and $0.14 per million on glm-5.2. Discounted rates are shown where a promotion is active. Context windows are 512,000 tokens on agnes-2.5-flash and 1,000,000 tokens on glm-5.2.

Agnesagnes-2.5-flashZ.AIglm-5.2
Agnes
agnes-2.5-flash
Agnes · text, image → text

Agnes 2.5 Flash is Agnes AI’s fast and efficient language model, an upgraded, fully available model based on Agnes 2.0 Flash. It continues to use an OpenAI-compatible Chat Completions interface and has been optimized for coding tasks, agent workflows, tool calls, multi-turn dialogue, reasoning, and image understanding.

Input$0.03 /M
Output$0.15 /M
up to 50% off·14:00–23:59 UTC
Z.AI
glm-5.2
Z.AI · text → text

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.

Input$1.13$0.56 /M
Output$3.94$1.97 /M

Specs & Pricing

Prices are per million tokens. Latency and throughput are rolling averages measured on AIHubMix.

agnes-2.5-flash
glm-5.2
Input price
$0.03
$1.13$0.5650%
Output price
$0.15
$3.94$1.9750%
Cache read
$0.03
$0.28$0.1450%
Context window
512,000
1,000,000
Max output
56,500
128,000
Latency (first token)
-
1.8 s
Throughput
-
53.0 TPS
Modalities
textimage
text
Features
thinking
thinkingtoolsfunction callingstructured outputs
Endpoints
chat_completions · responses
chat_completions · claude_api

Promotional prices show the discounted rate; see each model page for promotion windows.

Usage on AIHubMix last 30 days

Daily traffic served through AIHubMix — how demand for each model is trending.

agnes-2.5-flashglm-5.2

Tokens / day

-

Requests / day

-

Live Performance last 3 days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

agnes-2.5-flashglm-5.2

Throughput (TPS)

-

Latency (s)

-

Uptime (%)

-

Cost Calculator

Estimate your monthly bill for the same workload on each model.

agnes-2.5-flash
$4.05 /mo
glm-5.2
$127$63.38 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: agnes-2.5-flash, glm-5.2?

agnes-2.5-flash: $0.15/M output tokens; glm-5.2: $1.97/M. Use the cost calculator above to estimate your own workload.

How large is each context window?

agnes-2.5-flash accepts 512,000 and glm-5.2 accepts 1,000,000 input tokens. Maximum output per request is 56,500 tokens on agnes-2.5-flash and 128,000 tokens on glm-5.2.

What inputs and capabilities does each model support?

agnes-2.5-flash accepts text and image input and supports thinking; glm-5.2 accepts text input and supports thinking, tool calling, function calling and structured outputs.

Can I call agnes-2.5-flash and glm-5.2 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular Comparisons

Related model match-ups readers also look at.