@cf/moonshotai/kimi-k2.5 to @cf/moonshotai/kimi-k2.6
Some values not published Checked 2026-11-12.
Price per 1M tokens
| Field | Old | New | Change |
|---|---|---|---|
| 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
| Limit | Old | New | Change |
|---|---|---|---|
| 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
- Read the deprecation date for @cf/moonshotai/kimi-k2.5 on the Cloudflare changelog.
- The -fast and -lora variants of models remain active.
- Requests are automatically aliased to @cf/moonshotai/kimi-k2.6. That model has a higher price.
- Point the REST path at @cf/moonshotai/kimi-k2.6 and test before you send traffic.