SunsetDiff

Replacement for @cf/moonshotai/kimi-k2.5: what changes when you switch

The official replacement is @cf/moonshotai/kimi-k2.6. @cf/moonshotai/kimi-k2.5 shut down on 2026-05-30 per Cloudflare Workers AI's deprecation page (checked 2026-11-12). Price, context window, and max output were left blank because the official pages we checked did not publish them.

@cf/moonshotai/kimi-k2.5 model page · Cloudflare Workers AI

Official replacement. Full diff page

@cf/moonshotai/kimi-k2.5 to @cf/moonshotai/kimi-k2.6

Some values not published Checked 2026-11-12.

Price per 1M tokens

Price comparison. Example monthly cost for 10M input tokens and 2M output tokens. Labeled example, not a bill.
FieldOldNewChange
Input Not published Not published Not published
Output Not published Not published Not published
Cached input Not published Not published Not published
Example monthly cost Not published Not published Example only

Context and max output

Token limits
LimitOldNewChange
Context window Not published Not published Not published
Max output Not published Not published Not published

Capabilities that differ

No differing capability values are published for both models.

Endpoint changes

  • The REST API guide shows POST https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/{model} with Authorization: Bearer {API_TOKEN} and a JSON prompt. This sample only changes the model id in that path. Source

API changes

  • The changelog says requests are automatically aliased to the replacement on May 30, 2026, and that model has a higher price. Source

Code

python before
import json
import urllib.request
request = urllib.request.Request(
    "https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/moonshotai/kimi-k2.5",
    data=json.dumps({"prompt": "Where did the phrase Hello World come from"}).encode(),
    headers={"Authorization": "Bearer {API_TOKEN}", "Content-Type": "application/json"},
)
urllib.request.urlopen(request)
python after
import json
import urllib.request
request = urllib.request.Request(
    "https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/moonshotai/kimi-k2.6",
    data=json.dumps({"prompt": "Where did the phrase Hello World come from"}).encode(),
    headers={"Authorization": "Bearer {API_TOKEN}", "Content-Type": "application/json"},
)
urllib.request.urlopen(request)
typescript before
await fetch("https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/moonshotai/kimi-k2.5", {
  method: "POST",
  headers: { Authorization: "Bearer {API_TOKEN}", "Content-Type": "application/json" },
  body: JSON.stringify({ prompt: "Where did the phrase Hello World come from" }),
});
typescript after
await fetch("https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/moonshotai/kimi-k2.6", {
  method: "POST",
  headers: { Authorization: "Bearer {API_TOKEN}", "Content-Type": "application/json" },
  body: JSON.stringify({ prompt: "Where did the phrase Hello World come from" }),
});
curl before
curl https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/moonshotai/kimi-k2.5 \
  -H 'Authorization: Bearer {API_TOKEN}' \
  -d '{ "prompt": "Where did the phrase Hello World come from" }'
curl after
curl https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/moonshotai/kimi-k2.6 \
  -H 'Authorization: Bearer {API_TOKEN}' \
  -d '{ "prompt": "Where did the phrase Hello World come from" }'

Checklist

  1. Read the deprecation date for @cf/moonshotai/kimi-k2.5 on the Cloudflare changelog.
  2. The -fast and -lora variants of models remain active.
  3. Requests are automatically aliased to @cf/moonshotai/kimi-k2.6. That model has a higher price.
  4. Point the REST path at @cf/moonshotai/kimi-k2.6 and test before you send traffic.

Related models

Questions

What is the replacement for @cf/moonshotai/kimi-k2.5?

The official replacement is @cf/moonshotai/kimi-k2.6. @cf/moonshotai/kimi-k2.5 shut down on 2026-05-30 per Cloudflare Workers AI's deprecation page (checked 2026-11-12). Price, context window, and max output were left blank because the official pages we checked did not publish them.

Is @cf/moonshotai/kimi-k2.6 cheaper than @cf/moonshotai/kimi-k2.5?

A full price comparison is not published. One or both prices are missing from the official pages we checked.

Does @cf/moonshotai/kimi-k2.6 have a bigger context window than @cf/moonshotai/kimi-k2.5?

Context window sizes are not both published on the official pages we checked.

Sources

Deprecation alerts

We email you before models shut down. Unsubscribe anytime.

Deprecation alert signup
Providers (optional)