GLM-5.3 FlashX Legal API pricing and specs
GLM-5.3 FlashX Legal is a Zhipu AI model. It takes text, images and video and returns text, with a context window of 1M tokens and up to 131K output tokens per response. The model ID is glm-5.3-flashx-legal. It is available through the relay.fast API with one relay.fast key and pay-as-you-go billing.
GLM-5.3 FlashX Legal API pricing
Prices checked from the live catalog. "From" is the lowest price among the relay.fast sources that currently serve the model. The price you pay depends on the source your request uses and can change on any day. The pricing page always shows current values.
| Official input price | $0.37 per 1M tokens |
|---|---|
| Official output price | $1.25 per 1M tokens |
| relay.fast input from | $0.0462 per 1M tokens |
| relay.fast output from | $0.156 per 1M tokens |
| Cache read from | $0.00937 per 1M tokens |
| Lower than the official price by | up to 87% |
GLM-5.3 FlashX Legal specifications
| Model ID | glm-5.3-flashx-legal |
|---|---|
| Developer | Zhipu AI |
| Context window | 1M tokens |
| Maximum output | 131K tokens |
| Input | text, images, video |
| Output | text |
| Features | tool calling, reasoning, structured output, image input, prompt caching |
| Endpoints | /v1/chat/completions |
Release month, limits and features are as published by Zhipu AI.
What a request to GLM-5.3 FlashX Legal costs
Cost of one request at the prices above, without cached input. Multiply by your number of requests to estimate a budget.
| Request | Tokens, input + output | At the official price | On relay.fast, from |
|---|---|---|---|
| A short chat reply | 1,000 + 300 | $0.00075 | $0.0000931 |
| One step of a coding agent | 30,000 + 1,500 | $0.013 | $0.0016 |
| A long document summary | 150,000 + 2,000 | $0.058 | $0.0073 |
Example request
Keep the key in the RELAY_FAST_API_KEY environment variable.
curl https://relay.fast/v1/chat/completions \
-H "Authorization: Bearer $RELAY_FAST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"glm-5.3-flashx-legal","messages":[{"role":"user","content":"Hello"}]}'Use GLM-5.3 FlashX Legal in coding tools
Setup guides: Claude Code, Codex, Cursor, Cline, Kilo Code, OpenCode, Aider. The API docs have one-command installers.
Frequently asked questions
How much does the GLM-5.3 FlashX Legal API cost?
On 2026-11-26, relay.fast charges from $0.0462 per 1M input tokens and $0.156 per 1M output tokens for GLM-5.3 FlashX Legal, against the official $0.37 and $1.25. The price depends on the source your request uses and can change; https://relay.fast/pricing/glm-5.3-flashx-legal shows the current value.
What is the context window of GLM-5.3 FlashX Legal?
GLM-5.3 FlashX Legal accepts up to 1M tokens of context in the relay.fast catalog.
What is the maximum output of GLM-5.3 FlashX Legal?
GLM-5.3 FlashX Legal returns up to 131K tokens in one response, according to the specification published by Zhipu AI. A client can set a lower limit.
Does GLM-5.3 FlashX Legal accept images?
Yes. GLM-5.3 FlashX Legal takes text, images and video as input and returns text.
Does GLM-5.3 FlashX Legal support tool calling?
Yes. GLM-5.3 FlashX Legal supports tool calling (function calling) and structured output, so it works in coding agents and other clients that call tools.
Which API endpoint does GLM-5.3 FlashX Legal use?
Call /v1/chat/completions with a relay.fast API key. OpenAI-compatible SDKs use the base URL https://relay.fast/v1.
Do I need a Zhipu AI account to use GLM-5.3 FlashX Legal?
No. You use a relay.fast account and API key. relay.fast is an independent API gateway and is not affiliated with Zhipu AI.
Other Zhipu AI models
GLM-5.2 · GLM-5.3 · GLM-5.3 Flash · GLM-5.4