/v1/chat/completions

Compare 2 text generation models in the Kimi K2.7 family, then call the one that fits your latency, quality, and pricing needs.
Kimi K2.7 on EmpirioLabs brings together 2 text generation model APIs from Moonshot AI, including Kimi K2.7 Code, Kimi K2.7 Code Highspeed. Each model keeps its own dedicated page with live pricing, parameters, docs, and playground access.
Use the same EmpirioLabs API key and endpoint pattern across the family, then switch behavior by changing the model id in your request.
Compare the family at a glance, then open a model page for the complete live rate card and parameters.
Per 1M tokens, by input rate
| Model | Input | Output |
|---|---|---|
| Kimi K2.7 Code | $0.95 | $4.00 |
| Kimi K2.7 Code Highspeed | $1.90 | $8.00 |
/v1/chat/completions/v1/chat/completionsKimi K2.7 Code serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id kimi-k2-7-code. For this family, swap the model value for any supported id: kimi-k2-7-code kimi-k2-7-code-highspeed. Get an API key from the EmpirioLabs dashboard.
curl https://api.empiriolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2-7-code",
"messages": [
{"role": "user", "content": "Write a haiku about the ocean."}
]
}'See prompt tests, output notes, and comparison runs that mention this model family.
API Access How to Use the Kimi K2.7 Code Highspeed API Kimi K2.7 Code Highspeed is the faster-serving tier of Moonshot AI's Kimi K2.7 Code: the same trillion-parameter agentic...
Comparisons Seed 2.1 Turbo vs Kimi K2.7 Code vs DeepSeek V4 Pro A factual comparison of three top coding and agent models on EmpirioLabs: context, pricing, image and video input, web...
Guides Kimi K2.7 Code vs GLM 5.2: Which Coding API to Use Kimi K2.7 Code is cheaper and accepts image and video input, with always-on reasoning. GLM 5.2 has a 1M context window...Kimi K2.7 on EmpirioLabs is a family of 2 Text Generation model APIs from Moonshot AI: Kimi K2.7 Code, Kimi K2.7 Code Highspeed. You use one EmpirioLabs API key and choose the model id that fits the request.
Start with the model whose dedicated page matches your speed, quality, and pricing needs, then test it in the EmpirioLabs playground. The comparison cards above link to each model's live rate card and quickstart.
Yes. The family is designed around the same EmpirioLabs API pattern, so most integrations switch by changing the model value. Check the model page before shipping if you rely on a model-specific parameter.
Pay as you go, or choose a plan with weekly allowances. The cards on this page show a short live-catalog summary, and each model page shows the complete rate card that matches API billing.
Kimi K2.7 Code lists the lowest input rate of the 2 Kimi K2.7 models priced that way, followed by Kimi K2.7 Code Highspeed. The price table on this page shows each model's lowest rate and what it applies to.
Yes. Open any model page in this family and use its playground link to test prompts and parameters in the browser before integrating the API.
Check out our pricing or reach out if you want your own model deployed on our stack.