Skip to main content
AnyAIGC

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
About

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
Capabilities

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.

Pricing

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
kimi-k2.6 prices per 1M tokens (USD), AnyAIGC vs Moonshot official
ItemModelAnyAIGCMoonshot officialSavings
Inputper 1M tokenskimi-k2.6$0.3847$0.9560%
Outputper 1M tokens, incl. thinkingkimi-k2.6$1.5980$4.0060%
Cache hitper 1M tokenskimi-k2.6$0.0651$0.1659%

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

Benchmarks

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

  • SWE-Bench Verified80.2
  • LiveCodeBench v689.6
  • BrowseComp83.2
  • AIME 202696.4
  • GPQA-Diamond90.5
Kimi K2.6 official benchmark scores (published by Moonshot AI)
BenchmarkKimi K2.6
SWE-Bench VerifiedSoftware engineering80.2
SWE-Bench ProSoftware engineering58.6
SWE-Bench MultilingualMultilingual coding76.7
Terminal-Bench 2.0Terminal coding66.7
LiveCodeBench v6Competitive coding89.6
HLE-FullGeneral reasoning, with tools54.0
BrowseCompWeb browsing agent83.2
DeepSearchQADeep search, f192.5
AIME 2026Math96.4
GPQA-DiamondScience reasoning90.5
MMMU-ProMultimodal understanding79.4
OSWorld-VerifiedComputer use73.1

Source: the Kimi K2.6 model card on Hugging Face. BrowseComp is 86.3 in the Agent Swarm setting.

Compare

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.

Kimi K2.6, K2.7 Code and K3.1 Pro compared; prices are AnyAIGC USD per 1M tokens
SpecK2.6K2.7 CodeK3.1 Pro
RoleGeneral multimodal agentCoding agentLatest flagship
Context256K256K1M
ThinkingOn or offAlways onAlways 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.

Use cases

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.

Quickstart

Connect to the Kimi K2.6 API in three steps

  1. Sign up and add credit: create an account at anyaigc.ai. Top up from $1; your balance works across every model on the platform.
  2. Create an API key: create a key in the console, copy the value that starts with sk-, and store it in the ANYAIGC_API_KEY environment variable.
  3. Send a request: call POST https://anyaigc.ai/v1/chat/completions with model set to kimi-k2.6 and an Authorization: Bearer header. With the OpenAI SDK, just set base_url to https://anyaigc.ai/v1.
POST /v1/chat/completions
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."}
    ]
  }'
Python · openai SDK
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)
Python · image_url
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)
Python · stream=True
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.

Claude Code

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.

  1. Install Claude Code: use the official installer (for example npm install -g @anthropic-ai/claude-code).
  2. Add the config: edit ~/.claude/settings.json, add the env block below, and replace ANTHROPIC_AUTH_TOKEN with the key you created on AnyAIGC.
  3. Start coding: run claude in your project folder. Type /model to confirm the current model is kimi-k2.6.
~/.claude/settings.json
{
  "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.

Enterprise

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.

Payment methods
  • 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.

FAQ

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.