import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="orca/orcacyber-ultra-1.0-ent",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)| Eingabe / 1M Tokens | $4.25 |
|---|---|
| Ausgabe / 1M Tokens | $8.50 |
| Cache-Lesen / 1M | $0.637 |
| Währung | USD |
Schätzung auf Basis des Listenpreises
Nur eine Schätzung — die tatsächliche Token-Anzahl hängt vom Tokenizer des Anbieters ab.
Worüber Entwickler diese Woche sprechen
GET /api/public/models/orca/orcacyber-ultra-1.0-entÖffnen @misc{orcarouter_orcacyber_ultra_1_0_ent,
title = {orca/orcacyber-ultra-1.0-ent API},
author = {orca},
year = {n.d.},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/orca/orcacyber-ultra-1.0-ent}
}orca. (n.d.). orca/orcacyber-ultra-1.0-ent API. OrcaRouter. https://www.orcarouter.ai/models/orca/orcacyber-ultra-1.0-ent