Skip to content

Providers / Kimi For Coding (kimi.ai) · All access methods for moonshotai/kimi-k2.8-preview

kimi-for-coding

kimi-code-plan-global/kimi-for-coding Subscription models.dev2026-11-17

Type chat · Released 2026-09-11

Input window
1,048,576 tokensdocumented
models.dev · 2026-11-17
Input and output together
Context window
1,048,576 tokens
Exposed by this provider
Maximum output
32,768 tokens
Per response; not a default
Cache lifetime, short
Unknown
Not documented or measured
Cache lifetime, long
Unknown
Not documented or measured

Limits

Input window

LimitValueSource
Input window
input_window: the most input one request can carry on this entry, in tokens as the provider counts them.
1,048,576 tokensdocumentedInput and output togethermodels.dev2026-11-17
Documented
The figure the source documents, and the field it is in.
1,048,576 tokenslimit.contextmodels.dev2026-11-17
Measured
What each limit evaluation that counts gives, one line per evaluation.
Not measured–

How the input window is worked out, and what it does not say

Documented

LimitValueSource
Context window
limit.context: what this provider accepts for the model, input and output together.
1,048,576 tokensmodels.dev
Largest input
limit.input: stated where the input limit is lower than the context window.
Unknown–
Maximum output
limit.output: the most one response can hold. A maximum, not what you get by default.
32,768 tokensmodels.dev

Measured tokens

DateMeasured throughContextInput acceptedInput refusedOutput limitRequested output acceptedEvidence
No limits were measured on this entry.

Price

Base chargeRate
InputIn plan
OutputIn plan
Reasoning outputIn plan
Cache readIn plan
Cache writeIn plan

Conditional rates

ConditionChargeRateApplies to
Not applicable: the entry has no price per token.

Source: models.dev 2026-11-17

Other prices in the source, not shown above (0)

None

Request controls

ControlSupportRequest fieldAccepted valuesDefaultConditions
Service tierUnknownUnknownUnknownUnknownUnknown

Source: Unknown

Prompt caching

Lifetimes

Every cache lifetime of this entry, by retention
LifetimeDocumented for, or measured throughTime since the prompt was cached · served from the cache, in percent, with hits/checks
At once2.5 min5 min7.5 min10 min15 min20 min25 min30 min40 min50 min1 h1 h 151 h 302 h4 h8 h12 h24 h
Short retention
Safe lifetime
Unknown
Documented
Not documented
Measured
Not measured
Inside the documented lifetime
Not applicable
Long retention
Safe lifetime
Unknown
Documented
Not documented
Measured
Not measured
Inside the documented lifetime
Not applicable

Checks served from the cache, in percent and as hits/checks, by time since the prompt was cached100 All67 Half or more33 Fewer0 None· Not checked at that ageMethodology

Cache modes

ModeSupportedMin. tokensBreakpointsTargets
Automatic implicit Supported Unknown Not applicable Not applicable
Manual explicit Unknown Unknown Unknown Unknown

Source: models.dev · Cache modes

Retention

ControlSupportRequest fieldAccepted valuesDefaultConditions
Cache retentionUnknownUnknownUnknownUnknownUnknown

Source: Unknown

Provenance

ProvenanceValue
Sourcemodels.dev2026-11-17
Inherited fromNone
CorrectionsNone
EvidenceNone

Data

GET /api/v1/entries/kimi-code-plan-global/kimi-for-coding

Show the full entry as published
{
  "id": "kimi-for-coding",
  "name": "kimi-for-coding",
  "description": "Kimi coding model with more efficient thinking and up to 1M context, available through Kimi Code",
  "type": "chat",
  "family": "kimi-k2",
  "canonical_id": "moonshotai/kimi-k2.8-preview",
  "release_date": "2026-09-11",
  "limit": {
    "context": 1048576,
    "output": 32768
  },
  "capabilities": {
    "cache": {
      "implicit": true
    },
    "temperature": false,
    "top_k": false,
    "top_p": false,
    "prompt_cache_key": true,
    "system_updates": false,
    "effort_updates": false,
    "tools": {
      "supported": true
    },
    "reasoning": {
      "supported": true,
      "effort": [
        "none",
        "low",
        "high",
        "max"
      ],
      "default": {
        "type": "effort",
        "value": "max"
      }
    }
  },
  "cost": {
    "text": {
      "input": {
        "price": 0,
        "cache": {
          "read": 0,
          "write": 0
        }
      },
      "output": {
        "price": 0
      }
    }
  },
  "modalities": {
    "input": [
      "text",
      "image/jpeg",
      "image/png",
      "image/gif",
      "image/webp",
      "image/bmp",
      "image/heic",
      "image/heif",
      "video/mp4",
      "video/mpeg",
      "video/mov",
      "video/avi",
      "video/x-flv",
      "video/mpg",
      "video/webm",
      "video/wmv",
      "video/3gpp"
    ],
    "output": [
      "text"
    ]
  },
  "api": {
    "chat-completions": {
      "base_url": "https://api.kimi.ai/coding/v1",
      "sdk": {
        "aisdk": "@ai-sdk/openai-compatible",
        "opencodeai": "@opencode/ai/providers/moonshot/chat"
      },
      "capabilities": {
        "system_updates": true,
        "tools": {
          "updates": true
        }
      },
      "compatibility": {
        "reasoning_field": "reasoning_content"
      }
    },
    "responses": {
      "base_url": "https://api.kimi.ai/coding/v1",
      "sdk": {
        "aisdk": "@ai-sdk/openai",
        "opencodeai": "@opencode/ai/providers/moonshot/responses"
      },
      "capabilities": {
        "tools": {
          "updates": false
        }
      }
    },
    "messages": {
      "base_url": "https://api.kimi.ai/coding/v1",
      "sdk": {
        "aisdk": "@ai-sdk/anthropic",
        "opencodeai": "@opencode/ai/providers/moonshot/messages"
      },
      "capabilities": {
        "tools": {
          "updates": false
        }
      }
    }
  },
  "open_weights": false,
  "last_updated": "2026-09-11",
  "providers_dev": {
    "origin": "upstream",
    "access": "subscription",
    "provenance": [],
    "inherited": null,
    "cache": {
      "documented": {
        "support": "supported",
        "modes": {
          "implicit": {
            "support": "supported",
            "min_tokens": null,
            "max_breakpoints": null,
            "targets": null
          },
          "explicit": {
            "support": "unknown",
            "min_tokens": null,
            "max_breakpoints": null,
            "targets": null
          }
        }
      },
      "retention": {
        "support": "unknown",
        "parameter": null,
        "accepted_values": null,
        "default": null,
        "profiles": [],
        "conditions": [],
        "evidence": []
      },
      "lifetime": {
        "short": {
          "safe_s": null,
          "basis": "none",
          "source": null,
          "date": null,
          "documented_s": null,
          "measured_s": null,
          "documented_status": null,
          "clients": 0,
          "evaluations": 0,
          "checks": 0,
          "hits": 0,
          "checks_inside": null,
          "hits_inside": null,
          "tested_from_s": null,
          "first_miss_s": null
        },
        "long": {
          "safe_s": null,
          "basis": "none",
          "source": null,
          "date": null,
          "documented_s": null,
          "measured_s": null,
          "documented_status": null,
          "clients": 0,
          "evaluations": 0,
          "checks": 0,
          "hits": 0,
          "checks_inside": null,
          "hits_inside": null,
          "tested_from_s": null,
          "first_miss_s": null
        },
        "lifetimes": []
      },
      "evaluations": []
    },
    "pricing": {
      "coverage": "not_applicable",
      "billing": "not_applicable",
      "reference_ref": null,
      "rules": null,
      "rule_order": null,
      "unparsed": [],
      "evidence": [
        {
          "kind": "documented",
          "url": "https://models.dev",
          "date": "2026-11-17",
          "note": "The source lists a price of 0 for this entry, which is a subscription: no price per token is published."
        }
      ]
    },
    "request_controls": {
      "coverage": "unknown",
      "items": [
        {
          "id": "cache.retention",
          "support": "unknown",
          "when": null,
          "bindings": null,
          "options": null,
          "default": null,
          "conditions": [],
          "evidence": []
        },
        {
          "id": "service_tier",
          "support": "unknown",
          "when": null,
          "bindings": null,
          "options": null,
          "default": null,
          "conditions": [],
          "evidence": []
        }
      ]
    },
    "limits": {
      "measured": [],
      "from_measurement": [],
      "input_window": {
        "tokens": 1048576,
        "basis": "documented",
        "bound": "limit",
        "scope": "window",
        "source": "models.dev",
        "date": "2026-11-17",
        "documented_tokens": 1048576,
        "documented_field": "limit.context",
        "documented_source": "models.dev",
        "documented_date": "2026-11-17",
        "documented_status": null,
        "measured_tokens": null,
        "measured_bound": null,
        "measured_kind": null,
        "measured_refused": null,
        "measured_date": null,
        "clients": 0,
        "evaluations": 0,
        "measurements": []
      }
    },
    "evidence": [],
    "verified": null
  }
}