inference-providers

Kimi for Coding

subscription

DocsConsole

Getting credentials

plan-key

api_key via header (header Authorization: Bearer)

Create keys in the Kimi Code Console (shown once). For Claude Code: ANTHROPIC_BASE_URL=https://api.kimi.com/coding/ and ANTHROPIC_API_KEY=<coding key>.

Credentials docs

Endpoints

IDURLProtocolAuth
coding-openaihttps://api.kimi.com/coding/v1/chat/completionsopenai-chatany
coding-anthropichttps://api.kimi.com/codinganthropic-messagesany

API surfaces

textstreaming

Plan

Price
$19 / monthly
Quota
Kimi Code has its own rolling 5-hour + weekly limits plus shared agent credits (60/150/360/720 by tier); concurrency-limited
Notes
Included with Kimi membership — tiers Moderato $19, Allegretto $39, Allegro $99, Vivace $199 (annual discounts); K3 access from Moderato up. Coding keys are distinct from Open Platform keys and never interchangeable (top 401 cause).
Docs
https://www.kimi.ai/help/membership/membership-pricing

Quirks

Models offered

ModelWire IDEndpointStatusReasoning
moonshot/kimi-k2-7-codekimi-for-coding-highspeedcoding-openaigatoggle · default on · mandatory · returns reasoning_content · round-trips reasoning_content
moonshot/kimi-k2-7-codekimi-for-codingcoding-openaigatoggle · default on · mandatory · returns reasoning_content · round-trips reasoning_content
moonshot/kimi-k3k3-256kcoding-anthropicgaalways_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content
moonshot/kimi-k3k3coding-openaigaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content