Skip to content

Model detail

GLM-4.5-X

Provided by GLM
Pay-as-you-go

A GLM-4.5 variant combining the family's reasoning capabilities with an inference configuration focused on rapid responses.

Model specs

Model ID
glm-4.5-x
Context length
128K
Max output
16.384K
I/O modalities
Released
2025-07

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • OpenAI-compatible /v1/chat/completions POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$2.2000 /1M Tokens

Completion

$8.9000 /1M Tokens

Cache read

$0.4500 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

A GLM-4.5 variant combining the family's reasoning capabilities

A GLM-4.5 variant combining the family's reasoning capabilities with an inference configuration focused on rapid responses.

What should you check before using it?

128,000 context, 16,384 output tokens

GLM model that supports reasoning and tool calling. Released 2025-07-28.

Why use it through MixRoute?

GLM-4.5-X cache reads cut repeated-prompt cost

Cached prefixes are billed at 0.45 USD per 1M tokens instead of 2.2 USD, so repeated system prompts cost less. MixRoute serves GLM-4.5-X on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID glm-4.5-x and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Tool calling

GLM-4.5-X supports function and tool calls.

EX Send a tools definition; the response returns tool_calls to execute and feed results back.
Available:

Structured output

GLM-4.5-X can produce JSON-formatted output on demand.

EX response_format: { type: "json_schema" } forces valid JSON output.
Available:

Streaming

GLM-4.5-X supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Prompt caching

GLM-4.5-X supports prompt caching under supported routing conditions.

EX Keep the system prompt and tool definitions at the start of the request; repeated prefixes are automatically billed at the cache-read rate.
Available:

OpenAI SDK

Call GLM-4.5-X through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

Share of the same prefix read repeatedly, up to 100%

09

FAQ

GLM-4.5-X is billed per use and the record publishes no free-tier allowance. The current published rates are input $2.2000 per 1M tokens and output $8.9000 per 1M tokens. Trial credit or promotional quota is tied to your account rather than to the model, so check the console before planning around a free tier.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.