All models
Qwen

Qwen3.8 MAX API: pricing, base URL and quick setup

Use Qwen3.8 MAX on A2Agent with model ID qwen3.8-max. The catalog lists a 1M context window. Check token rates below and verify the features your app needs.

Specifications and pricing

Model IDqwen3.8-max
PlatformQwen
Context window1M
Tagged forchat, reasoning
Discount-10%
Input / 1M tokens$2.00$1.80
Output / 1M tokens$6.00$5.40

USD per 1M tokens. Final billing depends on your API key group and metered usage.

What Qwen3.8 MAX costs on A2Agent

The official price is $2.00 input and $6.00 output per 1M tokens. On A2Agent it is $1.80 and $5.40. A month of 10M input and 2M output tokens costs $32.00 at the official price and $28.80 on A2Agent.

Quick setup

curl https://a2agent.me/v1/chat/completions \
  -H "content-type: application/json" \
  -H "authorization: Bearer sk-your-a2agent-key" \
  -d '{
    "model": "qwen3.8-max",
    "messages": [{"role": "user", "content": "Reply with OK"}]
  }'

Using it from a coding client

Best kept as the escalation model rather than the default. Point your client at a Flash release for routine turns and switch to MAX when a task stalls.

How it compares within its family

These comparisons use catalog context limits, tags and reference rates, not independent quality benchmarks. Rates can change. Check current pricing above and test your workload; a higher price or a larger context window does not establish better results.

Qwen3.8 MAX is the most expensive model in the Qwen family here, at $2.00 per million input tokens and $6.00 output, and one of the two carrying the reasoning tag. The other, Qwen3.7 MAX, lists at $1.70 and $5.10, about fifteen percent less, with the same 1M window and the same tag. The premium buys the later release, not more context. Below the MAX pair the line drops sharply: Plus at $0.50 to $1.20 on input, Flash from $0.15. That is a more than tenfold spread inside one platform, which is reason enough to reserve MAX for the calls that actually need it. Compare the cost and output quality on a representative set of requests.

Other models on this platform

Questions

What is the context window?

1M tokens, the same as every Qwen model here.

Is it worth the premium over Qwen3.7 MAX?

They share a window and a tag. Qwen3.8 MAX is the later release at about eighteen percent more on both sides.

Why is it so much more than the Flash tier?

Different tuning. The MAX models carry the reasoning tag; Flash carries chat and vision at roughly a tenth of the input rate.

Can I mix models on one key?

Yes, across every model in the group the key belongs to. Call GET /v1/models with the key to list them.

Billed per token. Top up from $5, no top-up fee.