Kimi models and API prices
This page lists all Moonshot models you can call with one relay.fast key. The tables are built from the live catalog, so the prices and the model list are current.
Kimi API prices
Prices checked from the live catalog. "From" is the lowest price among the relay.fast sources that currently serve the model. The price you pay depends on the source your request uses and can change on any day. The pricing page always shows current values.
| Model | Model ID | Official input / output per 1M tokens | relay.fast from, input / output | Cache read from | Context |
|---|---|---|---|---|---|
| Kimi K2.7 Code | kimi-k2.7-code | $0.95 / $4 | $0.19 / $0.8 (−80%) | $0.038 | 256K |
| Kimi K2.7 Code Highspeed | kimi-k2.7-code-highspeed | $1.9 / $8 | $0.38 / $1.6 (−80%) | $0.076 | 256K |
| Kimi K3 | kimi-k3 | $3 / $15 | $0.15 / $0.75 (−95%) | $0.015 | 1.05M |
| Kimi K3.1 Pro | kimi-k3.1-pro | $2 / $10 | $0.32 / $1.6 (−84%) | $0.032 | 1.05M |
Specifications
Release month, limits and features are as published by Moonshot.
| Model | Released | Context | Max output | Input | Features |
|---|---|---|---|---|---|
| Kimi K2.7 Code | June 2026 | 256K | — | text, images | tool calling, reasoning, structured output, image input, prompt caching |
| Kimi K3 | July 2026 | 1.05M | — | text, images, video | tool calling, reasoning, structured output, image input, prompt caching |
| Kimi K3.1 Pro | October 2026 | 1.05M | — | text, images, video | tool calling, reasoning, structured output, image input, prompt caching |
Example request
Keep the key in the RELAY_FAST_API_KEY environment variable. Any model ID from the table works in the same request.
curl https://relay.fast/v1/chat/completions \
-H "Authorization: Bearer $RELAY_FAST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kimi-k2.7-code","messages":[{"role":"user","content":"Hello"}]}'How to connect
Create a relay.fast account, add funds and generate an API key. OpenAI-compatible clients use the base URL https://relay.fast/v1. Anthropic-compatible clients use https://relay.fast with the Messages API. Requests are charged to your balance for the tokens or units they use.
There are setup guides for the coding tools Claude Code, Codex, Cursor, Cline and OpenCode. Each model name in the tables links to its own page with prices, limits and an example request.
How pricing works
The official price is the list price published by Moonshot. The relay.fast price depends on the source a request uses, and the tables show the lowest current price. Prices and the model list can change at any time, so check the pricing page before you plan a budget.
Frequently asked questions
Do I need an account with Moonshot to use Kimi models here?
No. You use a relay.fast account and API key. relay.fast is an independent API gateway and is not affiliated with Moonshot.
Can I keep my existing SDK or coding tool?
Yes, if it lets you set a custom base URL and key. Point it at relay.fast and pick a model ID from the tables.
Where is the full list of models and prices?
The pricing page at https://relay.fast/pricing lists every model. The same data is available as JSON at https://relay.fast/pricing.json.