Qwen3.8 Flash

qwen/qwen3.8-flash
FeaturedZDR
VisionToolsJSONReasoning
by Qwen · 2026-08-26

Qwen3.8 Flash is a multimodal reasoning model from Alibaba. It is suited for coding assistance, agentic workflows, visual understanding, document and codebase analysis, desktop interaction, chart analysis, and long-video analysis.

Max output131K
Inputtext + image + video
Outputtext
p50 TTFT≥ 10 s
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Context window1Mtokens
INPUT$0.15/ 1M tokens
OUTPUT$0.47/ 1M tokens
p50 TTFT10.00 s7d
p95 TTFT10.00 s7d
TRAFFIC3179.9Mtokens / 7d

Pricing

Pricing
Input / 1M tokens$0.150
Output / 1M tokens$0.470
Cache read / 1M$0.018
Cache write / 1M$0.230
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $0.428 · With prompt caching $0.323

1.6M input × $0.15/M + 400K output × $0.47/M

Prompt caching assumes half of the input tokens are read from cache at $0.02/M.

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0002$0.171
Summarize a long doc30K / 1K$0.0050$4.97
Code review8K / 2K$0.0021$2.14

Token & cost estimator

Input tokens: 20Cost per request: $0.000238

Estimate only — actual token counts depend on the provider's tokenizer.

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="qwen/qwen3.8-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "qwen/qwen3.8-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
temperatureSampling randomness: lower is more focused, higher is more varied.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
top_pNucleus sampling: only consider tokens within this cumulative probability.

Full API reference

Use cases and examples

  • Long context — 1M-token context window: whole codebases, long reports or chat histories in one request.
  • Multimodal input — Takes text + image + video in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Reasoning — Works through a problem before answering: math, science and multi-step tasks.

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
≥ 10 s
#126 fastest of 140 models
Output speedHow many tokens per second the model streams once it starts answering.
402 tok/s
#17 fastest of 133 models
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
≥ 10 s
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
1.7%

Benchmarks

Source: Design Arena

Compare models

Qwen3.8 FlashQwen3.8 MaxQwen3.8 Max (0902)qwen/qwen3-max-preview
Input $/M$0.15$2.00$2.00$0.86
Output $/M$0.47$6.00$6.00$3.44
Context1.0M1.0M1.0M262K
Quality7/109/109/108/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

How much does Qwen: Qwen3.8 Flash cost on OrcaRouter?
Qwen: Qwen3.8 Flash is priced at $0.15 per 1M input tokens and $0.47 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is Qwen: Qwen3.8 Flash's context window?
Qwen: Qwen3.8 Flash supports a context window of 1M tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call Qwen: Qwen3.8 Flash via the OpenAI SDK?
Set OpenAI base_url to https://api.orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="qwen/qwen3.8-flash" in the chat.completions.create call.
Does OrcaRouter rate-limit Qwen: Qwen3.8 Flash?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.

Embed this badge

Qwen: Qwen3.8 Flash•$0.15/M in•10000ms p50•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/qwen/qwen3.8-flash" target="_blank"> <img src="https://www.orcarouter.ai/embed/qwen/qwen3.8-flash.svg" alt="Qwen: Qwen3.8 Flash on OrcaRouter" /> </a>
Markdown [![Qwen: Qwen3.8 Flash](https://www.orcarouter.ai/embed/qwen/qwen3.8-flash.svg)](https://www.orcarouter.ai/models/qwen/qwen3.8-flash)

Model card as data

GET /api/public/models/qwen/qwen3.8-flashOpen
Machine-readable:/llms.txt/llms-full.txt