Speed
Output tokens / second
Custom pricing for production workloads
Kimi K2 0905 Preview offers a range of key advantages that make it exceptionally well-suited for complex enterprise applications.
Its ultra-long context window of 262,144 tokens enables deep understanding and processing of extremely large documents and extended multi-turn dialogues.
moonshotai/kimi-k2-0905https://api.aimlapi.com/v1Kimi K2 0905 Preview is an advanced update of the Kimi K2 model, engineered for high-performance in intelligent agent creation, multi-turn conversational AI, and complex analytical tasks. This version extends the context window to 262,144 tokens and integrates enhanced request caching, delivering unprecedented efficiency and depth in natural language understanding and reasoning. It is tailored for corporate assistants, agent-based workflows, and advanced reasoning applications requiring extensive context and memory.
Across five distinct evaluations, including SWE-bench Verified, Multilingual, and SWE-Dev, it achieves higher average scores than both Kimi K2-0711 and Claude Sonnet 4. Each score represents the average of five rigorous test runs, ensuring statistical reliability.
vs GPT-4 Turbo: Kimi-K2-0905 offers double the context length (262K vs. 128K) and superior caching for repetitive enterprise queries. While GPT-4 excels in general creativity, Kimi-K2-0905 is optimized for structured reasoning and agent reliability.
vs Claude 3.5 Sonnet: Both deliver strong analytical performance, but Kimi-K2-0905 provides faster inference on long contexts and native support for stateful agent memory. Claude favors conversational fluency; Kimi prioritizes task completion.
vs Llama 3 70B: Llama 3 is ideal for customization, but lacks built-in long-context optimization and enterprise tooling. Kimi-K2-0905 delivers out-of-the-box performance with managed infrastructure, caching, and compliance.
vs Gemini 1.5 Pro: Gemini matches Kimi in context length, but Kimi-K2-0905 shows lower latency in cached scenarios and better tool-integration for agentic loops. Gemini leads in multimodal tasks; Kimi dominates in text-centric enterprise reasoning.
See how Kimi K2 0905 Preview compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 9 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Reasoning across long documents of about 100k tokens.
Following precise instructions about the shape of the answer.
Customer support agent tasks with tool calls.
| Usage | Price | Unit |
|---|---|---|
| Input | $1.06 | 1M tokens |
| Output | $3.17 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $1.06 | $3.17 | |
| $1.9 | $8 | |
| $2 | $10 | |
| $3 | $15 | |
| $4 | $20 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "moonshotai/kimi-k2-0905",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "moonshotai/kimi-k2-0905",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "moonshotai/kimi-k2-0905",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Kimi K2 0905 Preview has a 262,144 tokens context window and can return up to 100,352 tokens.
Kimi K2 0905 Preview takes image, text as input and returns text.
Use moonshotai/kimi-k2-0905 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Kimi K2 0905 Preview costs $1.06 input and $3.17 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Kimi K2 0905 Preview can stream responses as they are generated.
Yes, Kimi K2 0905 Preview accepts image input alongside text.
Kimi K2 0905 Preview was built by Moonshot AI.
Yes, it supports tool calling, including parallel tool calls and function calling.