Claude Sonnet 4.6 vs GLM 4.7
Pricing, context window and real answers (August 2026)
Claude Sonnet 4.6 (Anthropic) and GLM 4.7 (Z.ai), compared as you can actually call them on FastMetal. Both are served from the same OpenAI-compatible endpoint and API key; switching is a change to the model string.
Specs and pricing
| Provider | Anthropic | Z.ai |
|---|---|---|
| Input (per 1M tokens) | ¥554.4 | ¥107.22 |
| Output (per 1M tokens) | ¥2,772 | ¥393.14 |
| Typical cost (1,000 in + 500 out tokens × 1,000 calls) | ¥1,940 | ¥304 |
| Context window | 1,000,000 tokens | 202,752 tokens |
| Release date | 2/17/2026 | 12/22/2025 |
| Input modalities | text, image | text |
| Arena · overall | #32 · ELO 1,472 | #79 · ELO 1,442 |
| Arena · Japanese | #41 · ELO 1,438 | Unranked |
| Arena · coding | #14 · ELO 1,528 | #87 · ELO 1,485 |
Prices are FastMetal's yen rates before tax. Arena ranks are as of the latest leaderboard scrape.
Which should you pick?
- On price, GLM 4.7: ¥393.14 per 1M output tokens, 86% less than Claude Sonnet 4.6.
- On the Overall arena board, Claude Sonnet 4.6 ranks higher (#32; GLM 4.7 is #79).
- On the Coding arena board, Claude Sonnet 4.6 ranks higher (#14; GLM 4.7 is #87).
- For long documents, Claude Sonnet 4.6: a 1,000,000-token context window against 202,752 for GLM 4.7.
- If in doubt, try both on the same key. Switching is a change to the model string, and each is billed at its own rate.
Real answers to the same prompts
Exactly what the FastMetal gateway returned, side by side. Not benchmark scores: actual output.
Count the number of 'r's in 'strawberry'
Count the number of 'r's in 'strawberry'. Explain your reasoning step by step.
Claude Sonnet 4.6
GLM 4.7
Debug This Error
I'm getting the following error in my Node.js application: TypeError: Cannot read properties of undefined (reading 'map') at UserList (/app/components/UserList.js:12:25) at renderWithHooks (/app/node_modules/rea…
Claude Sonnet 4.6
GLM 4.7
Code Review
Please review the following Python function and suggest improvements for readability, performance, and best practices: def get_data(url, retries=3): import requests import time for i in range(retries):…
Claude Sonnet 4.6
GLM 4.7
Frequently asked questions
- Which is cheaper, Claude Sonnet 4.6 or GLM 4.7?
- Per 1M output tokens, Claude Sonnet 4.6 is ¥2,772 and GLM 4.7 is ¥393.14 on FastMetal (yen, before tax), so GLM 4.7 is cheaper.
- How do the context windows of Claude Sonnet 4.6 and GLM 4.7 compare?
- Claude Sonnet 4.6 takes 1,000,000 tokens; GLM 4.7 takes 202,752.
- Which ranks higher, Claude Sonnet 4.6 or GLM 4.7?
- Claude Sonnet 4.6 ranks higher on the public arena (Claude Sonnet 4.6 #41, GLM 4.7 #79). Ranks move as the leaderboard updates.
- Can I use Claude Sonnet 4.6 and GLM 4.7 with the same API key?
- Yes. On FastMetal's OpenAI-compatible endpoint, switch by passing "anthropic-claude-sonnet-4-6" or "glm-4.7" as the model. Each is billed at its own rate from the same prepaid balance.
Try both on one API key
Create an account and add credit to call Claude Sonnet 4.6 and GLM 4.7 from the browser chat and the API. No monthly fee.