Verified 2026-11-18 · rates follow the live catalog
Kimi K2.7 Code is available through the Openference catalog on the same endpoint as every other model.
| Provider | Moonshot AI (月之暗面) |
|---|---|
| Context window | 256K |
| Input / 1M tokens | $0.95 |
| Output / 1M tokens | $4 |
| Cached input / 1M tokens | — |
| Serving precision | FP8 |
A call with 50,000 input tokens and 10,000 output tokens bills at $0.087: 50,000 ÷ 1,000,000 × $0.95 for input, plus 10,000 ÷ 1,000,000 × $4 for output.
Both API formats are served from one host and one key, so a tool that speaks either works without a translation layer:
https://api.openference.com/v1/chat/completionshttps://api.openference.com/v1/messagesSet OPENAI_BASE_URL or ANTHROPIC_BASE_URL to that host and keep the client library you already use.
Send Kimi K2.7 Code in the model field. These aliases resolve to the same model: kimi k2.7 code, kimi-k2.7-code.
Capabilities: image input, tool and function calling.
Every Kimi model is compared on the Kimi API pricing page.
The rest of the catalog, with rates side by side, is on all models.
Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API