跳到正文
DEV Community· Shaam·· 3 小時前AI 評分64

Claude Sonnet 5 與 GLM-5.3 價格比較:GLM-5.3 標價較低

Claude Sonnet Price vs GLM-5.3: GLM Wins on Cost

AI 導讀

GLM-5.3 的 API 標價低於 Claude Sonnet 5 和 Sonnet 5.5,每百萬輸入及輸出 token 分別收費 $1.40 和 $4.40;Sonnet 則為 $2 和 $10。

正文

Verdict: GLM-5.3 is the cheaper model for most coding work, and it wins on list rates. The claude sonnet price is $2 per million input tokens and $10 per million output tokens, while GLM-5.3 is $1.40 input and $4.40 output. Sonnet narrows the gap only when your workload leans heavily on prompt caching, and it keeps a clear budgeting advantage because Anthropic has made its rate permanent.

Last verified: 3 November 2026.

TL;DR

  • Claude Sonnet 5 and 5.5 list at $2 / $10 per million tokens; GLM-5.3 lists at $1.40 / $4.40.
  • For a coding agent using 80M input and 20M output tokens a month, GLM-5.3 comes to $200 against $360 for Sonnet 5 before any caching.
  • Heavy caching narrows the difference, but GLM-5.3 stays cheaper in the scenario below.
  • DeepSeek is cheaper again, and Kimi K3.1 Pro matches Sonnet's rate exactly.
  • A split setup works best: Sonnet for the hardest agentic tasks, GLM-5.3 or DeepSeek for routine volume.

What is the Claude Sonnet price in 2026?

Claude Sonnet 5 launched on 30 June 2026 with introductory pricing, and Anthropic's changelog later confirmed that $2 input and $10 output per million tokens is now permanent. Sonnet 5.5, released on 28 September, keeps the same $2 / $10 rates and halves cache reads to $0.10 per million tokens. Anthropic also says it needs fewer tokens for the same task, by up to 30% per task according to its own figures.

Other levers matter for real bills. Per the BenchLM tracker of Anthropic's list prices, Sonnet 5 charges $2.50 per million for five-minute cache writes, $4 for one-hour writes and $0.20 for cache reads, and the Batch API halves the rates to $1 input and $5 output. For a deeper look at charges that sit outside the headline rate, see our piece on Claude Sonnet 5 pricing and hidden costs.

How much does GLM-5.3 cost by comparison?

GLM-5.3 is Zhipu's open-weights flagship, and Z.ai lists it at $1.40 per million input tokens, $0.26 cached input and $4.40 per million output. Third-party trackers such as LLM Reference and SayGM show that GLM 5.1, 5.2 and 5.3 have shared one list rate since April 2026. The weights are MIT-licensed, so independent hosts can serve the model at or below that rate.

Z.ai also sells a subscription route. Its GLM Coding Plan starts at $18 per month with 2,000 credits per five hours. Quality is a separate question, and our Sonnet 5 vs GLM-5.2 coding comparison covers how the two behave on real tasks.

What does a month of coding-agent usage cost?

Take one scenario: a coding agent consuming 80M input and 20M output tokens a month. The arithmetic below uses each vendor's list rate, and the Rs column uses USD 1 = Rs 94.93, the 3 November rate.

Model Calculation USD per month INR per month Rate source
Claude Sonnet 5 (list) 80 x $2 + 20 x $10 $360 Rs 34,174 Anthropic
GLM-5.3 80 x $1.40 + 20 x $4.40 $200 Rs 18,986 Z.ai
DeepSeek V4-Pro (off-peak) 80 x $0.66 + 20 x $1.98 $92.40 Rs 8,767 DeepSeek
DeepSeek V4.1-Flash (off-peak) 80 x $0.15 + 20 x $0.60 $24 Rs 2,278 DeepSeek

On these inputs GLM-5.3 is about 44% cheaper than Sonnet 5 list, a saving of $160 a month (derived from the Anthropic and Z.ai rates). DeepSeek's V4-Pro and V4.1-Flash prices apply off-peak, and peak hours (01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays) cost double. For a wider provider view, see Gemini vs Claude API pricing and DeepSeek V4-Pro's cost against frontier models.

Does prompt caching close the Claude Sonnet price gap?

Partly. Agents re-read the same files and instructions repeatedly, and Sonnet's cache reads cost $0.20 per million tokens. If 70% of the 80M input tokens are cache reads and the remaining 30% are billed at the base $2 (a simplification that ignores cache-write premiums), effective input falls to $0.74 per million. That puts the month at about $259 on Sonnet 5, using Anthropic's rates and BenchLM's cache figures. On Sonnet 5.5, where cache reads are $0.10, the same pattern lands near $254.

GLM-5.3 remains cheaper at $200 per Z.ai's list, and that figure applies no cache discount at all, so the real gap is smaller than the uncached comparison suggests but not closed. Caching is the one area where Anthropic's economics are clearly better than Z.ai's $0.26 cached input.

Where does Sonnet still earn its rate?

Three places. First, rate certainty: Anthropic has declared the $2 / $10 rate permanent, which makes forecasting simple. Second, effort levels: Anthropic positions Sonnet 5 as close to Opus 4.8 on agentic work at a lower price, and lets you trade cost for capability per request. Third, hard multi-step tasks, where one failed run costs more in engineer time than the token saving. For a three-way benchmark, see Gemini 3.7 Flash vs Sonnet 5 vs GPT-5.6.

There is also a market point. Kimi K3.1 Pro is priced at the same $2 / $10, as reported by Fello AI, so a closed-model premium at the API layer no longer exists across the board.

How do you switch part of your traffic to GLM-5.3?

  1. Create a Z.ai key and point an OpenAI-compatible client at the base URL given in the Z.ai documentation, changing only the model name.
  2. Run your own regression tasks on both models and compare pass rates, not only price.
  3. Keep Sonnet for the hardest tenth of tasks, and route routine volume to GLM-5.3 or DeepSeek, which offers an Anthropic-compatible endpoint so Claude Code can switch via base URL and key.
  4. Schedule bulk DeepSeek jobs off-peak, and note that paid Search and Fetch billing began on 1 November at $0.75 per 1,000 successful requests each.

FAQ

Q: What is the current Claude Sonnet price per million tokens?
A: Sonnet 5 and Sonnet 5.5 both list at $2 input and $10 output per million tokens, and Anthropic has said the Sonnet 5 rate is permanent.

Q: Is GLM-5.3 cheaper than Claude Sonnet?
A: Yes on list rates. GLM-5.3 costs $1.40 input and $4.40 output per million tokens, against Sonnet's $2 and $10.

Q: Does prompt caching make Claude cheaper than GLM-5.3?
A: Not in the scenario above. Even with 70% cache reads, Sonnet came to about $259 per month against GLM-5.3's $200, based on Anthropic, BenchLM and Z.ai rates.

Q: How much is the monthly saving in rupees?
A: At Rs 94.93 per dollar, the example workload costs Rs 18,986 on GLM-5.3 against Rs 34,174 on Sonnet 5 list, using the Z.ai and Anthropic rates.

Q: Can I use GLM-5.3 with Claude Code?
A: Z.ai offers an OpenAI-compatible endpoint, and its Coding Plan targets coding tools. DeepSeek offers an Anthropic-compatible endpoint, which is the simpler route for Claude Code, so test your own workflow before committing.

來源:DEV Community · dev.to