Qwen4-Max API
Qwen4-Max by Qwen, through an OpenAI-compatible chat completions API.
qwen4-maxAPI 키 받기가격 백만 토큰당 USD
| 토큰 | 100만 토큰당 |
|---|---|
| 입력 | $2.5715 |
| 캐시된 입력 | $0.1286 |
| 캐시 쓰기 (5분) | $3.2143 |
| 캐시 쓰기 (1시간) | $5.1429 |
| 출력 | $7.7143 |
추론 토큰은 출력으로 청구됩니다. 각 응답의 usage에는 잔액에서 차감된 금액인 cost_usd가 포함되며, 답이 없는 요청은 $0.00입니다.
요청
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."}]}'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)아무 OpenAI SDK나 작동합니다. 베이스 URL을 https://api.revana.si/v1로 설정하세요. 스트리밍, 도구 등은 chat completions 문서에 있습니다.
상세
qwen4-maxPOST /v1/chat/completions경로 1개
현재는 경로가 하나입니다. 답을 받지 못한 요청은 청구되지 않습니다.
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.
요청이 실패하면 어떻게 되나요?
답을 받지 못한 요청은 비용이 없습니다.
Is Qwen4-Max on Revana the same model?
네. Revana는 요청을 Qwen의 모델에 그대로 전달하고, 보고된 사용량과 요청 비용과 함께 응답을 OpenAI 형식으로 반환합니다.
Qwen의 다른 모델
Every Qwen model and its price
- Qwen3.6-Flash $0.2469 in / $1.4809 out per 1M tokens
- Qwen3.6-Plus $0.4116 in / $2.4694 out per 1M tokens
- Qwen3.7-Flash $0.0412 in / $0.1646 out per 1M tokens
- Qwen3.7-Max $2.4685 in / $7.4054 out per 1M tokens
- Qwen3.7-Plus $0.4116 in / $1.6463 out per 1M tokens
- Qwen3.8 2.4T-A95B $2.4686 in / $7.4058 out per 1M tokens
- Qwen3.8 27B $0.6172 in / $2.4686 out per 1M tokens
- Qwen3.8-Flash $0.1646 in / $0.5555 out per 1M tokens