Model comparison

GLM 4.7 vs Kimi K2.7 Code

Pricing, context window and real answers (October 2026)

GLM 4.7 (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 4.7moonshotai logoKimi K2.7 Code
ProviderZ.aiMoonshot
Input (per 1M tokens)$0.422$0.3505
Output (per 1M tokens)$1.85$3.38
Typical cost (1,000 in + 500 out tokens × 1,000 calls)$1.35$2.04
Context window202,752 tokens262,144 tokens
Release date12/22/20256/12/2026
Input modalitiestexttext, image
Throughput (p50)—139 tokens/s (n=24)
Arena · overall#94 · ELO 1,441Unranked
Arena · Japanese#46 · ELO 1,439Unranked
Arena · coding#104 · ELO 1,484Unranked

Prices are FastMetal's rates, before tax.

Rankings: LMArena leaderboard dataset (lmarena-ai/leaderboard-dataset), CC BY 4.0, snapshot 2026-10-08; category names mapped and ratings rounded by FastMetal.

Which should you pick?

  • On price, GLM 4.7: $1.85 per 1M output tokens, 45% less than Kimi K2.7 Code.
  • For long documents, Kimi K2.7 Code: a 262,144-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.

Frequently asked questions

Which is cheaper, GLM 4.7 or Kimi K2.7 Code?
Per 1M output tokens, GLM 4.7 is $1.85 and Kimi K2.7 Code is $3.38 on FastMetal (US dollars, before tax), so GLM 4.7 is cheaper.
How do the context windows of GLM 4.7 and Kimi K2.7 Code compare?
GLM 4.7 takes 202,752 tokens; Kimi K2.7 Code takes 262,144.
Can I use GLM 4.7 and Kimi K2.7 Code with the same API key?
Yes. On FastMetal's OpenAI-compatible endpoint, switch by passing "glm-4.7" 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 4.7 and Kimi K2.7 Code from the browser chat and the API. No monthly fee.

More comparisons with GLM 4.7

More comparisons with Kimi K2.7 Code