---
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.md
canonical: https://modelslab.com/models/moonshotai/moonshotai-Kimi-K2.6.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-29T19:37:28.429488Z
---

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.699900 / 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.7448 / 1M tokens

Output $4.655 / 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)

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-8B)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Llama 8B

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-8B)

[T2](https://modelslab.com/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)[ModelsLab](https://modelslab.com/models/scb10x)

 [Typhoon 2 70B Instruct

Closed Source Model](https://modelslab.com/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.2)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.2

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

[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)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4-32b)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4 32B

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4-32b)

[DV](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V4-Pro)[Together AI](https://modelslab.com/models/together_ai)

 [Deepseek V4 Pro

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V4-Pro)

[ML](https://modelslab.com/models/meta/meta-llama-Llama-3.2-11B-Vision-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/meta)

 [Meta Llama 3.2 11B Vision Instruct Turbo

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Llama-3.2-11B-Vision-Instruct-Turbo)

[MK](https://modelslab.com/models/open_router/moonshotai-kimi-k2-0905)[Open Router](https://modelslab.com/models/open_router)

 [MoonshotAI: Kimi K2 0905

Closed Source Model](https://modelslab.com/models/open_router/moonshotai-kimi-k2-0905)

[AA](https://modelslab.com/models/open_router/aion-labs-aion-1.0-mini)[Open Router](https://modelslab.com/models/open_router)

 [AionLabs: Aion-1.0-Mini

Closed Source Model](https://modelslab.com/models/open_router/aion-labs-aion-1.0-mini)

[N3](https://modelslab.com/models/together_ai/nim-nvidia-llama-3.1-nemotron-70b-instruct)[Together AI](https://modelslab.com/models/together_ai)

 [nim/nvidia/llama-3.1-nemotron-70b-instruct

Closed Source Model](https://modelslab.com/models/together_ai/nim-nvidia-llama-3.1-nemotron-70b-instruct)

[QC](https://modelslab.com/models/together_ai/Qwen-Qwen3-Coder-480B-A35B-Instruct-FP8)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 Coder 480B A35B Instruct Fp8

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-Coder-480B-A35B-Instruct-FP8)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.1-codex)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.1-Codex

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

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

 [Anthropic: Claude Opus 4.5

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

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-qwen-32B)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Qwen 32B

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-qwen-32B)

[OG](https://modelslab.com/models/open_router/openai-gpt-5-chat)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5 Chat

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

[ML](https://modelslab.com/models/open_router/meta-llama-llama-3.2-3b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama 3.2 3B Instruct

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

[DR](https://modelslab.com/models/open_router/deepseek-deepseek-r1-distill-qwen-32b)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: R1 Distill Qwen 32B

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-r1-distill-qwen-32b)

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

 [Anthropic: Claude Opus 4.6

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

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.699900 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.699900 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.699900 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-30*