TensaHub › Hugging Face Inference

Dolphin-Mistral-24B-Venice-Edition · Venice

API des Modells dphn/Dolphin-Mistral-24B-Venice-Edition:venice bei Hugging Face Inference, $0.2 / $0.9 pro Million Tokens, Kontext 128.000 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.

Im Katalog testen und bewerten

dphn/Dolphin-Mistral-24B-Venice-Edition served by Venice through the Hugging Face router (fp16 quantization).

Typ
Modell
Anbieter
Hugging Face Inference
Hosting
Venice
Modell-ID
dphn/Dolphin-Mistral-24B-Venice-Edition:venice
Preis
Kostenpflichtig
Preis Eingabe / Ausgabe
$0.2 / $0.9 pro Million Tokens
Zugang ohne Schlüssel
Nein
Schlüsselvariable
HF_TOKEN
Basis-URL (OpenAI-kompatibel)
https://router.huggingface.co/v1
Kontext
128.000 Tokens
Eingaben
Text
Antwortzeit
Erstes Token 828 ms · 77 Tokens/s · Verfügbarkeit 100 %
Entwicklerbewertung
Noch nicht bewertet
Dokumentation
https://huggingface.co/dphn/Dolphin-Mistral-24B-Venice-Edition

Codebeispiele

cURL

curl https://router.huggingface.co/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HF_TOKEN" \
  -d '{"model":"dphn/Dolphin-Mistral-24B-Venice-Edition:venice","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="dphn/Dolphin-Mistral-24B-Venice-Edition:venice",
    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: 'dphn/Dolphin-Mistral-24B-Venice-Edition:venice',
  messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)

Integrationscode erzeugen →

Beliebte Suchen

Häufige Fragen

Ist die API von Dolphin-Mistral-24B-Venice-Edition · Venice kostenlos?

Nein: Dolphin-Mistral-24B-Venice-Edition · Venice ist eine kostenpflichtige API ($0.2 / $0.9 pro Million Tokens).

Wie rufe ich Dolphin-Mistral-24B-Venice-Edition · Venice aus meinem Code auf?

Dolphin-Mistral-24B-Venice-Edition · Venice bietet eine OpenAI-kompatible API unter https://router.huggingface.co/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: dphn/Dolphin-Mistral-24B-Venice-Edition:venice. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.

Wie groß ist das Kontextfenster von Dolphin-Mistral-24B-Venice-Edition · Venice?

Dolphin-Mistral-24B-Venice-Edition · Venice verarbeitet bis zu 128.000 Tokens Kontext (Nachricht und Verlauf).