Qwen 3.8 Max pricing

RouterHub token prices · USD per million tokens
Model / exact API IDVariantInputCached inputOutputContextAvailability
Qwen 3.8 Max
qwen3.8-max
standard$0.2$0.025$0.61,000,000 tokensavailable

Cache-write rate: $0.25 per million tokens.

Prices are USD per million tokens. Cached input uses the cache-read rate when a cache hit is reported.

Compare variants

RouterHub token prices · USD per million tokens
Model / exact API IDVariantInputCached inputOutputContextAvailability
Qwen 3.8 Max
qwen3.8-max
standard$0.2$0.025$0.61,000,000 tokensavailable
Qwen 3.8 Max Uncensored
qwen3.8-max-uncensored
uncensored$0.25$0.03125$0.751,000,000 tokenspreview

API compatibility and context

Exact model ID
qwen3.8-max
Variant
standard
Supported API
OpenAI-compatible Chat Completions
Availability
available
Context window
1,000,000 tokens
Maximum input
983,000 tokens
Maximum output
131,000 tokens

Use Qwen 3.8 Max through the API

Create a RouterHub account, add prepaid credits and create an API key. Set ROUTERHUB_API_KEY locally, then send a first request with the exact model ID below.

cURL

curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/chat/completions \
  -H "Authorization: Bearer $ROUTERHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3.8-max","messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}],"max_tokens":256}'

Python

Install openai with pip. The examples request 256 output tokens and disable automatic retries. Check Usage after completion or a timeout before resending a paid request.

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["ROUTERHUB_API_KEY"],
    base_url="https://routerhub.si/v1",
    timeout=600.0,
    max_retries=0,
)
response = client.chat.completions.create(
    model="qwen3.8-max",
    messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
    max_tokens=256,
)
print(response.choices[0].message.content)

Qwen 3.8 Max FAQ

What is Qwen 3.8 Max?

Qwen 3.8 Max is a Qwen language model served through RouterHub using the OpenAI-compatible Chat Completions API.

How much does Qwen 3.8 Max cost?

RouterHub charges $0.2 input / $0.025 cached / $0.6 output per million tokens. Usage is billed against your prepaid balance.

What is the Qwen 3.8 Max context window?

Context window: 1,000,000 tokens. Maximum input: 983,000 tokens. Maximum output: 131,000 tokens.

Which API does Qwen 3.8 Max support?

Use OpenAI-compatible Chat Completions with the exact model ID qwen3.8-max and your RouterHub API key.

Which variants can I compare with Qwen 3.8 Max?

Compare Qwen 3.8 Max with Qwen 3.8 Max Uncensored. The comparison table includes their input, cached input, output and context.

Explore models and setup