Model comparison

GLM 5.1 vs Kimi K2.7 Code

Pricing, context window and real answers (August 2026)

GLM 5.1 (Z.ai) and Kimi K2.7 Code (Moonshot), 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

z-ai logoGLM 5.1moonshotai logoKimi K2.7 Code
ProviderZ.aiMoonshot
Input (per 1M tokens)¥250.18¥55
Output (per 1M tokens)¥786.28¥530
Typical cost (1,000 in + 500 out tokens × 1,000 calls)¥643¥320
Context window204,800 tokens262,144 tokens
Release date4/7/20266/12/2026
Input modalitiestexttext, image
Arena · overall#41 · ELO 1,466Unranked
Arena · Japanese#49 · ELO 1,430Unranked
Arena · coding#36 · ELO 1,514Unranked

Prices are FastMetal's yen rates before tax. Arena ranks are as of the latest leaderboard scrape.

Which should you pick?

  • On price, Kimi K2.7 Code: ¥530 per 1M output tokens, 33% less than GLM 5.1.
  • For long documents, Kimi K2.7 Code: a 262,144-token context window against 204,800 for GLM 5.1.
  • 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.

Frequently asked questions

Which is cheaper, GLM 5.1 or Kimi K2.7 Code?
Per 1M output tokens, GLM 5.1 is ¥786.28 and Kimi K2.7 Code is ¥530 on FastMetal (yen, before tax), so Kimi K2.7 Code is cheaper.
How do the context windows of GLM 5.1 and Kimi K2.7 Code compare?
GLM 5.1 takes 204,800 tokens; Kimi K2.7 Code takes 262,144.
Can I use GLM 5.1 and Kimi K2.7 Code with the same API key?
Yes. On FastMetal's OpenAI-compatible endpoint, switch by passing "glm-5.1" or "japan-kimi-k2.7-code" 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 GLM 5.1 and Kimi K2.7 Code from the browser chat and the API. No monthly fee.

More comparisons with GLM 5.1

More comparisons with Kimi K2.7 Code