API des Modells moonshotai/Kimi-K2.5:amazon-bedrock bei Hugging Face Inference, $0.6 / $3 pro Million Tokens, Kontext 262.144 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.
Im Katalog testen und bewerten
moonshotai/Kimi-K2.5 served by Amazon Bedrock through the Hugging Face router.
- Typ
- Modell
- Anbieter
- Hugging Face Inference
- Hosting
- Amazon Bedrock
- Modell-ID
moonshotai/Kimi-K2.5:amazon-bedrock- Preis
- Kostenpflichtig
- Preis Eingabe / Ausgabe
- $0.6 / $3 pro Million Tokens
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
HF_TOKEN- Basis-URL (OpenAI-kompatibel)
https://router.huggingface.co/v1- Kontext
- 262.144 Tokens
- Eingaben
- Text, Bild
- Funktionen
- Tool-Aufrufe
- Antwortzeit
- Erstes Token 760 ms · 74 Tokens/s · Verfügbarkeit 99.9 %
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://huggingface.co/moonshotai/Kimi-K2.5
Codebeispiele
cURL
curl https://router.huggingface.co/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HF_TOKEN" \
-d '{"model":"moonshotai/Kimi-K2.5:amazon-bedrock","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-K2.5:amazon-bedrock",
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-K2.5:amazon-bedrock',
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-K2.5 · Amazon Bedrock kostenlos?
Nein: Kimi-K2.5 · Amazon Bedrock ist eine kostenpflichtige API ($0.6 / $3 pro Million Tokens).
Wie rufe ich Kimi-K2.5 · Amazon Bedrock aus meinem Code auf?
Kimi-K2.5 · Amazon Bedrock 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-K2.5:amazon-bedrock. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.
Wie groß ist das Kontextfenster von Kimi-K2.5 · Amazon Bedrock?
Kimi-K2.5 · Amazon Bedrock verarbeitet bis zu 262.144 Tokens Kontext (Nachricht und Verlauf).
Welche Alternativen gibt es zu Kimi-K2.5 · Amazon Bedrock?
Ä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