GLM-5.3 vs Claude Opus 5.5
On a typical coding-agent task, GLM-5.3 costs $0.92 and Claude Opus 5.5 costs $1.96, so GLM-5.3 is 53% cheaper. GLM-5.3 solves 95.4% of real GitHub issues on SWE-bench Verified, close to the best closed model, at half the price.
Price per million tokens
| Tokens | GLM-5.3 | Claude Opus 5.5 |
|---|---|---|
| Input | $1.40 | $4.00 |
| Cached input | $0.26 | $0.20 |
| Output | $4.40 | $20.00 |
Where the difference comes from
A typical coding-agent task uses 2M input tokens, 1.8M of them read from the cache, and 40K output tokens. Here is what each part costs.
| Part of the task | GLM-5.3 | Claude Opus 5.5 |
|---|---|---|
| New input | $0.28 | $0.80 |
| Cached input | $0.47 | $0.36 |
| Output | $0.18 | $0.80 |
| Per task | $0.92 | $1.96 |
When to choose GLM-5.3
- Your agent lives in the terminal. GLM-5.3 is second among the open models on coding, at 95.4% against Claude Opus 5 at 97.0% for the best closed model.
- Output is a big part of your bill. GLM-5.3 charges $4.40 per million output tokens against $20 on Opus 5.5.
- You want about half the cost per task without dropping to a small model.
When Claude Opus 5.5 may still fit
- Your agent needs very long context on every turn. Check GLM-5.3's limit against your largest sessions.
- Your tasks depend on behaviour you've tuned specifically for Claude. Run your own tasks on both first.
Switch in one line
Point your agent at The Inference Company and set the model to glm-5.3.
# Claude Code export ANTHROPIC_BASE_URL="https://api.theinferencecompany.si" export ANTHROPIC_AUTH_TOKEN="$TIC_API_KEY" export ANTHROPIC_MODEL="glm-5.3" # Any OpenAI client client = OpenAI(base_url="https://api.theinferencecompany.si/v1", api_key=TIC_API_KEY) client.chat.completions.create(model="glm-5.3", messages=messages)
Common questions
Is GLM-5.3 cheaper than Claude Opus 5.5?
Yes. On a typical coding-agent task, GLM-5.3 costs $0.92 and Claude Opus 5.5 costs $1.96, so GLM-5.3 is 53% cheaper.
Can I use GLM-5.3 with Claude Code?
Yes. Set ANTHROPIC_BASE_URL to https://api.theinferencecompany.si, ANTHROPIC_AUTH_TOKEN to your API key and ANTHROPIC_MODEL to glm-5.3. Claude Code then runs on GLM-5.3 with no other changes.
How is the $0.92 per task worked out?
A typical coding-agent task uses 2M input tokens, 1.8M of them read from the cache, and 40K output tokens. Each model's price per million tokens is applied to those counts.