# Qwen3.8 Max

Qwen 3.8 Max is Alibaba's flagship mixture-of-experts model, with about 2.4 trillion parameters, aimed at long autonomous coding sessions and professional office tasks such as law and finance. It accepts text, images and video and replies in text.

- **Model id:** `opencheap/qwen3.8-max`
- **Price per 1M tokens:** $1.80 input / $5.41 output
- **Cached input:** $0.23 per 1M tokens
- **Context:** 1M tokens, 131K max output

## Providers

7 providers. Prices are per 1M tokens. As of 2026-12-04 11:57 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Success rate | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| AiHubMix · quantization unknown · Snapshot not stated | $1.69 | $0.17 | $5.07 | — | — | — | 1M | 131K |
| RelayGPU · quantization unknown · Snapshot not stated | $1.80 | $0.23 | $5.41 | 5.32 s | — | 100 % | 983K | 131K |
| NanoGPT · quantization unknown · Snapshot not stated | $2.00 | $0.25 | $6.00 | 1.99 s | 151 tok/s | 100 % | 991K | 65K |
| Sandbase · quantization unknown · Snapshot not stated | $2.00 | $0.25 | $6.00 | 1.52 s | 268 tok/s | 100 % | — | — |
| EmpirioLabs AI · quantization unknown · Snapshot not stated | $2.10 | $2.10 | $6.30 | 2.62 s | 46 tok/s | 100 % | 983K | 131K |
| Qubax · quantization unknown · Snapshot not stated | $2.12 | $0.26 | $8.47 | — | — | — | 1M | 131K |
| Surplus · quantization unknown · Snapshot not stated | $3.00 | $0.38 | $9.00 | 2.32 s | 49 tok/s | 100 % | 1M | 131K |

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **AiHubMix:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **RelayGPU:** `top_k`, `min_p`, `repetition_penalty` (temperature, stop, tools not confirmed)
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Sandbase:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **EmpirioLabs AI:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/qwen3.8-max#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/qwen3.8-max`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/qwen3.8-max", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/qwen3.8-max",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/qwen3.8-max",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Qwen3.8 Max

Qwen3.8 Max costs from $1.80 per 1M input tokens and $5.41 per 1M output tokens on OpenCheap, with cached input at $0.23 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.023, and 1,000 such requests about $23.42. Prices as of 2026-12-04 11:48 UTC.

7 providers serve Qwen3.8 Max on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.

Qwen3.8 Max is one of [110 Qwen models](https://opencheap.si/models/lab/qwen) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the Qwen3.8 Max API cost per 1M tokens?

Qwen3.8 Max costs from $1.80 per 1M input tokens and $5.41 per 1M output tokens on OpenCheap, with cached input at $0.23 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one Qwen3.8 Max request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.023, and 1,000 such requests about $23.42. Every answer reports its own cost in usage.cost.

### Which providers serve Qwen3.8 Max?

7 providers serve Qwen3.8 Max on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of Qwen3.8 Max?

Its context window is 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.

### How do I call the Qwen3.8 Max API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/qwen3.8-max. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Qwen

- [Qwen3.8 Max Thinking](https://opencheap.si/models/qwen3.8-max:thinking) (`qwen3.8-max:thinking`): $2.00 / $6.00 per 1M · 991K context
- [Qwen3.8 Flash](https://opencheap.si/models/qwen3.8-flash) (`qwen3.8-flash`): $0.14 / $0.44 per 1M · 1M context
- [Qwen 3 Coder 480B](https://opencheap.si/models/qwen3-coder) (`qwen3-coder`): $0.075 / $0.25 per 1M · 262K context
- [Qwen3 Coder Next](https://opencheap.si/models/qwen3-coder-next) (`qwen3-coder-next`): $0.03 / $0.20 per 1M · 262K context
- [Qwen3 235B A22B Instruct 2507](https://opencheap.si/models/qwen3-235b-a22b-2507) (`qwen3-235b-a22b-2507`): $0.0014 / $0.0075 per 1M · 262K context
- [Qwen3.6 27B](https://opencheap.si/models/qwen3.6-27b) (`qwen3.6-27b`): $0.0053 / $0.053 per 1M · 262K context
- [Qwen/Qwen3-32B](https://opencheap.si/models/qwen3-32b) (`qwen3-32b`): $0.0096 / $0.032 per 1M · 131K context
- [Qwen 2.5 7B](https://opencheap.si/models/e2ee-qwen-2.5-7b-p) (`e2ee-qwen-2.5-7b-p`): $0.052 / $0.14 per 1M · 32K context

[All 110 Qwen models](https://opencheap.si/models/lab/qwen)

## Similar models

- [Claude Sonnet 5](https://opencheap.si/models/claude-sonnet-5): Anthropic · 1M context · $1.10 / $5.50 per 1M · [Compare with Qwen3.8 Max](https://opencheap.si/compare/qwen3.8-max-vs-claude-sonnet-5)
- [Grok 4.7](https://opencheap.si/models/grok-4.7): xAI · 500K context · $1.26 / $5.03 per 1M, 9 % cheaper · [Compare with Qwen3.8 Max](https://opencheap.si/compare/qwen3.8-max-vs-grok-4.7)
- [GPT 5.4](https://opencheap.si/models/gpt-5.4): OpenAI · 1M context · $1.00 / $6.00 per 1M · [Compare with Qwen3.8 Max](https://opencheap.si/compare/qwen3.8-max-vs-gpt-5.4)
- [Fugu Max](https://opencheap.si/models/fugu-max): Sakana AI · 1M context · $1.88 / $5.64 per 1M · [Compare with Qwen3.8 Max](https://opencheap.si/compare/qwen3.8-max-vs-fugu-max)
- [GPT 6 Astra](https://opencheap.si/models/gpt-6-astra): OpenAI · 1M context · $1.00 / $5.00 per 1M, 11 % cheaper · [Compare with Qwen3.8 Max](https://opencheap.si/compare/qwen3.8-max-vs-gpt-6-astra)
- [Claude Opus 5.5](https://opencheap.si/models/claude-opus-5.5): Anthropic · 1M context · $2.00 / $10.00 per 1M · [Compare with Qwen3.8 Max](https://opencheap.si/compare/qwen3.8-max-vs-claude-opus-5.5)

[Compare Qwen3.8 Max with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/qwen3.8-max · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
