FastMetal homeFastMetal
  • Chat
  • Studio
    • Image StudioMake images from text or photos
    • Video StudioMake videos of a person in a photo dancing or talking
    • AudioMake music and sound effects from one line of text
  • Ads
  • API
    • API docsEndpoints and authenticationhttps://api.fastmetal.ai/v1
    • AI gatewayOpenAI-compatible and Anthropic-compatible API
    • MCP serverUse from agents such as Claude Code
  • Pricing
  • Blog
Sign inSign up
  • Chat
  • Studio

    • Image StudioMake images from text or photos
    • Video StudioMake videos of a person in a photo dancing or talking
    • AudioMake music and sound effects from one line of text
  • Ads
  • API

    • API docsEndpoints and authenticationhttps://api.fastmetal.ai/v1
    • AI gatewayOpenAI-compatible and Anthropic-compatible API
    • MCP serverUse from agents such as Claude Code
  • Pricing
  • Blog
Sign inSign up
30% off, limited timeDeepSeek V4.1 Flash 1017, run in Japan, is 30% off until December 4 (JST)See details

GLM 5.4 vs Kimi K2.7 Code

Pricing, context window and real answers (December 2026)

GLM 5.4 (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

ProviderZ.aiMoonshot
Input (per 1M tokens)$1.26$0.3505
Output (per 1M tokens)$3.95$3.38
Typical cost (1,000 in + 500 out tokens × 1,000 calls)$3.23$2.04
Context window1,048,576 tokens262,144 tokens
Release date12/2/20266/12/2026
Input modalitiestext, image, videotext, image
Throughput (p50)

For developers and AI agents

API docs
Base URL
https://api.fastmetal.ai/v1
MCP server
https://mcp.fastmetal.ai/mcp
  • llms.txt
  • MCP guide
  • Products
  • Pricing and models
  • Developers
  • Comparisons
  • Support and account
  • Pricing
  • Models
  • Model comparisons
  • Rankings by use case
  • Compare services
  • API docs
  • For business
  • Contact
FastMetal homeFastMetal
  • Terms of service
  • Privacy policy
  • Company information
  • Sites built with AI
  • Sitemap

© 2026 FastMetal

—
91 tokens/s (n=27)
Arena · overallUnrankedUnranked
Arena · JapaneseUnrankedUnranked
Arena · codingUnrankedUnranked

Prices are FastMetal's rates, before tax.

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

Which should you pick?

  • On price, Kimi K2.7 Code: $3.38 per 1M output tokens, 14% less than GLM 5.4.
  • For long documents, GLM 5.4: a 1,048,576-token context window against 262,144 for Kimi K2.7 Code.
  • 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.4 or Kimi K2.7 Code?
Per 1M output tokens, GLM 5.4 is $3.95 and Kimi K2.7 Code is $3.38 on FastMetal (US dollars, before tax), so Kimi K2.7 Code is cheaper.
How do the context windows of GLM 5.4 and Kimi K2.7 Code compare?
GLM 5.4 takes 1,048,576 tokens; Kimi K2.7 Code takes 262,144.
Can I use GLM 5.4 and Kimi K2.7 Code with the same API key?
Yes. On FastMetal's OpenAI-compatible endpoint, switch by passing "glm-5.4" 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.4 and Kimi K2.7 Code from the browser chat and the API. No monthly fee.

More comparisons with GLM 5.4

More comparisons with Kimi K2.7 Code

Model comparison
z-ai logoGLM 5.4
moonshotai logoKimi K2.7 Code
Create a free account
Try GLM 5.4 in chat
Try Kimi K2.7 Code in chat
GLM 5.4 vs Claude Opus 5
GLM 5.4 vs Claude Sonnet 5
GLM 5.4 vs Claude Sonnet 5.5
GLM 5.4 vs Claude Fable 5.1
GLM 5.4 vs Claude Fable 5
GLM 5.4 vs Claude Opus 4.8
GLM 5.4 details
Kimi K2.7 Code vs Claude Opus 5
Kimi K2.7 Code vs Claude Sonnet 5
Kimi K2.7 Code vs Claude Sonnet 5.5
Kimi K2.7 Code vs Claude Fable 5.1
Kimi K2.7 Code vs Claude Fable 5
Kimi K2.7 Code vs Claude Opus 4.8
Kimi K2.7 Code details