Qwen3.8-Max

The flagship Qwen 3.8 model supports reasoning, coding, long-running agent tasks, visual understanding, and a 1M-token context window.

Model ID: qwen3.8-max · Type: chat · Provider: Alibaba

Endpoints: /v1/chat/completions · /v1/messages · /v1/responses

Pricing

Input (per 1M tokens)$1.2 USD
Output (per 1M tokens)$3.6 USD
Cache read implicit (per 1M tokens)$0.15 USD
Cache read explicit (per 1M tokens)$0.102 USD
Cache write 5m (per 1M tokens)$1.5 USD

Capabilities

import os

from openai import OpenAI

client = OpenAI(api_key=os.environ["ROUTER_API_KEY"], base_url="https://api.router.ai/v1")
resp = client.chat.completions.create(
    model="qwen3.8-max",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

FAQ

How much does Qwen3.8-Max cost on token123?

Qwen3.8-Max (`qwen3.8-max`) is billed per usage at $1.2/1M in · $3.6/1M out, in USD. Current pricing is always listed at https://www.token123.io/models/qwen3.8-max.

How do I call Qwen3.8-Max through token123?

Send a request to https://api.router.ai/v1/chat/completions with the header `Authorization: Bearer <your API key>` and `"model": "qwen3.8-max"`. The API is OpenAI-compatible, so any OpenAI SDK works by changing base_url to https://api.router.ai/v1 — no other code change.

Which endpoints does Qwen3.8-Max support?

Qwen3.8-Max can be called on: /v1/chat/completions; /v1/messages; /v1/responses.

What is Qwen3.8-Max's context window?

Qwen3.8-Max accepts up to 991,808 input tokens and can return up to 131,072 output tokens. Requests exceeding the input limit are rejected before reaching the model.

What can Qwen3.8-Max do?

Qwen3.8-Max supports: vision, function_calling, prompt_caching, reasoning, thinking, streaming.

Who makes Qwen3.8-Max?

Qwen3.8-Max is a chat model from Alibaba, available through the token123 gateway with the same API key as every other model.

Call it through the token123 OpenAI-compatible endpoint (API base: https://api.router.ai/v1). AI agents can browse the catalog and call any text model through MCP (https://mcp.router.ai/mcp); for image, video and other modalities use the API above.

API reference · All models