Qwentext경로 1개

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
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)

아무 OpenAI SDK나 작동합니다. 베이스 URL을 https://api.revana.si/v1로 설정하세요. 스트리밍, 도구 등은 chat completions 문서에 있습니다.

상세

모델 id
qwen4-max
제작사
Qwen
엔드포인트
POST /v1/chat/completions
컨텍스트 윈도우
992K tokens
최대 출력
13.1만 토큰
스트리밍
예 (서버 전송 이벤트)
경로
1

경로 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

에이전트를 위한 마크다운 버전도 있습니다. 모든 언어 모델과 가격: llms.json.