- Model
@cf/moonshotai/kimi-k2.6- Provider
cloudflare-workers-ai- API
openai-completions- Base URL
https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1- Input
- text, image
- Reasoning
- Yes
- Context window
- 256,000
- Max tokens
- 256,000
- Cost / million input
- $0.95
- Cost / million output
- $4
- Cost / million cache read
- $0.16
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"cloudflare-workers-ai": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "@cf/moonshotai/kimi-k2.6",
"name": "Kimi K2.6",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 256000,
"maxTokens": 256000,
"cost": {
"input": 0.95,
"output": 4,
"cacheRead": 0.16,
"cacheWrite": 0
},
"compat": {
"sendSessionAffinityHeaders": true
}
}
],
"api": "openai-completions",
"baseUrl": "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1"
}
}
}