API des Modells moonshotai/kimi-k2.6 bei OpenRouter, $0.95 / $4 pro Million Tokens, Kontext 262.144 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.
Im Katalog testen und bewerten
Kimi K2.6 is Moonshot AI's next-generation multimodal model, designed for long-horizon coding, coding-driven UI/UX generation, and multi-agent orchestration. It handles complex end-to-end coding tasks across Python, Rust, and Go, and...
- Typ
- Modell
- Anbieter
- OpenRouter
- Modell-ID
moonshotai/kimi-k2.6- Preis
- Kostenpflichtig
- Preis Eingabe / Ausgabe
- $0.95 / $4 pro Million Tokens
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
OPENROUTER_API_KEY- Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1- Kontext
- 262.144 Tokens
- Eingaben
- Text, Bild
- Funktionen
- Reasoning, JSON-Ausgabe, Tool-Aufrufe
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://openrouter.ai/moonshotai/kimi-k2.6
Codebeispiele
cURL
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model":"moonshotai/kimi-k2.6","messages":[{"role":"user","content":"Hallo, stell dich in einem Satz vor."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
model="moonshotai/kimi-k2.6",
messages=[{"role": "user", "content": "Hallo, stell dich in einem Satz vor."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
model: 'moonshotai/kimi-k2.6',
messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)
Beliebte Suchen
Häufige Fragen
Ist die API von MoonshotAI: Kimi K2.6 kostenlos?
Nein: MoonshotAI: Kimi K2.6 ist eine kostenpflichtige API ($0.95 / $4 pro Million Tokens).
Wie rufe ich MoonshotAI: Kimi K2.6 aus meinem Code auf?
MoonshotAI: Kimi K2.6 bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: moonshotai/kimi-k2.6. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.
Wie groß ist das Kontextfenster von MoonshotAI: Kimi K2.6?
MoonshotAI: Kimi K2.6 verarbeitet bis zu 262.144 Tokens Kontext (Nachricht und Verlauf).
Welche Alternativen gibt es zu MoonshotAI: Kimi K2.6?
Ähnliche APIs im Katalog: Kimi-K3.1-Pro · AkashML, Kimi-K3.1-Pro · Amazon Bedrock, Kimi-K3.1-Pro · BaseTen, Kimi-K3.1-Pro · DeepInfra, Kimi-K3.1-Pro · Doubleword.
Alternativen
- Kimi-K3.1-Pro · AkashML — Kostenpflichtig
- Kimi-K3.1-Pro · Amazon Bedrock — Kostenpflichtig
- Kimi-K3.1-Pro · BaseTen — Kostenpflichtig
- Kimi-K3.1-Pro · DeepInfra — Kostenpflichtig
- Kimi-K3.1-Pro · Doubleword — Kostenpflichtig
- Kimi-K3.1-Pro · Fireworks — Kostenpflichtig
- Kimi-K3.1-Pro · InferenceNet — Kostenpflichtig
- Kimi-K3.1-Pro · Makora — Kostenpflichtig
- Kimi-K3.1-Pro · Modal — Kostenpflichtig
- Kimi-K3.1-Pro · Nebius — Kostenpflichtig
- Kimi-K3.1-Pro · Parasail — Kostenpflichtig
- Kimi-K3.1-Pro · Pareto Inference — Kostenpflichtig