Qwen 3.8 Flash & Qwen 4 Max API: Pricing, Caching & OpenAI SDK Guide

Call qwen3.8-flash ($0.1908/1M input, $0.0238 cache read), qwen4-max ($0.8364/1M), and qwen3.8-max through one OpenAI-compatible API key with no Alibaba Cloud account required.

Modelseed ·
ZERO-LOGIN LIVE TEST

Test live models side-by-side before signing up

Verify real model outputs, streaming TTFT, and exact USD token cost before creating an account. Pick 1 or 2 models to race live.

Free live tries left: 2 / 2
LIVE GATEWAY TELEMETRY · UPDATED EVERY 15 MIN

Measured latency, strict-JSON pass rate & live uptime

Published directly from Modelseed production relay telemetry and scheduled streaming JSON benchmark probes — real measured numbers, never synthetic estimates.

Measured 2026-11-27 06:49 UTC
30-day relay success rate99.52%
Measured relay volume6,498
Strict-JSON probes passing6 / 6
Monitored catalog models18
Model IDMeasured TTFTThroughputStrict JSON30d SuccessMeasured 1-req cost
deepseek-v4-1-flash1.99s39.8 tok/sPASS99.94% (6404)$0.00003
glm-5.3-flash4.31s298.1 tok/sPASSProbe OK$0.00005
qwen3.8-flash1.85s63.5 tok/sPASSProbe OK$0.00010
gpt-6.2-sol1.50s61.5 tok/sPASS100% (14)$0.00029
claude-opus-5-5-kiro5.59s188.3 tok/sPASS50% (20)$0.00165
Doubao-Seed-2.1-pro2.35s35.8 tok/sPASSProbe OK$0.00064
30-SECOND API QUICK START

qwen3.8-flash · Input $0.1908 · Output $0.6439 per 1M tokens

Get key + bonus
from openai import OpenAI
client = OpenAI(base_url="https://api.modelseed.dev/v1", api_key=os.environ["MODELSEED_API_KEY"])
res = client.chat.completions.create(model="qwen3.8-flash", messages=[{"role":"user","content":"Hello!"}])
Starter bonus: $0.20–$1.00 (200–1,000 credits) + +10% first-payment bonus · Lava from $1, USDT & Binance Pay · Qwen rates · Pricing calculator

Access Qwen 3.8 Flash and Qwen 4 Max without DashScope / Alibaba Cloud billing

Alibaba Qwen 3.8 Flash and Qwen 4 Max are rapidly gaining traction for multilingual coding, structured JSON extraction, and high-throughput workflows. Setting up Alibaba Cloud Model Studio / DashScope directly, however, requires separate cloud-account verification and region-specific endpoints.

Modelseed puts qwen3.8-flash, qwen4-max, and qwen3.8-max behind https://api.modelseed.dev/v1 with flat 24/7 pricing (no DeepSeek peak-hour doubling), $0.20–$1.00 free test credits on signup, and prepaid USDT / Binance Pay / Lava funding.

  • Three production Qwen routes under one key: qwen3.8-flash, qwen4-max, and qwen3.8-max.
  • Context pricing tiers up to 1M tokens with explicit & implicit cache-read discounts.
  • Zero Alibaba Cloud account setup — works straight from the standard OpenAI SDK.

Published Qwen USD token & cache pricing table

Compare all three live Qwen catalog models below. Note that qwen4-max sits at a sweet spot ($0.8364/1M input, $2.5093/1M output) between ultra-cheap qwen3.8-flash and legacy qwen3.8-max.

Modelseed Qwen catalog rates (USD per 1M tokens)
Model IDInput (no cache)OutputCache ReadCache Write (5m)
qwen3.8-flash$0.1908$0.6439$0.0238$0.2981
qwen4-max$0.8364$2.5093$0.0418$1.0455
qwen3.8-max$2.8618$8.5855$0.2385$3.5773

Looking for specific open-weight checkpoint sizes like Qwen 3.8 27B or Next? Run GET https://api.modelseed.dev/v1/models first to confirm exact live IDs — Modelseed publishes qwen3.8-flash, qwen4-max, and qwen3.8-max as managed production routes.

Node.js / TypeScript quickstart for Qwen 3.8 Flash & Qwen 4 Max

Switch between qwen3.8-flash for fast extraction and qwen4-max for deep synthesis by changing one string in your OpenAI client call.

TypeScript — Qwen 3.8 Flash via official openai package
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.MODELSEED_API_KEY,
  baseURL: "https://api.modelseed.dev/v1",
});

const completion = await client.chat.completions.create({
  model: "qwen3.8-flash",
  messages: [
    { role: "system", content: "Output strict JSON with keys: language, summary, risks." },
    { role: "user", content: "Summarize this TypeScript PR diff for release notes." },
  ],
});
console.log(completion.choices[0].message.content);

Frequently asked questions

Does Qwen 3.8 Flash have peak-hour surcharges like DeepSeek?

No. qwen3.8-flash, qwen4-max, and qwen3.8-max run on flat 24/7 token tariffs, making them ideal automatic fallbacks during DeepSeek China weekday peak hours.

Which Qwen model should I pick for coding: qwen3.8-flash or qwen4-max?

Start with qwen3.8-flash ($0.1908/1M input) for inline edits, log parsing, and tests; escalate to qwen4-max ($0.8364/1M input) for complex refactoring and multi-file planning.

Can I test Qwen API free without entering a credit card?

Yes. New verified Modelseed accounts receive $0.20–$1.00 in starter credits automatically, enough for millions of qwen3.8-flash tokens.

Does Modelseed support streaming and tool calling on Qwen routes?

Standard chat completions and streaming work via OpenAI SDK. Verify JSON mode and function/tool-calling payloads on your exact prompt against the specific Qwen route before production rollout.

Official references

BUILD WITH MODELSEED

From an idea to your first request.

One key and a familiar API. New verified accounts receive a $0.20–$1.00 welcome bonus (200–1,000 credits, 30 days) + 10% bonus on their first payment.

Get API key + bonus