API des Modells thinkingmachines/inkling-2-small bei OpenRouter, $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
Inkling 2 Small is an open-weight multimodal mixture-of-experts reasoning model from Thinking Machines Lab, with 17B active parameters out of 594B total. It is the first model in the second...
- Typ
- Modell
- Anbieter
- OpenRouter
- Modell-ID
thinkingmachines/inkling-2-small- Preis
- Kostenpflichtig
- Preis Eingabe / Ausgabe
- $0.15 / $0.5 pro Million Tokens
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
OPENROUTER_API_KEY- Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1- Kontext
- 1.048.576 Tokens
- Eingaben
- Text, Bild
- Funktionen
- Reasoning, JSON-Ausgabe, Tool-Aufrufe
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://openrouter.ai/thinkingmachines/inkling-2-small
Codebeispiele
cURL
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model":"thinkingmachines/inkling-2-small","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://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
model="thinkingmachines/inkling-2-small",
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://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
model: 'thinkingmachines/inkling-2-small',
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 Thinking Machines: Inkling 2 Small kostenlos?
Nein: Thinking Machines: Inkling 2 Small ist eine kostenpflichtige API ($0.15 / $0.5 pro Million Tokens).
Wie rufe ich Thinking Machines: Inkling 2 Small aus meinem Code auf?
Thinking Machines: Inkling 2 Small bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: thinkingmachines/inkling-2-small. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.
Wie groß ist das Kontextfenster von Thinking Machines: Inkling 2 Small?
Thinking Machines: Inkling 2 Small verarbeitet bis zu 1.048.576 Tokens Kontext (Nachricht und Verlauf).
Welche Alternativen gibt es zu Thinking Machines: Inkling 2 Small?
Ä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
- Inkling-2-Mini · DeepInfra — Kostenpflichtig
- Inkling-2-Mini · Io Net — Kostenpflichtig
- Inkling-2-Mini · PrimeIntellect — Kostenpflichtig
- Inkling-2-Small · Cloudflare — Kostenpflichtig
- Inkling-2-Small · DeepInfra — Kostenpflichtig
- Inkling-2-Small · Fireworks — Kostenpflichtig
- Inkling-2-Small · Modal — Kostenpflichtig
- Inkling-2-Small · PrimeIntellect — Kostenpflichtig
- Inkling-2-Small · Together — Kostenpflichtig
- Inkling · Modal — Kostenpflichtig
- Inkling-2-Small · Nebius — Kostenpflichtig
- Inkling · Together — Kostenpflichtig