Qwen4 35B input costs $0.06 per million. Thinking can change the bill
Qwen4 lands on OpenRouter at $0.06 input and $0.36 output per million tokens. Audit default reasoning and provider limits before switching.

Qwen4 has reached OpenRouter with a headline rate of $0.06 per million input tokens and $0.36 per million output tokens for its 35B A3B model. Those rates are in OpenRouter's live model catalog, checked December 4. The same record exposes the catch developers should inspect before swapping model names: reasoning is enabled by default at high effort, and thinking consumes billable output tokens.
That does not make the model expensive. It makes a budget based only on the answer length incomplete. For a classifier returning ten words, or an agent doing hundreds of small steps, the difference deserves a test before a rollout. Our recommendation is to evaluate cost per accepted result with an explicit reasoning setting, then choose the provider route. The lowest input price alone cannot make that decision.
Qwen4 pricing: cheap input is only half the calculation
The catalog identifies the model as qwen/qwen4-35b-a3b, with text, image and video input and text output. It lists a 1,048,576-token context window. Its reasoning metadata allows xhigh, high, low and none, with high selected by default and reasoning marked optional. These are gateway settings, not a requirement to use the maximum thinking effort.
Qwen's own model card independently confirms high thinking as the default. It describes 35 billion model parameters with 3 billion activated, plus separate n-gram embeddings and multi-token prediction parameters, and an Apache 2.0 license. The weights give teams a self-hosting option, but this article's prices apply to hosted API inference. They say nothing about the hardware cost of running the checkpoint yourself.
The billing rule matters more than the model's size. OpenRouter's reasoning documentation says thinking tokens are charged as output. Hiding them with reasoning.exclude does not stop their generation or billing. A clean response in your application can therefore conceal a larger token count underneath it.
Here is an original budget calculation, not a measured model run. Assume 100,000 requests, each with 2,000 uncached input tokens and a 500-token visible answer. Hold the provider's rates at $0.06 input and $0.36 output per million throughout:
| Assumed usage across 100,000 requests | No thinking tokens | 1,500 thinking tokens per request |
|---|---|---|
| Input: 200 million tokens | $12 | $12 |
| Visible answers: 50 million tokens | $18 | $18 |
| Thinking: zero or 150 million tokens | $0 | $54 |
| Total inference cost | $30 | $84 |
The second scenario costs 2.8 times as much while delivering the same visible answer length. That is arithmetic under stated assumptions, not a claim that high effort always produces 1,500 thinking tokens. Actual usage, cache behavior, retries and provider selection will change the result. These figures exclude credit-purchase fees and taxes.
For a task that needs deeper reasoning, the additional $54 could be money well spent. If it prevents enough failed tool calls or wrong answers, it may lower the cost per successful job. The decision turns on acceptance rate, not whether one column is larger.
One model name, different provider contracts
We also queried OpenRouter's endpoint inventory. The December 4 snapshot contains five endpoint entries across three provider names. Here are their advertised token prices and completion ceilings. Prices are USD per million tokens; ceilings are tokens, not measured answer lengths.
| Endpoint tag | Input / output | Maximum completion | Structured outputs advertised |
|---|---|---|---|
primeintellect/flex | $0.03 / $0.18 | 65,536 | Yes |
primeintellect/fp8 | $0.06 / $0.36 | 65,536 | Yes |
morph/fp8 | $0.06 / $0.36 | 131,072 | No |
alibaba | $0.06 / $0.36 | 131,072 | Yes |
primeintellect/fast | $0.12 / $0.72 | 65,536 | Yes |
Flex and priority are separately labeled service tiers in that response. Their presence does not establish an equivalent latency or availability guarantee. The inventory returned null recent latency and throughput fields for these entries, so we cannot substantiate a speed ranking from this snapshot. Treat the tags as routes to evaluate, not benchmark winners.
The practical mismatch is easy to miss: an application requesting schema-constrained output and a long completion cannot treat every row as interchangeable. Alibaba's listed context ceiling is also 1,000,000 tokens, slightly below the 1,048,576 shown for the other entries. Leave room when testing requests near either boundary.
OpenRouter's provider-routing documentation explains that default selection considers price, throughput, latency and reliability. It also exposes require_parameters, which defaults to false, and max_price, whose prompt and completion values use dollars per million tokens. These controls let you express an application requirement rather than assume the model-level capability list applies identically to every host.
Audit the route before changing application code
This read-only Python command uses the public inventory and needs no API key. We ran it successfully while preparing this story. It prints each route's prices, context, output ceiling and structured-output flag, making future changes visible without relying on a saved screenshot:
python3 - <<'PY'
import json
from decimal import Decimal
from urllib.request import urlopen
url = "https://openrouter.ai/api/v1/models/qwen/qwen4-35b-a3b/endpoints"
with urlopen(url, timeout=30) as response:
endpoints = json.load(response)["data"]["endpoints"]
def per_million(value):
if value is None:
return "unknown"
return str(Decimal(value) * 1_000_000)
for endpoint in endpoints:
price = endpoint["pricing"]
print({
"route": endpoint.get("tag", endpoint["provider_name"]),
"tier": endpoint.get("service_tier"),
"input_per_million": per_million(price.get("prompt")),
"output_per_million": per_million(price.get("completion")),
"context": endpoint["context_length"],
"max_completion": endpoint.get("max_completion_tokens"),
"structured_outputs": "structured_outputs" in
endpoint.get("supported_parameters", []),
})
PYThe result verifies advertised configuration, not serving quality. It does not send a generation request, test schema adherence or measure latency. A successful inventory lookup is a prerequisite for an evaluation, not evidence that your agent will work.
For a controlled application trial, explicitly set reasoning, require parameter support, and constrain prices. This is an illustrative fragment to merge into a Chat Completions request, not a complete request or a generation test we performed:
{
"model": "qwen/qwen4-35b-a3b",
"reasoning": { "effort": "none" },
"max_tokens": 2048,
"provider": {
"require_parameters": true,
"max_price": { "prompt": 0.06, "completion": 0.36 }
}
}Repeat with low and high on the same task set. The ceiling filters acceptable token prices; it does not impose a monthly spending limit. Requiring parameters can also narrow eligible routes enough for a request to fail. Make that failure visible in your test harness.
What to do
Start with one bounded workload, such as extracting fields from support tickets or classifying build failures. Use examples with known answers, keep prompts and acceptance rules fixed, and compare none, low and high effort. Record total input, total completion tokens, reported reasoning tokens, latency, retries and whether the final result passed your check. Avoid counting reasoning twice when it is already included in completion usage.
For an agent, evaluate whole tasks rather than isolated turns. Qwen's model card specifically cautions that lower effort can lead to more retries and greater overall token consumption. A faster individual response is not necessarily a faster completed job. Include at least one case where a tool fails and the model must recover, because that is where a cheap happy-path demonstration stops being useful.
If your feature depends on structured outputs, test the schema against the actual route and enforce that capability in routing. If it needs unusually long responses, validate the provider's completion ceiling separately from the context window. Keep a hard application limit on agent steps so repeated attempts cannot run indefinitely.
Our verification covered public metadata, the provider audit and the budget arithmetic. We did not benchmark generated code, tool accuracy or production speed. The release earns a place in a cost-sensitive evaluation. Moving production traffic should depend on whether it completes your specific work reliably at a lower total cost.


