Comparisons

Kimi K2.7 Code vs GLM 4.7 FP8

On provider list prices, GLM 4.7 FP8 costs $0.45 per million input tokens against $0.95 for Kimi K2.7 Code: 2.1x apart. Output is $2 against $4 (2.0x). On Allocate both bill at list plus the 7% transaction fee.

Kimi K2.7 CodeG GLM 4.7 FP8
LabMoonshot AIZai Org
AccessOpen weightsOpen weights
Context window256K tokens198K tokens
List price, input$0.95 / M tokens$0.45 / M tokens
List price, output$4 / M tokens$2 / M tokens
Cached input$0.19 / M tokensn/a
LicenseNot listedMIT
Fine-tunableYesYes

Specifications and provider list prices from the Allocate catalog, checked 2026-07-08. Billed price is list plus the 7% transaction fee.

What the numbers say

Take 1,000,000 requests a month at 1,200 input and 350 output tokens each. That workload costs $1,240 a month on GLM 4.7 FP8 and $2,540 on Kimi K2.7 Code at list: a gap of $1,300, or 2.0x.

Kimi K2.7 Code reads 256K tokens per request against 198K for GLM 4.7 FP8, 1.3x the window. That decides which one can take whole documents without splitting them.

GLM 4.7 FP8$0.45$2
Kimi K2.7 Code$0.95$4
InputOutput

Choose Kimi K2.7 Code for

  • The longer context window (256K vs 198K tokens)
  • Published cached-input pricing ($0.19 per M tokens)
Kimi K2.7 Code details

Choose GLM 4.7 FP8 for

  • The lower list price ($0.45 in / $2 out per M tokens)
  • Fine-tuning under a permissive license (MIT)
GLM 4.7 FP8 details

Common questions

Which is cheaper, Kimi K2.7 Code or GLM 4.7 FP8?

GLM 4.7 FP8, on this workload shape. At list prices it is $0.45/$2 per million tokens in and out against $0.95/$4 for Kimi K2.7 Code. Billed on Allocate: $0.48/$2.14 against $1.02/$4.28, list plus 7%.

Which has the bigger context window?

Kimi K2.7 Code: 262,144 tokens (256K) against 202,752 (198K) for GLM 4.7 FP8.

Can I fine-tune Kimi K2.7 Code or GLM 4.7 FP8?

Both publish open weights (Kimi K2.7 Code: Not listed; GLM 4.7 FP8: MIT), so both can be fine-tuned. On Allocate the trained weights stay inside your boundary and belong to you.

Related comparisons

Run the numbers on your workload

Or don’t choose. On Allocate a route name is the contract: point yours at one model today, swap to the other tomorrow, and compare them on your live traffic with per-token metering.