Skip to content
OfferSign up and get $10 of credit for any model in Chat and the API. Top up from $1, with no processing fees. See free models →·Some free models are at the daily cap — refills 05:30 IST; requests auto-route to a live backup. Status →
One AI API Key

Qwen · Qwen · Flagship

Qwen3.8 Max

Discount −71%New

Qwen's flagship model for coding and professional work, with text, image and video input.

Model id

qwen3.8-max

Price per 1M tokens

Input
Regular rate $2.00now $0.577
Output
Regular rate $6.00now $1.73
Cached input
$0.2557% below input

71% below the market rate.

Added here 18 Oct 2026 — read the changelog for what changed and why.

Output is 3× the input rate. $1 covers about 693 prompts of 1,000 input + 500 output tokens. 1 credit = $1 of usage. All rates

Start using Qwen3.8 Max

Set ONEAIAPIKEY_API_KEY to a key from your console, then run any example. Streaming is on so long answers are not cut off by idle-connection timeouts.

curl https://api.oneaiapikey.com/v1/chat/completions \
  -H "Authorization: Bearer $ONEAIAPIKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-max",
    "stream": true,
    "messages": [{"role": "user", "content": "Turn these release notes into a 300-word changelog post for developers."}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oneaiapikey.com/v1",
    api_key=os.environ["ONEAIAPIKEY_API_KEY"],
)

stream = client.chat.completions.create(
    model="qwen3.8-max",
    messages=[{"role": "user", "content": "Turn these release notes into a 300-word changelog post for developers."}],
    stream=True,  # recommended for long outputs
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.oneaiapikey.com/v1",
  apiKey: process.env.ONEAIAPIKEY_API_KEY,
});

const stream = await client.chat.completions.create({
  model: "qwen3.8-max",
  messages: [{ role: "user", content: "Turn these release notes into a 300-word changelog post for developers." }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}

More: quickstart · API reference · try it in Chat first

Benchmarks reported by the vendor

Scores for Qwen3.8 Max as its maker published them, with the setting they state. We have not re-run them. Versions and settings differ between vendors, so compare only identical benchmark names; compare models side by side.

Tokens per day, by model

Last 7 days, UTC days

Hover, tap or drag across any day, or focus the chart and use the arrow keys, to see how every model did that day.

Real tokens served through this gateway, updated every 5 minutes. Ranked by usage, not quality.

Full ranking insights

Qwen line-up

Qwen3.8 Max or Qwen3.8 27B Groq or Step 5 Preview?

Of the 3 Qwen models on this site, Qwen3.8 Max is the top of the line-up and Qwen3.8 27B Groq the step down. Step 5 Preview from StepFun is the closest-priced flagship-tier model from another vendor. Each comparison lists the published rates and limits, then what favours each side.

Qwen3.8 MaxvsQwen3.8 27B Groq

Per 1M tokensQwen3.8 MaxQwen3.8 27B Groq
Context1M7.6× larger131.1k

Pick Qwen3.8 Max when

  • the task needs a higher tier: this catalogue places Qwen3.8 Max in the flagship tier and Qwen3.8 27B Groq in the fast tier.
  • prompts run past 131.1k tokens: Qwen3.8 Max reads up to 1M.
  • you rely on Vision, Reasoning and Prompt caching, which Qwen3.8 27B Groq does not list.
  • requests include screenshots or other images.
  • the work is coding projects, professional documents and video understanding, which this catalogue lists for Qwen3.8 Max and not for Qwen3.8 27B Groq.

Pick Qwen3.8 27B Groq instead when

  • a free model covers the work until the promotion ends.
  • your workload looks like coding, quick answers and agent tasks, labels the catalogue gives Qwen3.8 27B Groq only.

Qwen3.8 MaxvsStep 5 Preview

Per 1M tokensQwen3.8 MaxStep 5 Preview
Input$0.57718% less$0.70
Output$1.738% less$1.89
Cached input$0.252.5× as much$0.10
Context1Mthe same1M
Max output128k2× more64k

Pick Qwen3.8 Max when

  • cost per request decides it: Qwen3.8 Max charges input 18% less and output 8% less than Step 5 Preview.
  • one answer must be longer than 64k tokens (its limit is 128k).
  • you rely on JSON mode, which Step 5 Preview does not list.
  • the work is coding projects, professional documents and video understanding, which this catalogue lists for Qwen3.8 Max and not for Step 5 Preview.

Pick Step 5 Preview instead when

  • Qwen3.8 Max does not list Structured output and your code depends on it.
  • your workload looks like agents, software engineering and research, labels the catalogue gives Step 5 Preview only.

Use cases

What Qwen3.8 Max is listed for, and what it costs

The catalogue lists Qwen3.8 Max for coding projects, professional documents and video understanding. Rows with a price show one typical request at the published rates, with the arithmetic shown. The market-rate figure shows the same request at the lowest public price elsewhere. Token counts are examples; your prompts will differ.

Model your own traffic

  1. Coding projects

    Implementing a function or endpoint: 8,000 tokens of context in, 2,000 tokens of code out.

    “Write a TypeScript endpoint that returns paginated orders for the signed-in user.”

    Same request on Qwen3.8 27B Groq $0 and Step 5 Preview $0.00938.

    $0.008076

    per task, about 1,238 per $10

    $0.028 at the market rate

    0.008 × $0.577 + 0.002 × $1.73

  2. Professional documents

    A brief plus source notes: 3,000 tokens in, a draft of roughly 1,200 words (1,600 tokens) out.

    “Turn these release notes into a 300-word changelog post for developers.”

    Same request on Qwen3.8 27B Groq $0 and Step 5 Preview $0.005124.

    $0.0045

    per draft, about 2,222 per $10

    $0.0156 at the market rate

    0.003 × $0.577 + 0.0016 × $1.73

  3. Video understanding

    The cost depends on the length and resolution of what you send, so no typical request is priced here.

Overview

When Qwen3.8 Max fits

Qwen3.8 Max is a flagship model from Qwen, available here under the exact model id “qwen3.8-max”. It heads the Qwen line-up here, above Qwen3.8 27B Groq and Qwen3.8 27B. Qwen has not published a release date we can cite; it has been available here since 18 Oct 2026.

Qwen documents tools, vision, reasoning, json mode and prompt caching for it, and it reads images as well as text.

It costs $0.577 per million input tokens and $1.73 per million output tokens, so output is 3× the input rate. That is 71% below the market rate of $2 input and $6 output per million tokens, the lowest public price we found at other API gateways. On the use cases below, output makes up 43% of the bill for coding projects and 62% for professional documents, so trimming the context you send saves more than capping the answer. With a 3:1 input-to-output mix it ranks 12th lowest-cost of the 27 models on this site.

Cached input bills at $0.25 per million tokens, 57% below the standard input rate, which pays off when the same system prompt or documents go out on every request.

It is served through the OpenAI-compatible format at https://api.oneaiapikey.com/v1, so any SDK or tool that lets you set a custom base URL, for example Codex CLI, Cursor and Cline, can use it. It is not offered on the Anthropic Messages endpoint; pick an Anthropic-format model for Claude Code.

Use Qwen3.8 Max with any balance.

Qwen3.8 Max is a paid model: any balance above $0 pays for it, the $10.00 sign-up credit included. When it runs out, add $1 or more to your wallet. Every request is billed at the rates above, with a receipt in your usage log.

Qwen3.8 Max is developed by Qwen. Model names and trademarks belong to their owners. One AI API Key is an independent API gateway and is not affiliated with, endorsed by or sponsored by Qwen.