# Qwen3.8 Max — API pricing & integration guide | Y-API

> Qwen3.8 Max is the flagship entry in the Qwen3.8 line: a large mixture-of-experts model with a 1M-token window that accepts text, image and video input. It shares the Qwen3.8 generation with the Flash model but sits a tier above it on price.

This is the markdown representation of https://y-api.bestvirtualgoods.com/models/qwen/qwen3.8-max. Generated by `scripts/generate-seo-assets.mjs` from the same copy the page renders — do not edit by hand.

Model ID: `qwen/qwen3.8-max`

Sources reviewed: 2026-10-11. Y-API catalog snapshot: 2026-10-11.

## Choosing this model

Selection advice by Y-API. The checks below are suggested evaluations, not published test results.

### Where to start

Reserve it for work where the cheaper Flash model has demonstrably failed: long documents that must stay coherent end to end, or multi-step analysis that has to hold several constraints at once.

### What to watch for

The listing is a rolling name rather than a dated snapshot, so behavior can shift under the same ID. Ten times the Flash input price is also a real budget decision — verify the gap on your own tasks before moving traffic over.

## Model specifications

These are OpenRouter model-level specifications, not a Y-API compatibility test. A particular route may accept fewer input formats, parameters or tokens. Verify the features you need with a small request; a successful text response does not validate vision or tool calling.

| Field | Value |
| --- | --- |
| Context window | 1,000,000 tokens |
| Input | Text, Image, Video |
| Output | Text |
| Listed on OpenRouter | 2026-09-03 |
| Parameters listed by OpenRouter | `frequency_penalty`, `include_reasoning`, `logprobs`, `max_tokens`, `presence_penalty`, `reasoning`, `reasoning_effort`, `response_format`, `seed`, `stop`, `structured_outputs`, `temperature`, `tool_choice`, `tools`, `top_k`, `top_logprobs`, `top_p` |

## API pricing & cost estimate

| Price basis | Input / 1M tokens | Output / 1M tokens |
| --- | --- | --- |
| Account credit | $2.00 | $6.00 |
| Cash equivalent | $0.20 | $0.60 |

$1 paid adds $10 of credit. Cash equivalent = credit consumed ÷ 10; this is not the model publisher’s list price.

Input tokens / request: 1000. Output tokens / request: 500. Number of requests: 1000.

Estimated credit consumed: $5.00. Estimated cash equivalent: $0.50.

Illustrative token budget, not measured usage or a quote. Includes input and output; excludes separate media charges, cache discounts and retries. Include billed reasoning tokens in your output budget where applicable. Actual billing follows usage returned by the service.

### Same token budget, different models

| Model | Estimated credit consumed | Estimated cash equivalent |
| --- | --- | --- |
| [Qwen3.8 Max](https://y-api.bestvirtualgoods.com/models/qwen/qwen3.8-max) | $5.00 | $0.50 |
| [Qwen3.8 Flash](https://y-api.bestvirtualgoods.com/models/qwen/qwen3.8-flash) | $0.45 | $0.045 |
| [GLM 5.3](https://y-api.bestvirtualgoods.com/models/z-ai/glm-5.3) | $3.90 | $0.39 |

[View LLM API pricing & billing](https://y-api.bestvirtualgoods.com/pricing)

## API integration examples

These minimal, text-only requests use the exact Y-API model ID. They do not demonstrate image, audio, video, file or tool support. The output limit also needs room for reasoning; an empty answer with finish_reason=length can mean the budget was exhausted.

Set the TOKEN environment variable to a key from your console. Run this on your server or locally; never expose a key in browser code or a public repository.

### A task to try

Read the attached policy document and list every clause that constrains data retention, quoting the sentence that states each one.

```bash
curl --fail-with-body --silent --show-error --max-time 120 \
  'https://api.y-api.bestvirtualgoods.com/v1/chat/completions' \
  -H "Authorization: Bearer ${TOKEN:?Set TOKEN first}" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'JSON'
{
  "model": "qwen/qwen3.8-max",
  "messages": [
    {
      "role": "user",
      "content": "Read the attached policy document and list every clause that constrains data retention, quoting the sentence that states each one."
    }
  ],
  "max_tokens": 4096
}
JSON
```

```python
import json
import os
import sys
import urllib.error
import urllib.request

payload = {
  "model": "qwen/qwen3.8-max",
  "messages": [
    {
      "role": "user",
      "content": "Read the attached policy document and list every clause that constrains data retention, quoting the sentence that states each one."
    }
  ],
  "max_tokens": 4096
}

request = urllib.request.Request(
    "https://api.y-api.bestvirtualgoods.com/v1/chat/completions",
    data=json.dumps(payload).encode("utf-8"),
    headers={
        "Authorization": "Bearer " + os.environ["TOKEN"],
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
    print(json.dumps(result, ensure_ascii=False, indent=2))
except urllib.error.HTTPError as error:
    print(error.read().decode("utf-8"), file=sys.stderr)
    raise SystemExit(1)
```

### How to evaluate the result

Every quoted clause should appear verbatim in the source and be genuinely about retention. Feed the same document to the Flash model and compare how many clauses each one misses.

## Before you choose

### Should I start with Max or Flash?

Start with Flash. Move to Max only when you can show a task where Flash fails and Max succeeds on the same inputs; the price difference is large enough that an unverified upgrade is hard to justify.

## Sources & scope

Technical facts come from the cited model page and, where available, its linked publisher card. A card describes that checkpoint; it is not proof of the weights a gateway serves. Prices come only from the Y-API catalog. We do not claim measured latency, uptime or benchmark scores for this endpoint.

- [OpenRouter model page & specifications](https://openrouter.ai/qwen/qwen3.8-max)
- [Publisher model card linked by OpenRouter](https://huggingface.co/Qwen/Qwen3.8-2.4T-A95B)
- [Y-API catalog & prices (JSON)](https://y-api.bestvirtualgoods.com/models.json)

## Models to compare

Compare these alternatives on the same inputs. Their descriptions explain different roles; a lower price does not establish equivalent quality.

### [Qwen3.8 Flash](https://y-api.bestvirtualgoods.com/models/qwen/qwen3.8-flash)

Qwen3.8 Flash is Alibaba’s multimodal reasoning entry for text, images and video in the OpenRouter catalog. It brings document and chart understanding into the same model selection as coding assistance and long-context analysis.

### [GLM 5.3](https://y-api.bestvirtualgoods.com/models/z-ai/glm-5.3)

GLM 5.3 builds on the GLM 5.2 base model with revised post-training for complex coding and long-running tasks. OpenRouter documents always-on reasoning for this entry, a meaningful distinction when budgeting output.

## Links

- HTML version of this page: https://y-api.bestvirtualgoods.com/models/qwen/qwen3.8-max
- Site index for agents: https://y-api.bestvirtualgoods.com/llms.txt
- Full reference (single file): https://y-api.bestvirtualgoods.com/llms-full.txt
- OpenAPI 3.1 spec: https://y-api.bestvirtualgoods.com/openapi.json
- Model catalog (JSON, no key needed): https://y-api.bestvirtualgoods.com/models.json
- API base URL: `https://api.y-api.bestvirtualgoods.com/v1`
- Contact: support@bestvirtualgoods.com
- Model catalog: https://y-api.bestvirtualgoods.com/models
- Integration guide: https://y-api.bestvirtualgoods.com/docs
