Qwentext1 Route

Qwen4-Max API

Qwen4-Max by Qwen, through an OpenAI-compatible chat completions API.

qwen4-maxAPI-Schlüssel holen

Preise USD pro Million Token

TokenPro 1 Mio. Token
Eingabe$2.5715
Zwischengespeicherte Eingabe$0.1286
Cache-Schreibvorgang (5 Min.)$3.2143
Cache-Schreibvorgang (1 Stunde)$5.1429
Ausgabe$7.7143

Reasoning-Token werden als Ausgabe abgerechnet. Die usage jeder Antwort enthält cost_usd, den von Ihrem Guthaben abgezogenen Betrag; eine Anfrage ohne Antwort kostet $0.00.

Anfrage

curl
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen4-max","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
Python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
    model="qwen4-max",
    messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)

Jedes OpenAI-SDK funktioniert: Setzen Sie die Basis-URL auf https://api.revana.si/v1. Streaming, Tools und alles Weitere stehen in der Dokumentation zu Chat Completions.

Details

Modell-ID
qwen4-max
Hersteller
Qwen
Endpunkt
POST /v1/chat/completions
Kontextfenster
992K tokens
Max. Ausgabe
131K Token
Streaming
Ja (Server-Sent Events)
Routen
1

1 Route

Heute eine Route. Eine Anfrage ohne Antwort wird nicht berechnet.

About the Qwen4-Max API

How much does the Qwen4-Max API cost?

Qwen4-Max costs $2.5715 per million input tokens, $0.1286 per million cached input tokens and $7.7143 per million output tokens on Revana. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.

How do I call Qwen4-Max from code?

Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "qwen4-max". POST /v1/chat/completions takes the OpenAI request body, streamed or not.

Was passiert, wenn eine Anfrage fehlschlägt?

Eine Anfrage ohne Antwort kostet nichts.

Is Qwen4-Max on Revana the same model?

Ja. Revana gibt Ihre Anfrage unverändert an das Modell von Qwen weiter und liefert dessen Antwort im OpenAI-Format zurück, mit der gemeldeten Nutzung und den Kosten der Anfrage.

Mehr von Qwen

Every Qwen model and its price

Auch als Markdown für Agenten. Jedes Sprachmodell und jeder Preis: llms.json.