TensaHub › Hugging Face Inference

Inkling-2-Small · PrimeIntellect

API des Modells thinkingmachines/Inkling-2-Small:primeintellect bei Hugging Face Inference, $0.15 / $0.5 pro Million Tokens, Kontext 1.048.576 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.

Im Katalog testen und bewerten

thinkingmachines/Inkling-2-Small served by PrimeIntellect through the Hugging Face router (fp4 quantization).

Typ
Modell
Anbieter
Hugging Face Inference
Hosting
PrimeIntellect
Modell-ID
thinkingmachines/Inkling-2-Small:primeintellect
Preis
Kostenpflichtig
Preis Eingabe / Ausgabe
$0.15 / $0.5 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 1928 ms · 77 Tokens/s · Verfügbarkeit 100 %
Entwicklerbewertung
Noch nicht bewertet
Dokumentation
https://huggingface.co/thinkingmachines/Inkling-2-Small

Codebeispiele

cURL

curl https://router.huggingface.co/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HF_TOKEN" \
  -d '{"model":"thinkingmachines/Inkling-2-Small:primeintellect","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="thinkingmachines/Inkling-2-Small:primeintellect",
    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: 'thinkingmachines/Inkling-2-Small:primeintellect',
  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 Inkling-2-Small · PrimeIntellect kostenlos?

Nein: Inkling-2-Small · PrimeIntellect ist eine kostenpflichtige API ($0.15 / $0.5 pro Million Tokens).

Wie rufe ich Inkling-2-Small · PrimeIntellect aus meinem Code auf?

Inkling-2-Small · PrimeIntellect bietet eine OpenAI-kompatible API unter https://router.huggingface.co/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: thinkingmachines/Inkling-2-Small:primeintellect. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.

Wie groß ist das Kontextfenster von Inkling-2-Small · PrimeIntellect?

Inkling-2-Small · PrimeIntellect verarbeitet bis zu 1.048.576 Tokens Kontext (Nachricht und Verlauf).

Welche Alternativen gibt es zu Inkling-2-Small · PrimeIntellect?

Ähnliche APIs im Katalog: Inkling-2-Mini · DeepInfra, Inkling-2-Mini · Io Net, Inkling-2-Mini · PrimeIntellect, Inkling-2-Small · Cloudflare, Inkling-2-Small · DeepInfra.

Alternativen