TensaHub › Hugging Face Inference

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

API for the model dphn/Dolphin-Mistral-24B-Venice-Edition:venice at Hugging Face Inference, $0.2 / $0.9 per million tokens, context 128,000 tokens. curl, Python and JavaScript samples, live testing.

Test and rate in the catalog

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

Type
Model
Provider
Hugging Face Inference
Host
Venice
Model ID
dphn/Dolphin-Mistral-24B-Venice-Edition:venice
Pricing
Paid
Input / output price
$0.2 / $0.9 per million tokens
Keyless access
No
Key variable
HF_TOKEN
Base URL (OpenAI-compatible)
https://router.huggingface.co/v1
Context
128,000 tokens
Inputs
Text
Response time
First token 828 ms · 77 tokens/s · uptime 100%
Developer rating
Not rated yet
Documentation
https://huggingface.co/dphn/Dolphin-Mistral-24B-Venice-Edition

Code samples

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":"Hello, introduce yourself in one sentence."}]}'

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": "Hello, introduce yourself in one sentence."}],
)
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: 'Hello, introduce yourself in one sentence.' }],
})
console.log(r.choices[0].message.content)

Generate the integration code →

Popular searches

Frequently asked questions

Is the Dolphin-Mistral-24B-Venice-Edition · Venice API free?

No: Dolphin-Mistral-24B-Venice-Edition · Venice is a paid API ($0.2 / $0.9 per million tokens).

How do I call Dolphin-Mistral-24B-Venice-Edition · Venice from my code?

Dolphin-Mistral-24B-Venice-Edition · Venice exposes an OpenAI-compatible API at https://router.huggingface.co/v1: use any OpenAI SDK (Python, JavaScript…) with this base URL. Model identifier: dphn/Dolphin-Mistral-24B-Venice-Edition:venice. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.

What is the context window of Dolphin-Mistral-24B-Venice-Edition · Venice?

Dolphin-Mistral-24B-Venice-Edition · Venice accepts up to 128,000 tokens of context (prompt and history).