TensaHub › OpenRouter

AionLabs: Aion-RP 1.0 (8B)

API des Modells aion-labs/aion-rp-llama-3.1-8b bei OpenRouter, $0.8 / $1.6 pro Million Tokens, Kontext 32.768 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.

Im Katalog testen und bewerten

Aion-RP-Llama-3.1-8B ranks the highest in the character evaluation portion of the RPBench-Auto benchmark, a roleplaying-specific variant of Arena-Hard-Auto, where LLMs evaluate each other’s responses. It is a fine-tuned base model...

Typ
Modell
Anbieter
OpenRouter
Modell-ID
aion-labs/aion-rp-llama-3.1-8b
Preis
Kostenpflichtig
Preis Eingabe / Ausgabe
$0.8 / $1.6 pro Million Tokens
Zugang ohne Schlüssel
Nein
Schlüsselvariable
OPENROUTER_API_KEY
Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1
Kontext
32.768 Tokens
Eingaben
Text
Entwicklerbewertung
Noch nicht bewertet
Dokumentation
https://openrouter.ai/aion-labs/aion-rp-llama-3.1-8b

Codebeispiele

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"aion-labs/aion-rp-llama-3.1-8b","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="aion-labs/aion-rp-llama-3.1-8b",
    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: 'aion-labs/aion-rp-llama-3.1-8b',
  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 AionLabs: Aion-RP 1.0 (8B) kostenlos?

Nein: AionLabs: Aion-RP 1.0 (8B) ist eine kostenpflichtige API ($0.8 / $1.6 pro Million Tokens).

Wie rufe ich AionLabs: Aion-RP 1.0 (8B) aus meinem Code auf?

AionLabs: Aion-RP 1.0 (8B) bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: aion-labs/aion-rp-llama-3.1-8b. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.

Wie groß ist das Kontextfenster von AionLabs: Aion-RP 1.0 (8B)?

AionLabs: Aion-RP 1.0 (8B) verarbeitet bis zu 32.768 Tokens Kontext (Nachricht und Verlauf).

Welche Alternativen gibt es zu AionLabs: Aion-RP 1.0 (8B)?

Ähnliche APIs im Katalog: AionLabs: Aion 3.5 Mini, AionLabs: Aion 3.5, AionLabs: Aion-3.0-Mini, AionLabs: Aion-3.0, AionLabs: Aion-2.0.

Alternativen