MODELSEED / MODEL FAMILY

Qwen 4 Max & 3.8 Flash API Pricing, Keys & OpenAI SDK

Compare Qwen 4 Max, Qwen 3.8 Max & 3.8 Flash USD token and cache rates. Call via OpenAI SDK with $1–$2 free test credits and USDT, Binance Pay or Lava top-ups.

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
qwen3.8-flash1.85s63.5 tok/sPASSProbe OK$0.00010
qwen4-max2.34s39.1 tok/sMedia / Relay——
deepseek-v4-1-flash1.99s39.8 tok/sPASS99.94% (6404)$0.00003

Qwen API cost calculator

Choose a version and pricing tier. Enter total project input and output volumes; this estimate uses the published uncached rates.

Context tiers apply per request, not to the monthly token total. For DeepSeek, select the period. See the full table for cache and other components.

TEXT REQUEST ESTIMATEqwen3.8-flash$0.3518351.768 credits

1 × $0.1908 + 0.25 × $0.6439

Modelseed base rates. Actual usage determines charges. Payment fees and plan bonuses are excluded from this estimate.

All components and rates ↓

Choosing a version

Qwen is a language model family. Modelseed lists Qwen 4 Max, Qwen 3.8 Flash and Qwen 3.8 Max. Compare the versions on your own text, code or translation task before choosing.

Estimating cost

Compare Flash and Max on the same task and response limit. For long instructions, account for repeated input and caching; for long generated responses, focus on output tokens.

Models & rates

Exact model names and all published rate components.

Qwen 3.8 Flash

qwen3.8-flash
Text & code
modelseed rates by usage component
TierComponentPer unitPrice
Beijing · context ≤1MInput · no cache1M tokens$0.19079190.7895 credits
Beijing · context ≤1MOutput1M tokens$0.643915643.9146 credits
Beijing · context ≤1MExplicit cache write · 5 min1M tokens$0.298109298.1086 credits
Beijing · context ≤1MExplicit cache read1M tokens$0.02384923.8487 credits
Beijing · context ≤1MImplicit cache read1M tokens$0.02384923.8487 credits

Qwen 3.8 Max

qwen3.8-max
Text & code
modelseed rates by usage component
TierComponentPer unitPrice
Beijing · context ≤1MInput · no cache1M tokens$2.8618432,861.8426 credits
Beijing · context ≤1MOutput1M tokens$8.5855288,585.5279 credits
Beijing · context ≤1MExplicit cache write · 5 min1M tokens$3.5773033,577.3033 credits
Beijing · context ≤1MExplicit cache read1M tokens$0.238487238.4869 credits
Beijing · context ≤1MImplicit cache read1M tokens$0.35773357.7303 credits

qwen4-max

qwen4-max
Text & code
modelseed rates by usage component
TierComponentPer unitPrice
StandardInput · no cache1M tokens$0.836431836.4306 credits
StandardOutput1M tokens$2.5092922,509.2919 credits
StandardCache read1M tokens$0.04182241.8215 credits
StandardCache write1M tokens$1.0455381,045.5383 credits

Base rates from the active reference, shown in USD. Checkout confirms the final amount. A listed rate is not a route availability check. Check the console for current models and key permissions.

Get a key and connect Qwen API

Access Qwen through a Modelseed account and key. Payments fund your Modelseed balance; they do not top up your account on the model developer’s official website.

  1. 01

    Account and model

    Sign in, choose an exact ID and check key permissions. For video, images and agents, confirm the required format and mode first.

    Create an API key →
  2. 02

    Balance or plan

    For occasional use, choose a top-up: credits last 365 days. Pro, Max and Ultra add credits for 30 days. Model usage draws from your shared balance.

    Pay with Lava or USDT →
  3. 03

    A small test

    Create a project key, send a small request and check its output and actual usage in the console. Then connect your application workload.

    Create account and get key →

Qwen API with Python: first request

Install the package with python -m pip install openai. Set the MODELSEED_API_KEY environment variable on your computer or server, then run the example. The Base URL already includes /v1.

This Chat Completions example spends credits when run. Check Responses support for Codex and Messages support for Claude Code separately.

Node.js, cURL and environment setup →
Qwen / Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.modelseed.dev/v1",
    api_key=os.environ["MODELSEED_API_KEY"],
)

response = client.chat.completions.create(
    model="qwen3.8-flash",
    messages=[{"role": "user", "content": "Explain the difference between input and output tokens in two sentences."}],
    max_tokens=256,
)
print(response.choices[0].message.content)

Modelseed is an independent API service, not the official Qwen website. The active route determines model availability and supported features.

Before you connect

How do I get a Qwen API key in Modelseed?

Register with Modelseed and create a project key. For an OpenAI-compatible text request, set https://api.modelseed.dev/v1 and qwen3.8-flash or qwen3.8-max. Check balance and key permissions before generation.

How does caching affect Qwen cost?

The rate reference separates cache reads and creation. Repeating a similar prompt does not guarantee a cache hit. Budget from actual usage details instead of assuming the entire prompt will be cached.

Can I use Qwen for documents and translation?

Evaluate the text model on translation, summaries and drafts. Convert documents into a supported input format first; a text model does not imply automatic parsing of arbitrary PDFs or spreadsheets.

BUILD WITH MODELSEED

From an idea to your first request.

One key and a familiar API. New verified accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests before topping up.

Get your API key