Provider API
Kimi (Moonshot AI) API: model pricing and setup
EasyAPI currently lists 4 public Kimi (Moonshot AI) models. Call them with one API key and one base URL; usage is deducted from your balance and no subscription is required.
Kimi (Moonshot AI) models and prices
4 models with public pricing · CNY
| Model | Input | Output |
|---|---|---|
| kimi-k2.7-codeMoonshot AI | ¥4.1564 / M | ¥17.2648 / M |
| kimi-k3Moonshot | ¥14.7563 / M | ¥73.7814 / M |
| kimi-k3.1-proMoonshot AI | ¥10.4 / M | ¥54.4 / MConditional rates — view model details |
| kimi-k3.1-pro-highspeedMoonshot AI | ¥20.8 / M | ¥108.8 / MConditional rates — view model details |
Catalog snapshot:
Rates shown are for the public group. Caching, context tiers and resolution can change the final charge; check the model page and your usage record.
How to connect to the Kimi (Moonshot AI) API
- Create a EasyAPI account and generate an API token in the console.
- Set the base URL to https://token.easyapi.com/v1 and use a model name from the price table above.
- Send one small request, check the response and the usage record, then move real traffic.
Request example
Example model: kimi-k2.7-code
curl https://token.easyapi.com/v1/chat/completions \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kimi-k2.7-code","messages":[{"role":"user","content":"Reply with one short greeting."}],"stream":false}'Kimi (Moonshot AI) API questions
- How is the Kimi (Moonshot AI) API billed?
- Pay as you go, with no subscription. Current public rates: kimi-k2.7-code ¥4.1564 / M; kimi-k3 ¥14.7563 / M; kimi-k3.1-pro ¥10.4 / M. See the price table on this page for all rates and conditions.
- Can I call Kimi (Moonshot AI) with the OpenAI SDK?
- For chat models, yes: set base_url to https://token.easyapi.com/v1, use a EasyAPI token as api_key and a catalog model name as model. For image, video and audio models, follow the endpoint and parameters on each model page.
- Is EasyAPI operated by Kimi (Moonshot AI)?
- No. EasyAPI is a third-party model API platform (often called an API gateway or relay) that offers models from Kimi (Moonshot AI) and other providers through one interface. Available models and prices are those in this public catalog.
- How do I start using the Kimi (Moonshot AI) API?
- Create a EasyAPI account, generate an API token and top up your balance. You can also try a model in the online playground first and then copy the example.