GLM-5.3 FlashX
Chat with GLM-5.3 FlashX online or call it through an Anthropic- or OpenAI-compatible API. About 200 tokens/s, 1M-token context, reasoning, and image input.
A codebase you don't know is a risk, not a hurdle. The plan should burn down that risk in order: understand, run, trace, spike, then make the change small enough that "production-ready" is a property you can demonstrate, not a hope.
Here are the first five steps, with the evidence you collect at each.
Step 1 — Get it building and the baseline green (half day)
Read the README, the manifest(s), the CI config, and any architecture docs. Boot the app locally, run the full test suite, run the linter/typechecker.
Evidence: The exact commands that reproduce a clean build and a passing test suite from a fresh checkout (recorded output, not memory of it). A one-page map you wrote yourself: where the entry points are, the layers, the build/test toolchain, and the main risks to your feature (e.g. "this touches cron jobs and payments").
Step 2 — Trace the smallest end-to-end slice that resembles your feature (half day)
Don't start with your feature. Pick a neighboring one that already works and follow it from entry to persistence. Note the conventions along the way: how errors surface, how config is injected, how logging is done, how tests are written.
Evidence: An annotated trace — file → function → what it does — for that slice. A written list of "conventions I must follow" (not intuitions; things you observed in real code). A named shortlist of the 3–5 files you will actually touch. If you can't produce this trace, you're not ready to write code.
Step 3 — Spike the core path (day 2)
Build the ugly version: hardcoded values, no error handling, no tests. The purpose is to confirm the path you traced in step 2 is real and to surface what you didn't know you didn't know.
Evidence: A working spike demonstrating the feature's central data path, alongside a list of every assumption the spike broke and what you corrected. That correction list is the most valuable document in this whole plan.
Step 4 — Write the contract before the code (half of day 2 / day 3)
Once the spike proves the path, pin down what production needs: the inputs/outputs, the error cases, where it sits in the conventions from step 2. Then write the tests — they'll be red, but they're the specification.
Evidence: A one-to-two-page design doc, an agreed interface/API shape (with the team if there is one), and a red test suite that encodes intended behavior. If you can't write the contract without consulting the code, you haven't finished step 2.
Step 5 — Implement in small, verified increments (days 3–4)
Replace the spike with the real thing in small commits, each one keeping the suite green, leaning on the existing patterns. Run lint/tests/typecheck per commit — CI, not just locally — and exercise the actual path against a real instance (staging or a local environment that isn't stubbed).
Evidence: A branch with progressive commits, each green in CI; coverage on the new code; something that proves it works against reality (a test result, a log trace, a screenshot); and a review by at least one person who knows the codebase. The review counts as evidence — an unfamiliar codebase has tribal knowledge you cannot extract from the files alone.
Steps 6+ would be the things that actually make it "shipped": a migration plan and its rollback, feature flagging, observability, the release and post-release verification. But the first five get you to a reviewed, green, working slice in staging — which is the point at which you can say "this will work in production" with evidence behind it, instead of a guess.
Runs in this page. Sign-in and credits are required.
Model details
Use the same model key in Playground, API requests, and internal workflows.
- Model ID
- glm-5.3-flashx
- Provider
- Zhipu
- Protocol
- Anthropic Messages · OpenAI Chat Completions
- Context window
- 1,000,000 tokens
- Max output
- 128,000 tokens
- Input tokens
- 18.5 credits / 1M tokens
- Output tokens
- 62.5 credits / 1M tokens
- Cache read
- 3.75 credits / 1M tokens
- Cache write
- -
What GLM-5.3 FlashX is
GLM-5.3 FlashX is the high-speed version of GLM-5.3-Flash, the first natively multimodal model in Z.ai's GLM-5 series. Both share one model card; FlashX is served at about 200 tokens per second, so long answers and agent loops finish sooner.
1M tokens
128K tokens per request
About 200 tokens per second, as stated by Z.ai
Text and images through the API; output is text
Always on; thinking cannot be disabled
Function calling, structured JSON output, streaming, and context caching
glm-5.3-flashx
GLM-5.3 FlashX test results
We ran these requests against the AIReiter API on 25 November 2026 with model ID glm-5.3-flashx. Token counts come from the usage field of each response.
Short answers in about 1.5 seconds
Asked for 17*23 with the number only, it returned 391 on every run in 1.1 to 1.8 seconds, using 21 to 38 output tokens including reasoning.
Streaming reasoning, then answer
With stream on, reasoning arrived first as thinking deltas and the answer followed as text deltas. The first event came after about 1.6 seconds and the full reply after 1.9 seconds.
Image input
Given a 64x64 red and blue checkerboard as base64, it answered red and blue and described the checkerboard pattern in its reasoning, in 1.7 seconds.
Prompt caching
Sending the same 4,000-token prefix twice, the second request reported cached input tokens, which are billed at the lower cached-input rate.
GLM-5.3 FlashX benchmarks
Z.ai publishes one set of scores for GLM-5.3-Flash, and FlashX is the faster serving of that model. These are the vendor's own numbers, not AIReiter measurements, so try your own prompts in the playground before moving production traffic.
DeepSWE v1.1: 63.4
Up from 46.2 on GLM-5.2, and ahead of Claude Opus 4.8 at 58.0 on this software engineering agent benchmark.
AutomationBench: 48.8
Up from 26.2 on GLM-5.2, the largest gain in Z.ai's table. Claude Opus 4.8 scores 41.0.
Terminal Bench 2.1: 84.3
Coding agents on real terminal tasks. GLM-5.2 scores 81.0 and Claude Opus 4.8 scores 85.0.
GDPVal-AA v2: 1773
Real-world professional tasks, rated as Elo. GLM-5.2 scores 1504 and Claude Opus 4.8 scores 1582.
HLE with tools: 55.3
Expert-level questions with tool use. GLM-5.2 scores 54.7 and Claude Opus 4.8 scores 57.9.
Artificial Analysis Index: 57
On Intelligence Index v4.1.1 (26 August 2026), GLM-5.3-Flash sits on the cost frontier of the 59 models compared: no cheaper model per task scores higher.
GLM-5.3 FlashX vs GLM-5.3 Flash and GLM-5.3
FlashX and Flash are the same model served at different speeds. GLM-5.3 is the larger, text-only sibling. Requests are identical apart from the model ID.
Pick FlashX for response time
Chat interfaces, agent loops with many turns, and long generations a user waits on benefit most from about 200 tokens per second.
Pick GLM-5.3 Flash for batch work
Same 320B total and 18B active parameters and the same benchmark scores, at a lower per-token price when speed matters less.
GLM-5.3 is text-only
GLM-5.3 has 355B total and 32B active parameters across 92 layers and does not accept images. FlashX has 45 layers and reads images.
Built for long context
Z.ai mixes linear and sparse attention, reporting 4.44x less KV cache and 3.01x less attention compute per layer than GLM-5.3 at 1M tokens.
Call GLM-5.3 FlashX from your code
Manage API keys →Use your AIReiter key with an existing Anthropic or OpenAI client after changing the base URL. The API tab above has ready-to-run requests.
glm-5.3-flashx
https://aireiter.com/api/v1/messages. Reasoning comes back as thinking blocks, separate from the text answer.
https://aireiter.com/api/v1/chat/completions. Reasoning comes back in reasoning_content.
Send base64 data in an image block (Messages) or an image_url part (Chat Completions).
Reasoning is billed as output and shares max_tokens, so keep max_tokens at 8,192 or higher for multi-step work.
Try GLM-5.3 FlashX in 3 steps
- 01
Ask a real task
Paste the work you actually need done, such as a stack trace with the code around it or a document to turn into JSON. FlashX streams fast enough that you can iterate on the prompt in the playground.
- 02
Leave room for reasoning
Thinking is always on and counts toward max_tokens. Keep max_tokens at 8,192 or higher for multi-step work so the answer is not cut off after the reasoning.
- 03
Copy the API call
Move the same request into your code with model ID glm-5.3-flashx on the Anthropic Messages or OpenAI-compatible endpoint. Token usage for every reply is shown under the response.
FAQ
01What is GLM-5.3 FlashX?
GLM-5.3 FlashX is Z.ai's high-speed version of GLM-5.3-Flash, served at about 200 tokens per second. It keeps the Flash model's 1M-token context, 128K output limit, always-on reasoning, and text plus image input, so the main difference is how quickly answers arrive.
02How is FlashX different from GLM-5.3 Flash?
Z.ai documents both on one model card with the same 320B total and 18B active parameters, so capability and benchmark scores are shared. FlashX is served faster, at about 200 tokens per second, and costs more per token. Requests are identical apart from the model ID.
03Can I turn off reasoning?
No. Z.ai runs GLM-5.3 FlashX with thinking always enabled, and thinking.type only accepts enabled. Reasoning tokens are billed as output. Short questions stay cheap, but leave enough max_tokens for multi-step tasks so the final answer is not truncated.
04Can GLM-5.3 FlashX read images?
Yes, through the API. Send the image as base64 data in an image block on the Messages endpoint or an image_url part on Chat Completions. In our test it named both colors of a red and blue checkerboard correctly. Image upload is turned off in this playground for now, so test vision through the API.
05Does it support tool calling and JSON output?
Yes. Z.ai lists function calling, structured output such as JSON, and streaming for GLM-5.3 FlashX. Define tools the usual way for whichever endpoint you call, Anthropic Messages or OpenAI Chat Completions, and send each tool result back with the id of the call it answers.
06Which API should I use?
Both work with the same key and model ID. We recommend the Anthropic Messages endpoint, which returns reasoning as thinking blocks and the answer as text blocks. The OpenAI-compatible Chat Completions endpoint returns the answer in content and the reasoning in reasoning_content.
07Where do I see the price?
The live price table on this page shows the current input, output, and cached-input prices per 1M tokens. Billing follows the usage returned with every response, and cached input is charged at the lower cached rate.