Kimi

Kimi API

Add Kimi, Moonshot AI's open-weight, multimodal models, to your app. Long-context, vision, and agentic intelligence through Puter.js — no API keys, no backend.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "moonshotai/kimi-k2.6"
}).then(response => {
    console.log(response.message.content);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "moonshotai/kimi-k2.6"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

The Kimi API for Long-Context, Agentic AI

Multimodal Vision

Kimi K2.5 and K2.6 read images alongside text, turning screenshots and UI designs into working code.

256K Context

A 256K-token context window handles entire codebases, long documents, and deep multi-turn sessions.

Agentic Coding

Kimi K2 is built for long-horizon coding and tool-driven agents, topping open-model coding benchmarks.

Low Cost

Open-weight pricing makes Kimi a cost-effective choice for high-volume and agentic workloads.

Tool & Function Calling

Native tool use, web search, and file parsing let Kimi drive multi-step agentic workflows.

Thinking Mode

Kimi K2 Thinking adds step-by-step reasoning for harder problems when you need more depth.

Kimi Models Compared

Every Kimi model available through Puter.js, with context, output limits, and per-million-token pricing. Click a model for full specs and examples.

ModelContextMax OutputInput / 1MOutput / 1M
Kimi K2.6 moonshotai/kimi-k2.6 262K 262K $0.95 $4
Kimi K2.5 moonshotai/kimi-k2.5 262K 262K $0.6 $3
Kimi K2 Thinking moonshotai/kimi-k2-thinking 262K 262K $0.6 $2.5
Kimi K2 0905 moonshotai/kimi-k2-0905 262K 262K $0.6 $2.5
Kimi K2 0711 moonshotai/kimi-k2 131K 33K $0.57 $2.3
Kimi Dev 72B (legacy) moonshotai/kimi-dev-72b N/A 131K $0.29 $1.15

Which Kimi Model Should You Use?

Pick the Kimi model that fits your workload — capability, latency, or cost.

Most capable

Kimi K2.6

Kimi K2.6 is Moonshot AI's open-weight, multimodal model line, built for long-context, vision, and agentic work, with a 262K-token context window. Use it as your default for long-context, multimodal, and agentic workloads.

View Kimi K2.6 →
Proven & cost-aware

Kimi K2.5

Other versions like Kimi K2.5 stay available for pinned, reproducible deployments and cost-sensitive workloads that don't need the very latest model.

View Kimi K2.5 →

Use Kimi in Seconds

Add Kimi to your app with just a few lines of code.
No API keys, no backend, no configuration required.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "moonshotai/kimi-k2.6"
}).then(response => {
    console.log(response.message.content);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "moonshotai/kimi-k2.6"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

How Kimi Performs

Kimi K2.6 on standard evaluations, scored by Artificial Analysis.

Artificial Analysis
Intelligence Index
53.9
Better than 98% of tracked models
Artificial Analysis
Coding Index
47.1
Better than 95% of tracked models

See full Kimi K2.6 benchmarks →

Frequently Asked Questions

What is the Kimi API?

The Kimi API gives you access to Moonshot AI's open-weight, multimodal model line, built for long-context, vision, and agentic work — including Kimi K2.6 — through Puter.js. You can call any Kimi model from your app with no API keys and no backend.

Is the Kimi API free?

Yes, it is free for you as the developer when you use it through Puter.js. With the User-Pays model, each of your users covers their own usage through their Puter account, so you can ship Kimi-powered apps at no cost to you.

Which Kimi model should I use?

Start with Kimi K2.6 as your default. Other versions like Kimi K2.5 suit pinned, cost-aware deployments.

How much does Kimi cost?

Kimi K2.6 is priced at $0.95 per million input tokens and $4 per million output tokens at the API level. Through Puter.js it is free for developers under the User-Pays model.

What is the context window of Kimi?

Kimi K2.6 supports a context window of 262K tokens and can generate up to 262K tokens in a single response.

Do I need an API key?

No. Puter.js handles authentication and infrastructure for you, so you can use the Kimi API without any API key, an Moonshot AI account, a server, or any configuration.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Kimi API through Puter.js works with any JavaScript framework, Node.js, or plain HTML. Just include the library and start building.