---
title: MoonshotAI: Kimi K2.6 API | Text Generation | ModelsLab
description: Build with MoonshotAI: Kimi K2.6 API by Moonshotai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/moonshotai/moonshotai-kimi-k2.6/api.md
canonical: https://modelslab.com/models/moonshotai/moonshotai-kimi-k2.6/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-23T03:21:43.578971Z
---

MoonshotAI: Kimi K2.6
---

 [LLMs.txt](https://modelslab.com/models/open_router/moonshotai-kimi-k2.6/llms.txt) [.md](https://modelslab.com/models/moonshotai/moonshotai-kimi-k2.6.md)

moonshotai-kimi-k2.6 moonshotai Closed Source Model $2.125000 / call

MoonshotAI: Kimi K2.6
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### MoonshotAI: Kimi K2.6

moonshotai moonshotai-kimi-k2.6

Copy model ID

PricingInput $0.75 / 1M tokens

Output $3.50 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3.5-plus-02-15)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.5 Plus 2026-02-15

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3.5-plus-02-15)

[Q1](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-14B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 14B

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-14B)

[NN](https://modelslab.com/models/open_router/nvidia-nemotron-3-super-120b-a12b-free)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Nemotron 3 Super (free)

Closed Source Model](https://modelslab.com/models/open_router/nvidia-nemotron-3-super-120b-a12b-free)

[AC](https://modelslab.com/models/open_router/anthropic-claude-sonnet-4.6)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude Sonnet 4.6

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-sonnet-4.6)

[OO](https://modelslab.com/models/open_router/openai-o3)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o3

Closed Source Model](https://modelslab.com/models/open_router/openai-o3)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-72B-Instruct-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 72B Instruct Turbo

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-72B-Instruct-Turbo)

[Q8](https://modelslab.com/models/together_ai/Qwen-Qwen3-8B-Lora)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 8B Lora

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-8B-Lora)

[IM](https://modelslab.com/models/open_router/inception-mercury-2)[Open Router](https://modelslab.com/models/open_router)

 [Inception: Mercury 2

Closed Source Model](https://modelslab.com/models/open_router/inception-mercury-2)

[OG](https://modelslab.com/models/together_ai/openai-gpt-oss-120b)[Together AI](https://modelslab.com/models/together_ai)

 [OpenAI GPT-OSS 120B

Closed Source Model](https://modelslab.com/models/together_ai/openai-gpt-oss-120b)

[AN](https://modelslab.com/models/open_router/amazon-nova-lite-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova Lite 1.0

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-lite-v1)

[QQ](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-122b-a10b)[Alibaba](https://modelslab.com/models/alibaba_cloud)

 [Qwen: Qwen3.5-122B-A10B

Closed Source Model](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-122b-a10b)

[US](https://modelslab.com/models/open_router/upstage-solar-pro-3)[Open Router](https://modelslab.com/models/open_router)

 [Upstage: Solar Pro 3

Closed Source Model](https://modelslab.com/models/open_router/upstage-solar-pro-3)

[![Meta: Llama 3 8B Instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/07cb8c22-a068-40f8-a2e8-57d8b2371261.png)](https://modelslab.com/models/open_router/meta-llama-llama-3-8b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama 3 8B Instruct

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-3-8b-instruct)

[LL](https://modelslab.com/models/open_router/liquid-lfm-2-24b-a2b)[Open Router](https://modelslab.com/models/open_router)

 [LiquidAI: LFM2-24B-A2B

Closed Source Model](https://modelslab.com/models/open_router/liquid-lfm-2-24b-a2b)

[DD](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3-0324)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V3 0324

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3-0324)

[SL](https://modelslab.com/models/open_router/sao10k-l3.3-euryale-70b)[Open Router](https://modelslab.com/models/open_router)

 [Sao10K: Llama 3.3 Euryale 70B

Closed Source Model](https://modelslab.com/models/open_router/sao10k-l3.3-euryale-70b)

[NH](https://modelslab.com/models/open_router/nousresearch-hermes-3-llama-3.1-405b-free)[Open Router](https://modelslab.com/models/open_router)

 [Nous: Hermes 3 405B Instruct (free)

Closed Source Model](https://modelslab.com/models/open_router/nousresearch-hermes-3-llama-3.1-405b-free)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3.6-plus)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.6 Plus

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3.6-plus)

About MoonshotAI: Kimi K2.6
---

Kimi K2.6 is Moonshot AI's next-generation multimodal model, designed for long-horizon coding, coding-driven UI/UX generation, and multi-agent orchestration. It handles complex end-to-end coding tasks across Python, Rust, and Go, and...

### Technical Specifications

Model IDmoonshotai-kimi-k2.6CategoryLLM ModelsTaskText GenerationPrice$2.125000 per million tokensAddedApril 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate MoonshotAI: Kimi K2.6 into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "moonshotai-kimi-k2.6",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/moonshotai/moonshotai-kimi-k2.6/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

MoonshotAI: Kimi K2.6 API costs $2.125000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Moonshotai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

MoonshotAI: Kimi K2.6 FAQ
---

### What is MoonshotAI: Kimi K2.6?

Kimi K2.6 is Moonshot AI's next-generation multimodal model, designed for long-horizon coding, coding-driven UI/UX generation, and multi-agent orchestration. It handles complex end-to-end coding tasks across Python, Rust, and Go, and...

### How do I use the MoonshotAI: Kimi K2.6 API?

You can integrate MoonshotAI: Kimi K2.6 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "moonshotai-kimi-k2.6" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does MoonshotAI: Kimi K2.6 cost?

MoonshotAI: Kimi K2.6 costs $2.125000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the MoonshotAI: Kimi K2.6 model ID?

The model ID for MoonshotAI: Kimi K2.6 is "moonshotai-kimi-k2.6". Use this ID in your API requests to specify this model.

### Does MoonshotAI: Kimi K2.6 have a free tier?

Yes, ModelsLab offers a free tier that lets you try MoonshotAI: Kimi K2.6 and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-23*