Qwen 3.8 Flash API: $0.15/$0.47, and the Reasoning Tokens That Bill You

Qwen 3.8 Flash is the cheapest output rate in the Flash tier at $0.47 per million. It is also a reasoning model, and a short max_tokens returns empty content you still pay for.

Qwen 3.8 Flash API: $0.15/$0.47, and the Reasoning Tokens That Bill You

Qwen 3.8 Flash bills $0.15 per million input tokens and $0.47 output — the cheapest output rate in the Flash tier. It is also a reasoning model, which is the part that catches people: send a short max_tokens and you get an empty string back, having paid for tokens you never saw.

Model ID:      bailian/qwen3.8-flash   (alias: qwen3.8-flash)
Price:         $0.15 in / $0.47 out per 1M
Context:       1,131,072 tokens
Max output:    131,072 tokens
Modality:      text + image → text
Endpoints:     /v1/chat/completions, /v1/responses
Parameters:    temperature, top_p, max_tokens, stop, tools,
               tool_choice, response_format, reasoning

Read from the live Ofox /v1/models endpoint on 6 September 2026. Behaviour below was measured against that endpoint the same day.

The Empty Response Everyone Hits First

We sent max_tokens: 30 and got back an empty string. Not an error — a successful response, billed:

{"content": "",
 "usage": {"prompt_tokens": 66, "completion_tokens": 30,
           "completion_tokens_details": {"reasoning_tokens": 30}}}

Thirty completion tokens, all of them reasoning tokens, nothing visible. The model spent the entire budget thinking before emitting a single character of answer.

Two fixes, both measured on the same prompt:

Configurationcompletion_tokensreasoning_tokenscontent
max_tokens: 303030"" — empty
max_tokens: 8002723"ok"
max_tokens: 50, effort: none1"ok"

Raising the ceiling works because the model only needed 27 tokens total; the 30-token cap cut it off mid-thought.

Turning reasoning off works better. For a prompt this trivial, effort: none produced the same answer in 1 token instead of 27 — a 27x reduction. On short-output work at scale, that is the difference between $0.47 per million and a small fraction of it.

The practical rule on any reasoning model: max_tokens has to cover reasoning plus the answer, and reasoning bills at the output rate whether you see it or not. Budgeting max_tokens as if it were answer length is how a working model looks broken.

Where $0.47 Sits in the Flash Tier

All rates from the live Ofox catalog, 6 September 2026:

ModelInput / 1MOutput / 1MContextMax output
bailian/qwen3.8-flash$0.15$0.471,131,072131,072
z-ai/glm-5.3-flash$0.15$0.501,048,576131,072
deepseek/deepseek-v4-flash-0731$0.44$1.321,000,000384,000
openai/gpt-5.6-luna$1.00$6.001,050,000128,000
google/gemini-3.8-flash$1.50$7.501,000,00065,536

Qwen 3.8 Flash and GLM-5.3 Flash are effectively tied — identical input rate, three cents apart on output. Between those two, price is not the deciding factor and you should test both on your actual task.

Against the rest of the tier the gap is large. Qwen 3.8 Flash is 2.8x cheaper on output than DeepSeek V4 Flash and 16x cheaper than Gemini 3.8 Flash.

Two things that gap does not tell you:

  • DeepSeek V4 Flash has an independent score and Qwen 3.8 Flash does not. DeepSeek V4 Flash 0731 carries 88.80% on vals.ai SWE-Bench Verified — higher than Claude Opus 4.8 — while Qwen 3.8 Flash is not on that leaderboard at all. You are paying less for a model with less public evidence behind it, which may be fine and is worth knowing.
  • DeepSeek V4 Flash allows a 384,000-token completion against Qwen’s 131,072. If you generate very long single outputs, that ceiling matters more than the rate.

What It Costs in Practice

At $0.15 / $0.47, with the reasoning caveat above folded in:

WorkloadTokensCost
10K short classifications (200 in / 20 out, effort: none)2M in / 0.2M out$0.39
10K short classifications (200 in / 300 out, reasoning on)2M in / 3M out$1.71
1M-token document, single pass1M in / 5K out$0.15

The first two rows are the same job. The difference is whether reasoning is on — roughly 4.3x on this shape of work. That is the number to internalise before you pick this model for a high-volume pipeline.

Calling It

curl -X POST https://api.ofox.io/v1/chat/completions \
  -H "Authorization: Bearer $OFOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bailian/qwen3.8-flash",
    "messages": [{"role": "user", "content": "Classify the sentiment: ..."}],
    "reasoning": {"effort": "none"},
    "max_tokens": 50
  }'

Read usage.completion_tokens_details.reasoning_tokens on your first few calls. If it is a large fraction of completion_tokens on work that does not need deliberation, effort: none is free money.

The model takes image input as well as text, so it also covers cheap vision work — captioning, OCR-adjacent extraction, screenshot classification — at a rate well below the vision-capable Flash models above.

When Not to Use It

  • You need an independent benchmark to justify the choice. Qwen 3.8 Flash is not on vals.ai SWE-Bench or the Artificial Analysis index. DeepSeek V4 Flash at $0.44 / $1.32 has a published 88.80%.
  • You generate very long single responses. The 131,072-token completion ceiling is a third of DeepSeek V4 Flash’s.
  • The work is genuinely hard. This is a Flash-tier model. If accuracy on complex reasoning decides your outcome, the frontier comparison covers what the extra money buys.
  • You are already on GLM-5.3 Flash. Three cents per million output is not a migration reason.

Sources

Prices, context lengths, completion ceilings, supported parameters and endpoints were read from the live Ofox /v1/models endpoint on 6 September 2026. The reasoning-token behaviour is from three live /v1/chat/completions calls against bailian/qwen3.8-flash the same day, identical prompt, differing only in max_tokens and reasoning.effort. That is a small sample on one route on one day rather than a specification — measure it on your own workload before sizing a pipeline around it. The SWE-Bench figure for DeepSeek V4 Flash is from vals.ai, leaderboard updated 2026-08-26.

Frequently Asked Questions

How much does Qwen 3.8 Flash cost?
$0.15 per million input tokens and $0.47 per million output tokens on Ofox as bailian/qwen3.8-flash, read from the live catalog on 6 September 2026. That output rate is the lowest in the Flash tier — GLM-5.3 Flash is $0.50, DeepSeek V4 Flash 0731 is $1.32, GPT-5.6 Luna is $6.00 and Gemini 3.8 Flash is $7.50.
Why does Qwen 3.8 Flash return empty content?
Because it is a reasoning model and your token ceiling was consumed by reasoning before any visible text was produced. We sent max_tokens 30 and got content back as an empty string with completion_tokens 30, all of it reasoning_tokens. Raise the ceiling or set reasoning effort to none. It is not a failure and you are still billed for those tokens.
How do I stop Qwen 3.8 Flash from using reasoning tokens?
Pass reasoning with effort set to none. On the same short prompt this took completion_tokens from 27 down to 1 in our testing — a 27x reduction on a trivial call. For classification, extraction, routing and other short-output work where you do not need deliberation, this is the single biggest cost lever on the model.
What is the context window of Qwen 3.8 Flash?
1,131,072 tokens of context with a 131,072-token maximum completion, per the live Ofox catalog. It accepts text and image input and returns text, and is available on both /v1/chat/completions and /v1/responses.
Is Qwen 3.8 Flash cheaper than DeepSeek V4 Flash?
Yes, by roughly 2.8x on output. Qwen 3.8 Flash is $0.15 / $0.47 against DeepSeek V4 Flash 0731 at $0.44 / $1.32. But DeepSeek V4 Flash carries a published 88.80% on vals.ai SWE-Bench Verified and Qwen 3.8 Flash is not on that leaderboard, so the cheaper rate comes without a comparable independent score.
What is the model ID for Qwen 3.8 Flash?
bailian/qwen3.8-flash on Ofox, with qwen3.8-flash as an alias. It supports temperature, top_p, max_tokens, stop, tools, tool_choice, response_format and reasoning.