/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.
/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 AccessHow to Use the Kimi K2.7 Code Highspeed APIKimi K2.7 Code Highspeed is the faster-serving tier of Moonshot AI's Kimi K2.7 Code: the same trillion-parameter agentic...
ComparisonsSeed 2.1 Turbo vs Kimi K2.7 Code vs DeepSeek V4 ProA factual comparison of three top coding and agent models on EmpirioLabs: context, pricing, image and video input, web...
GuidesKimi K2.7 Code vs GLM 5.2: Which Coding API to UseKimi 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.
Pricing is pay as you go. The cards on this page show a short live-catalog summary, and each model page shows the complete rate card that matches API billing.
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.