API des Modells inclusionAI/Ling-3.0-flash:deepinfra bei Hugging Face Inference, $0.06 / $0.18 pro Million Tokens, Kontext 131.072 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.
Im Katalog testen und bewerten
inclusionAI/Ling-3.0-flash served by DeepInfra through the Hugging Face router (fp4 quantization).
- Typ
- Modell
- Anbieter
- Hugging Face Inference
- Hosting
- DeepInfra
- Modell-ID
inclusionAI/Ling-3.0-flash:deepinfra- Preis
- Kostenpflichtig
- Preis Eingabe / Ausgabe
- $0.06 / $0.18 pro Million Tokens
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
HF_TOKEN- Basis-URL (OpenAI-kompatibel)
https://router.huggingface.co/v1- Kontext
- 131.072 Tokens
- Eingaben
- Text
- Funktionen
- Tool-Aufrufe
- Antwortzeit
- Erstes Token 235 ms · 65 Tokens/s · Verfügbarkeit 100 %
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://huggingface.co/inclusionAI/Ling-3.0-flash
Codebeispiele
cURL
curl https://router.huggingface.co/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HF_TOKEN" \
-d '{"model":"inclusionAI/Ling-3.0-flash:deepinfra","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="inclusionAI/Ling-3.0-flash:deepinfra",
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: 'inclusionAI/Ling-3.0-flash:deepinfra',
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 Ling-3.0-flash · DeepInfra kostenlos?
Nein: Ling-3.0-flash · DeepInfra ist eine kostenpflichtige API ($0.06 / $0.18 pro Million Tokens).
Wie rufe ich Ling-3.0-flash · DeepInfra aus meinem Code auf?
Ling-3.0-flash · DeepInfra bietet eine OpenAI-kompatible API unter https://router.huggingface.co/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: inclusionAI/Ling-3.0-flash:deepinfra. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.
Wie groß ist das Kontextfenster von Ling-3.0-flash · DeepInfra?
Ling-3.0-flash · DeepInfra verarbeitet bis zu 131.072 Tokens Kontext (Nachricht und Verlauf).
Welche Alternativen gibt es zu Ling-3.0-flash · DeepInfra?
Ähnliche APIs im Katalog: LingSante-3.1-air-VL · DeepInfra, Ling-3.0-flash-VL · DeepInfra.
Alternativen
- LingSante-3.1-air-VL · DeepInfra — Kostenpflichtig
- Ling-3.0-flash-VL · DeepInfra — Kostenpflichtig