Qwen 3.8 Max API
Alibaba's flagship Qwen model for coding, collaborative work and long tasks. 1M context, tool calling and streamed thinking, through the OpenAI-compatible Chat Completions API.
API access
- Endpoint
- POST /v1/chat/completions
- Base URL
- https://api.apiko.app/v1
Speaks OpenAI Chat Completions; one APIKO key reaches every listed model.
Input price
12% off$2.00
$1.75
/ 1M tokens
Output price
12% off$6.00
$5.26
/ 1M tokens
Context
1M
Context window
Max output
32K
Max output tokens
Start testing Qwen 3.8 Max
Ask a question — the answer streams in, followed by token usage, latency and an estimated cost.
Qwen 3.8 Max API quickstart
Call Qwen 3.8 Max in the OpenAI Chat Completions format. Copy-ready cURL, Python and Node.js samples below.
Code sample
Endpoint:/v1/chat/completions
curl https://api.apiko.app/v1/chat/completions \
-H "Authorization: Bearer $APIKO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-max",
"messages": [{"role": "user", "content": "Hello"}]
}'Tip: set APIKO_API_KEY to a key created on the API keys page.
Works with the official SDKs — swap in the base URL, API key and model ID.
Full Qwen 3.8 Max API docsManage API keysOne APIKO key works across every listed model.
Qwen 3.8 Max API pricing
Billed on the input, output and cached tokens reported in usage; every price is per 1M tokens.
- Input tokens12% off
- $2.00$1.75/ 1M tokens
The prompt and context you send to the model
- Output tokens12% off
- $6.00$5.26/ 1M tokens
What the model generates, reasoning tokens included
- Cached input
- $0.21936/ 1M tokens
Qwen 3.8 Max API specs
Specs follow APIKO's public request contract first; anything it does not publish is taken from the model vendor's official docs, and shows as not disclosed only when neither publishes it.
- Streaming
- Supported
- Tool calling
- Supported
- Structured JSON
- Not disclosed
- Reasoning mode
- Supported
- Input modality
- text · image
- Output modality
- text
- Reasoning levels
- Not disclosed
- Max output
- 32K per response (16K on the free trial)
About Qwen 3.8 Max
Alibaba's flagship Qwen model for coding, collaborative work and long tasks. 1M context, tool calling and streamed thinking, through the OpenAI-compatible Chat Completions API.
APIKO serves this model at /v1/chat/completions. Try prompts and parameters in the playground on this page first, then connect your server with the same APIKO API key.
- Provider
- Alibaba
- Endpoint
- /v1/chat/completions
- Context window
- 1M
- Model ID
- qwen3.8-max
How to use Qwen 3.8 Max
The playground and the API share one model ID — three steps take you from trying a prompt to production calls.
Step 1
Try it online
Test the system prompt, output length and sampling settings in the playground.
Step 2
Manage API keys
Sign in to see your keys or create one; one key works across every listed model.
Step 3
Connect your server
Send requests to /v1/chat/completions and record cost from the usage field.
Compare Qwen 3.8 Max with other Alibaba models
Live APIKO prices per 1M tokens. Every model here works with the same API key — switch by changing the model ID.
| Model | Context window | Input | Output |
|---|---|---|---|
| Qwen 3.8 MaxThis pageqwen3.8-max | 1M | $1.75 | $5.26 |
| Qwen4-Maxqwen4-max | 1M | $1.10 | $3.30 |
Comparing models and price tiers?
See live prices for every modelQwen 3.8 Max API FAQ
How much does the Qwen 3.8 Max API cost?
On APIKO it costs $1.75 per 1M input tokens and $5.26 per 1M output tokens, with cache reads at $0.219. Alibaba Cloud Model Studio (international) lists $2 input, $6 output and $0.20 cache reads in a single tier (page updated 22 October 2026). Billing follows the tokens reported in usage, and the pricing section above shows the live rates.
What is the Qwen 3.8 Max model ID?
The model ID is qwen3.8-max. Send it as the model field to the OpenAI-compatible Chat Completions endpoint at https://api.apiko.app/v1/chat/completions.
How do I get an API key for Qwen 3.8 Max?
Create an APIKO account, open API keys in the dashboard and create a key. One key works for every model on APIKO. Send it as a Bearer token, or set the base URL of an OpenAI SDK to https://api.apiko.app/v1.
Is there a free Qwen 3.8 Max API?
There is no permanent free tier. A new APIKO account gets $0.20 of trial credit that works on every model, qwen3.8-max included. Output is capped at 16k tokens during the trial.
When was Qwen 3.8 Max released?
Alibaba announced it on 2 August 2026, in a post titled "Qwen3.8-Max: A New Bar for Coding and Cowork".
How many parameters does Qwen 3.8 Max have?
Alibaba describes it as a 2.4-trillion-parameter mixture-of-experts model.
What is the Qwen 3.8 Max context window?
1,000,000 tokens. Alibaba publishes no maximum output length for the model.
Does Qwen 3.8 Max think before answering?
Yes. Thinking is on by default and the reasoning streams back as separate output, so the first visible text can take around 30 seconds. APIKO has not verified any reasoning_effort levels for it.
Is Qwen 3.8 Max good for coding?
Alibaba built it for coding, collaborative work, research and long-running tasks. APIKO has not benchmarked it, so the trial credit is the quickest way to try your own prompts.
Does Qwen 3.8 Max support function calling and images?
Yes. Tool calling works through APIKO on the Chat Completions endpoint, and the model handles Chinese and English. It also reads images: send them as image_url parts, as a URL or a base64 data URL, and image tokens are billed at the input price. APIKO has not verified video input.
How does Qwen 3.8 Max compare with Kimi K3?
Both run on APIKO under one key and one endpoint, so switching is a change of model ID. Kimi K3 costs $0.900 input, $4.50 output and $0.0900 cache reads per 1M tokens on APIKO, below the rates above. Kimi lists it at $3 input and $15 output, with a context of 1,048,576 tokens, image and video input, and reasoning levels low, high and max.
Can I stream responses?
Yes. Set stream: true; for Chat Completions, also send stream_options.include_usage = true to receive usage in the final event.
What if a request fails?
You are not billed for failed or errored calls. Retry, and if it keeps failing, contact us via the live chat at the bottom right of the page.