Free Kimi K2.6 API on Cloudflare

Free Kimi K2.6 API via Cloudflare Workers AI — frontier open-weight agentic reasoning within 10,000 free Neurons/day.

About the Model

Why use Kimi K2.6?

Kimi K2.6 is Moonshot AI's latest frontier open-weight model, tuned for agentic workflows, tool use, and long-context reasoning. It handles multi-step problem solving, coding, and complex instructions with frontier-class quality.

Languages & capabilities

Strong in both English and Chinese, with reliable function-calling and long-document understanding — a great default for assistants and autonomous agents.

Why it's free

Cloudflare Workers AI gives every account 10,000 Neurons per day at no charge — enough for hundreds of daily chat completions. Kimi K2.6 runs within that free allowance through the standard /ai/run endpoint, no extra cost.

> Note: as a partner model, you may need to accept its model terms once in your Cloudflare dashboard before the first call.

How to Access for Free (via Cloudflare Workers AI)

Free access on Cloudflare Workers AI

Call Kimi K2.6 through Cloudflare's global edge using the unified /ai/run REST endpoint. Every Cloudflare account includes 10,000 Neurons per day for free — typically hundreds of completions — so you can build and test at no cost.

Authentication (BYOK)

Use your own Cloudflare Account ID and an API token with Workers AI access via Authorization: Bearer <token>.

> As a partner model, accept its license once in your Cloudflare dashboard before the first call.

Try it in your browser

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

The model's reply will stream here.

Code Examples

curl
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/moonshotai/kimi-k2.6 \
  -H "Authorization: Bearer $CF_API_TOKEN" \
  -d '{"messages":[{"role":"user","content":"Explain quantum entanglement simply."}]}'
python
import os, requests

account = os.environ["CF_ACCOUNT_ID"]
token = os.environ["CF_API_TOKEN"]

resp = requests.post(
    f"https://api.cloudflare.com/client/v4/accounts/{account}/ai/run/@cf/moonshotai/kimi-k2.6",
    headers={"Authorization": f"Bearer {token}"},
    json={"messages": [{"role": "user", "content": "Explain quantum entanglement simply."}]},
)
print(resp.json()["result"]["response"])