Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Moonshot AI: Kimi K2 Turbo Preview

This model is no longer available.

Add AI to your application with Puter.js.

Explore Other Models

Model Card

Kimi K2 Turbo Preview is Moonshot AI's high-speed serving tier for Kimi K2, the same trillion-parameter Mixture-of-Experts model as the standard endpoint, run on faster inference infrastructure. Moonshot launched it in August 2025 at 40 tokens per second output, four times the standard endpoint at the time, then raised it later that month to around 60 tokens per second with peaks up to 100.

Because the weights are identical, it keeps K2's strengths in agentic tool calling and code generation, with a 256K context window and an OpenAI-compatible API that supports function calling. The tradeoff is price. At $1.15 per million input tokens and $8 per million output tokens, it costs roughly two to three times the standard K2 endpoint.

It suits latency-sensitive workloads such as interactive chat, coding assistants, and agent loops where output speed is the bottleneck.

Context Window 262K

tokens

Max Output 262K

tokens

Input Cost $1.15

per million tokens

Output Cost $8

per million tokens

Input text

modalities

Tool Use Yes

 

Release Date Aug 1, 2025

 

Code Example

Add AI to your app with the Puter.js AI API, no API keys or setup required.

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

puter.ai.chat("Explain quantum computing in simple terms").then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms").then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

More AI Models From Moonshot AI

Find other Moonshot AI models →

Chat

Kimi K3.1 Pro

Kimi K3.1 Pro is a multimodal language model from Moonshot AI, announced October 23, 2026 as a post-trained upgrade of Kimi K3. It accepts text, image, and video input, has a 1-million-token context window, and Moonshot plans to release the weights by November 4. Moonshot reports 65.7% on Terminal-Bench 4.0, ahead of GPT-6 Astra and slightly behind Claude Opus 5.5, and 92.7% on BenchCAD, a 3D model coding benchmark. It also reports higher scores than both models on OfficeQA Pro v2, a financial analysis benchmark. Cybersecurity benchmark scores trail both, since Moonshot removed cybersecurity content from post-training data. It suits developers building coding agents, tool-calling pipelines, and financial or document analysis workflows that need long context and multimodal input.

Chat

Kimi K3.1 Pro HighSpeed

Kimi K3.1 Pro HighSpeed is the faster-serving variant of Kimi K3.1 Pro, the multimodal language model from Moonshot AI announced in October 2026. It accepts text, image, and video input and has a 1-million-token context window. Moonshot says it delivers the same model capabilities as Kimi K3.1 Pro at 2 to 3 times the output speed, for more responsive interactions. It is priced at twice the standard model's rate. Choose it when latency matters more than cost, such as interactive coding agents, tool-calling loops with many sequential steps, and chat or document analysis features where users wait on the response. For batch or background jobs, the standard Kimi K3.1 Pro costs less.

Chat

Kimi K3

Kimi K3 is Moonshot AI's flagship open-weight model, released July 16, 2026, with full weights following on July 27. At roughly 2.8 trillion parameters in a Mixture-of-Experts architecture, Moonshot positions it as the largest open-source model released to date, built on two new components: Kimi Delta Attention, a hybrid linear attention mechanism, and Attention Residuals, a replacement for standard residual connections. It runs in an always-on thinking mode with a 1-million-token context window and accepts text, image, and video input. Reported results include 93.5% on GPQA Diamond, 91.2% on BrowseComp, 88.3% on Terminal-Bench 2.1, and a first-place finish on Arena.ai's Frontend Code Arena, putting it close to Claude Opus 4.8 and GPT-5.5 on several agentic and coding tasks. These figures come from Moonshot and early testers, not independently confirmed leaderboards. It suits developers building long-horizon coding agents and tool-calling pipelines who want frontier-level performance at open-weight pricing.

Frequently Asked Questions

How do I use Kimi K2 Turbo Preview?

Kimi K2 Turbo Preview is no longer available through Puter.js. Explore other AI models for alternatives.

What is the pricing for Kimi K2 Turbo Preview?
Kimi K2 Turbo Preview costs $1.15 per 1M input tokens and $8 per 1M output tokens.
Price per 1M tokens
Input$1.15
Output$8
Who created Kimi K2 Turbo Preview?

Kimi K2 Turbo Preview was created by Moonshot AI and released on Aug 1, 2025.

What is the context window of Kimi K2 Turbo Preview?

Kimi K2 Turbo Preview supports a context window of 262K tokens. For reference, that is roughly equivalent to 524 pages of text.

What is the max output length of Kimi K2 Turbo Preview?

Kimi K2 Turbo Preview can generate up to 262K tokens in a single response.

What types of input can Kimi K2 Turbo Preview process?

Kimi K2 Turbo Preview accepts the following input types: text. It produces: text.

Does Kimi K2 Turbo Preview support tool use (function calling)?

Yes, Kimi K2 Turbo Preview supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

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

Yes — the Kimi K2 Turbo Preview API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add AI to your application without worrying about API keys or setup.

Explore Models View Tutorials