API des Modells moonshotai/Kimi-K3.1-Pro:primalabs bei Hugging Face Inference, $2 / $10 pro Million Tokens, Kontext 1.048.576 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.
Im Katalog testen und bewerten
moonshotai/Kimi-K3.1-Pro served by PrimaLabs through the Hugging Face router (mxfp4 quantization).
- Typ
- Modell
- Anbieter
- Hugging Face Inference
- Hosting
- PrimaLabs
- Modell-ID
moonshotai/Kimi-K3.1-Pro:primalabs- Preis
- Kostenpflichtig
- Preis Eingabe / Ausgabe
- $2 / $10 pro Million Tokens
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
HF_TOKEN- Basis-URL (OpenAI-kompatibel)
https://router.huggingface.co/v1- Kontext
- 1.048.576 Tokens
- Eingaben
- Text, Bild
- Funktionen
- Tool-Aufrufe, JSON-Ausgabe
- Antwortzeit
- Erstes Token 1190 ms · 86 Tokens/s · Verfügbarkeit 100 %
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://huggingface.co/moonshotai/Kimi-K3.1-Pro
Codebeispiele
cURL
curl https://router.huggingface.co/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HF_TOKEN" \
-d '{"model":"moonshotai/Kimi-K3.1-Pro:primalabs","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://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"])
r = client.chat.completions.create(
model="moonshotai/Kimi-K3.1-Pro:primalabs",
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://router.huggingface.co/v1', apiKey: process.env.HF_TOKEN })
const r = await client.chat.completions.create({
model: 'moonshotai/Kimi-K3.1-Pro:primalabs',
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 Kimi-K3.1-Pro · PrimaLabs kostenlos?
Nein: Kimi-K3.1-Pro · PrimaLabs ist eine kostenpflichtige API ($2 / $10 pro Million Tokens).
Wie rufe ich Kimi-K3.1-Pro · PrimaLabs aus meinem Code auf?
Kimi-K3.1-Pro · PrimaLabs bietet eine OpenAI-kompatible API unter https://router.huggingface.co/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: moonshotai/Kimi-K3.1-Pro:primalabs. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.
Wie groß ist das Kontextfenster von Kimi-K3.1-Pro · PrimaLabs?
Kimi-K3.1-Pro · PrimaLabs verarbeitet bis zu 1.048.576 Tokens Kontext (Nachricht und Verlauf).
Welche Alternativen gibt es zu Kimi-K3.1-Pro · PrimaLabs?
Ä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