Moonshot AI · kimi-k2.6
Kimi K2.6 API
An open native multimodal agent model for long-horizon coding, UI generation and agent swarms, with thinking on or off. On AnyAIGC it costs about 40% of the official price.
kimi-k2.6 input $0.3847 per 1M tokens, output $1.5980 per 1M tokens, cache hit $0.0651. Works with the OpenAI-compatible API and in Claude Code.
- Model ID kimi-k2.6
- Context 256K tokens
- Input $0.3847 / 1M
- Concurrency Unlimited
- Business Self-service invoices
A general-purpose open multimodal agent model
Moonshot AI positions Kimi K2.6 as an open native multimodal agent model. Moonshot says it writes long code more capably and more consistently, with clear gains in instruction following and self-correction. It takes text and image input and has thinking and non-thinking modes, so it works for chat and agent tasks alike.
Under the hood it is MoE with 1T total and 32B active parameters, 256K context and native INT4 quantization. Moonshot highlights four areas: long-horizon coding, UI from prompts or images (Coding-Driven Design), Agent Swarm scaling out to 300 sub-agents, and proactive agents that run 24/7.
On AnyAIGC, kimi-k2.6 runs on the OpenAI-compatible /v1/chat/completions endpoint and works directly in Claude Code, with unlimited concurrency.
- Context window
- 262,144256K tokens
- Total parameters
- 1T32B active, MoE
- Input
- Text, imagesNative multimodal
- Thinking
- On or offThinking / non-thinking (Instant)
- Recommended
- temperature 1.0Non-thinking 0.6, top_p 0.95
- Weights
- OpenModified MIT license
What Kimi K2.6 can do
- 01
Long-horizon coding
Covers Rust, Go, Python, front end, DevOps and performance tuning. Moonshot reports 80.2 on SWE-Bench Verified and 58.6 on SWE-Bench Pro.
- 02
UI from images
Generates production-ready UI code from prompts or design files, for landing pages, admin panels and components.
- 03
Agent Swarm
Moonshot demonstrates scaling out to 300 sub-agents and 4,000 coordinated steps. AnyAIGC does not cap concurrency, which suits parallel agents.
- 04
Thinking on or off
Turn thinking on for hard problems and off for classification, extraction and support chat, for faster replies and less output.
- 05
Search and research
Moonshot reports 83.2 on BrowseComp (86.3 with Agent Swarm) and 92.5 f1 on DeepSearchQA, a good fit for deep-search agents.
- 06
Math and reasoning
Moonshot reports 96.4 on AIME 2026 and 90.5 on GPQA-Diamond.
Kimi K2.6 API pricing
Pay per token at fixed rates, with no subscription or monthly fee. Input, output and cache hits all cost about 40% of Moonshot's official USD prices.
- Per tokenInput, output and cache priced separately
- About 60% offvs Moonshot official USD prices
- Unlimited concurrencyOn by default for every user
- USDOne balance for 300+ models
| Item | Model | AnyAIGC | Moonshot official | Savings |
|---|---|---|---|---|
| Inputper 1M tokens | kimi-k2.6 | $0.3847 | $0.95 | 60% |
| Outputper 1M tokens, incl. thinking | kimi-k2.6 | $1.5980 | $4.00 | 60% |
| Cache hitper 1M tokens | kimi-k2.6 | $0.0651 | $0.16 | 59% |
Prices are in USD and billed on the tokens you actually use. Output includes thinking tokens, and repeated prompt prefixes are billed at the cache-hit rate automatically. Official prices come from the Kimi platform pricing page (USD). The table shows the lowest price in the model catalog; see the AnyAIGC model catalog for live pricing.
Cost examples
Estimates for common workloads. The struck-through figure is the same usage at Moonshot official prices.
-
Classify 10,000 tickets
Each ticket: 2,000 input tokens + 300 output
$12.49
Official
$31.00 -
1,000 support chat turns
Each turn: 8,000 cache-hit tokens + 1,000 input + 500 output
$1.70
Official
$4.23 -
1M input + 1M output
1M input tokens + 1M output tokens
$1.98
Official
$4.95
Kimi K2.6 official benchmarks
Kimi K2.6 scores published by Moonshot AI across coding, agent, reasoning and vision tasks.
Kimi K2.6 · selected benchmarks
| Benchmark | Kimi K2.6 |
|---|---|
| SWE-Bench VerifiedSoftware engineering | 80.2 |
| SWE-Bench ProSoftware engineering | 58.6 |
| SWE-Bench MultilingualMultilingual coding | 76.7 |
| Terminal-Bench 2.0Terminal coding | 66.7 |
| LiveCodeBench v6Competitive coding | 89.6 |
| HLE-FullGeneral reasoning, with tools | 54.0 |
| BrowseCompWeb browsing agent | 83.2 |
| DeepSearchQADeep search, f1 | 92.5 |
| AIME 2026Math | 96.4 |
| GPQA-DiamondScience reasoning | 90.5 |
| MMMU-ProMultimodal understanding | 79.4 |
| OSWorld-VerifiedComputer use | 73.1 |
Source: the Kimi K2.6 model card on Hugging Face. BrowseComp is 86.3 in the Agent Swarm setting.
Kimi K2.6 vs K2.7 Code vs K3
Use K2.6 for general tasks or when thinking should be off, K2.7 Code for focused coding, and K3.1 Pro for the hardest tasks.
| Spec | K2.6 | K2.7 Code | K3.1 Pro |
|---|---|---|---|
| Role | General multimodal agent | Coding agent | Latest flagship |
| Context | 256K | 256K | 1M |
| Thinking | On or off | Always on | Always on |
| AnyAIGC inputper 1M tokens | $0.3847 | $0.3847 | $0.8100 |
| AnyAIGC outputper 1M tokens | $1.5980 | $1.5980 | $4.0500 |
| Cache hitper 1M tokens | $0.0651 | $0.0770 | $0.0810 |
Specs come from Moonshot AI's public materials. Prices are current AnyAIGC prices; see the model catalog for live pricing. More on the Kimi K2.7 Code API.
Where Kimi K2.6 fits
- 01 · Batch jobs
Classification, extraction and summaries
Turn thinking off for ticket triage, field extraction and review tagging: fast replies, short outputs. AnyAIGC does not cap concurrency.
- 02 · UI generation
Design files to live pages
Upload a design or reference screenshot and generate landing pages, admin screens and component code.
- 03 · Multi-agent
Agent Swarm and background jobs
Split a large task across sub-agents running in parallel, or keep an agent monitoring, organizing and reporting in the background 24/7.
- 04 · Coding
Everyday coding and Claude Code
Use K2.6 in Claude Code to read code and fix bugs. For a higher coding success rate, switch to K2.7 Code at the same price.
Connect to the Kimi K2.6 API in three steps
- Sign up and add credit: create an account at anyaigc.ai. Top up from $1; your balance works across every model on the platform.
- Create an API key: create a key in the console, copy the value that starts with
sk-, and store it in theANYAIGC_API_KEYenvironment variable. - Send a request: call
POST https://anyaigc.ai/v1/chat/completionswithmodelset tokimi-k2.6and anAuthorization: Bearerheader. With the OpenAI SDK, just setbase_urltohttps://anyaigc.ai/v1.
curl https://anyaigc.ai/v1/chat/completions \
-H "Authorization: Bearer $ANYAIGC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.6",
"messages": [
{"role": "user", "content": "Explain what a database index is in three sentences."}
]
}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://anyaigc.ai/v1",
api_key=os.environ["ANYAIGC_API_KEY"],
)
resp = client.chat.completions.create(
model="kimi-k2.6",
messages=[
{"role": "system", "content": "You are a senior front-end engineer. Answer with runnable code."},
{"role": "user", "content": "Write an accessible dropdown menu component."},
],
)
msg = resp.choices[0].message
print(getattr(msg, "reasoning_content", None)) # reasoning trace, if any
print(msg.content)
print(resp.usage)
import base64
import os
from pathlib import Path
from openai import OpenAI
client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])
image = base64.b64encode(Path("screenshot.png").read_bytes()).decode()
resp = client.chat.completions.create(
model="kimi-k2.6",
messages=[{
"role": "user",
"content": [
{"type": "image_url", "image_url": {"url": f"data:image/png;base64,{image}"}},
{"type": "text", "text": "This is a screenshot of a web page. Rebuild it in HTML + CSS."},
],
}],
)
print(resp.choices[0].message.content)
import os
from openai import OpenAI
client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])
stream = client.chat.completions.create(
model="kimi-k2.6",
messages=[{"role": "user", "content": "Write 5 changelog entries for a SaaS product."}],
stream=True,
)
for chunk in stream:
if not chunk.choices:
continue
delta = chunk.choices[0].delta
# reasoning_content deltas arrive first, then the final answer in content
reasoning = getattr(delta, "reasoning_content", None)
if reasoning:
print(reasoning, end="", flush=True)
if delta.content:
print(delta.content, end="", flush=True)
print()
Tip: K2.6 thinks by default, and the reasoning comes back in reasoning_content. On Moonshot's API, thinking: {"type": "disabled"} turns thinking off (pass it in extra_body with the OpenAI SDK); Moonshot recommends temperature=0.6 in non-thinking mode. In thinking mode, for multi-turn chats and tool calls, send the full assistant message back in the next request unchanged.
See the Chat Completions reference for every parameter. Replace the model name in the docs examples with the Kimi model ID you want.
Use Kimi K2.6 in Claude Code
Switch Claude Code to Kimi K2.6. It is multimodal and low cost, good for everyday coding and fixing UI from screenshots.
- Install Claude Code: use the official installer (for example
npm install -g @anthropic-ai/claude-code). - Add the config: edit
~/.claude/settings.json, add the env block below, and replaceANTHROPIC_AUTH_TOKENwith the key you created on AnyAIGC. - Start coding: run
claudein your project folder. Type/modelto confirm the current model iskimi-k2.6.
{
"env": {
"ANTHROPIC_BASE_URL": "https://anyaigc.ai",
"ANTHROPIC_AUTH_TOKEN": "sk-your-API-key",
"ANTHROPIC_MODEL": "kimi-k2.6",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "kimi-k2.6",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "kimi-k2.6",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "kimi-k2.6",
"API_TIMEOUT_MS": "300000"
}
}
Switch to the coding model: for a higher coding success rate, replace kimi-k2.6 in the config with kimi-k2.7-code. Both cost the same.
For the full walkthrough and common errors, see the Claude Code setup guide. Swap the model name in the guide for kimi-k2.6.
Kimi K2.6 API for teams and enterprises
Teams can top up, issue invoices themselves, and work with a dedicated support and technical contact.
- Invoices
Issue them yourself
Issue an invoice in the console for the amount you actually topped up, whenever you need one.
- Dedicated support
Account and technical contacts
Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.
- WeChat Pay
- Alipay
- USDT
- Credit card
Why teams trust AnyAIGC
Trial credit, top-ups, refunds, data handling and billing, spelled out up front.
5M free tokens to start
New accounts get trial credit, so you can test before you top up.
Top up from $1, refundable
Top up from $1. Unused balance can be refunded with no fee.
Official channels, real models
Requests go to official model channels, never cheaper or reverse-engineered substitutes.
No retention, no training
Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.
Transparent billing, spend caps
See tokens and cost for every request in the console, and set a quota on each API key.
24/7 support
Contact support any time about integration, billing or incidents.
Other Kimi models
One API key calls every Kimi model below. Pick by task difficulty and budget.
- Kimi overviewK3.1 Pro, K3, K2.7 Code and K2.6 pricing compared
- LatestKimi K3.1 ProFirst K3.1 series model, 1M context · input $0.8100 / 1M
- Kimi K32.8T-parameter open weights, 1M context · input $1.2150 / 1M
- CodingKimi K2.7 CodeCoding-tuned K2.6, always thinks · input $0.3847 / 1M
- Kimi K2.6General multimodal agent, thinking optional · input $0.3847 / 1M
Kimi K2.6 API FAQ
How much does the Kimi K2.6 API cost?
On AnyAIGC, kimi-k2.6 is billed per token: input $0.3847 per 1M tokens, output $1.5980 per 1M tokens, cache hit $0.0651 per 1M tokens. Moonshot's official USD prices are input $0.95, output $4.00 and cache hit $0.16, so AnyAIGC is about 40% of official. See the model catalog for live pricing.
What is the Kimi K2.6 model ID, and how large is the context?
The model ID is kimi-k2.6. Moonshot lists a 262,144-token (256K) context window, with text and image input.
Can I turn off thinking in Kimi K2.6?
K2.6 supports both thinking and non-thinking (Instant) modes. On Moonshot's API, thinking: {"type": "disabled"} turns thinking off; with the OpenAI SDK, pass it in extra_body. Moonshot recommends temperature=1.0 for thinking mode and temperature=0.6 for non-thinking mode, with top_p 0.95 for both.
What sets Kimi K2.6 apart?
Moonshot positions K2.6 as an open native multimodal agent model with four focus areas: long-horizon coding (Rust, Go, Python, front end, DevOps and performance tuning), production-ready UI from prompts or images, Agent Swarm (scaling out to 300 sub-agents and 4,000 coordinated steps), and proactive agents that run in the background 24/7.
Kimi K2.6 or K2.7 Code: which should I use?
They share an architecture and cost the same for input and output on AnyAIGC. K2.7 Code is K2.6 further trained for coding, with higher coding scores and fewer thinking tokens, but it only runs in thinking mode. K2.6 can turn thinking off, which fits fast chat, classification, extraction and general agents.
Can I use Kimi K2.6 in Claude Code?
Yes. In the env block of ~/.claude/settings.json, set ANTHROPIC_BASE_URL to https://anyaigc.ai, ANTHROPIC_AUTH_TOKEN to your API key, and ANTHROPIC_MODEL to kimi-k2.6. Then run claude.
Does Kimi K2.6 support tool calls and image input?
Yes. K2.6 supports multi-step tool calls, streaming and image input. In thinking mode, for multi-turn chats and tool calls, send the full assistant message (including reasoning_content and tool_calls) back in the next request unchanged.
Are there concurrency or rate limits?
AnyAIGC does not cap concurrency for kimi-k2.6, and every user gets this by default. That suits batch jobs, CI pipelines and parallel agents. Moonshot's own platform limits concurrency, RPM, TPM and TPD by top-up tier; those tiers do not apply when you call through AnyAIGC.
How do I get a Kimi K2.6 API key?
Sign up at anyaigc.ai, add credit, and create a key in the console. The same key works for every Kimi model and 300+ other models on the platform, so you do not need a separate Moonshot platform account.
Can I get an invoice from AnyAIGC?
Yes. You can issue invoices yourself in the console, for the amount you actually topped up.
Which payment methods are supported?
You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.
Is there free trial credit for new users?
Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.
Can I get a refund on my balance?
Yes. Unused balance can be refunded with no fee. Contact support to start a refund.
Are these the real models? Is my data safe?
Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.
Will my data be used for training?
No. Except where required by law, AnyAIGC does not persistently store your prompts or outputs and does not use them to train models. Requests are encrypted over HTTPS. See the AnyAIGC Privacy Policy. The model's own data policy is governed by Moonshot AI's official terms.
Run Kimi K2.6 at about 40% of the official price
Sign up, create an API key, and you can use kimi-k2.6 in your code or Claude Code within minutes.