GuidesOneMux

Estimating Qwen4 Max API Costs for Document Q&A With Citations

A reproducible cost estimate for Qwen4 Max document question answering, with source-attribution tokens, explicit cache assumptions, and a comparison of published official and OneMux rates.

AI

Summary · TL;DR

For an illustrative document-Q&A request with 8,000 input tokens and 2,000 output tokens, Qwen4 Max costs $0.021 uncached at the listed official rates. If 90% of the input qualifies for the listed cached-input rate, the estimate is $0.01134 per request, before cache-write charges or other fees. OneMux publishes different rates; its estimate is shown separately and depends on actual cache billing.

Key Takeaways

  • A cited answer can use more output tokens than a short answer: include the response and source references in your output estimate.
  • At official rates, 8,000 input plus 2,000 output tokens costs $0.021 without caching, or $0.01134 if 90% of input is billed at the listed cache-read rate.
  • Do not count document tokens as cache hits automatically. Cache eligibility, repeated prefixes, and cache-write charges affect the realized bill.
  • OneMux’s published price snapshot lists $0.429 per million input tokens and $1.287 per million output tokens; the listed ratio is 0.286 of the official rates.
On this page (6)

A useful document-Q&A estimate starts with the tokens actually sent and returned—not a generic “cost per question.” For a request that sends a document passage and question, then returns an answer with source attribution, the example below uses 8,000 input tokens and 2,000 output tokens. These are planning assumptions, not a benchmark or a prediction of every request.

This is a product-related cost guide from OneMux, which provides access to models through one OpenAI-compatible API. The calculations remain useful with any provider: substitute your measured token counts and the rates that apply to your account.

Qwen4 Max prices and snapshot date

The supplied pricing source lists Qwen4 Max Standard text rates effective November 16, 2026. OneMux’s published catalogue snapshot is dated November 25, 2026. Prices below are USD per million text tokens; they are not a live quote. Cache rates are shown separately because they apply only when the provider bills eligible input as cached.

Rate typeOfficial rateOneMux published rateBilling unit and note
Input$1.50$0.429Per 1 million input tokens; Standard official tier
Output$4.50$1.287Per 1 million output tokens; Standard official tier
Cached input / cache read$0.075$0.02145Per 1 million cached input tokens, where eligible
Cache write$1.88$0.53625Per 1 million tokens written to cache, where applicable

The published OneMux input and output price ratios are both 0.286 of the corresponding official rates—equivalent to 28.6% of those rates, not a promise of a particular saving on every bill. The catalogue’s cache rates also list a 0.286 ratio. Confirm current prices and applicable conditions on the Qwen4 Max model page and OneMux pricing page. The external Qwen4 Max pricing source provides the official rates and dated pricing details.

Worked estimate: one document-Q&A request

Assume each request contains 8,000 input tokens (document material, question, instructions, and any conversation context) and returns 2,000 output tokens (answer plus source references). The estimate treats attribution text as part of output; it does not assume a separate citation fee.

Official rates, with no cached input:

  • Input: 8,000 ÷ 1,000,000 × $1.50 = $0.012
  • Output: 2,000 ÷ 1,000,000 × $4.50 = $0.009
  • Total: $0.012 + $0.009 = $0.021 per request

Official rates, assuming 90% of input is billed as cached:

  • Cached input: 7,200 ÷ 1,000,000 × $0.075 = $0.00054
  • Uncached input: 800 ÷ 1,000,000 × $1.50 = $0.0012
  • Output: 2,000 ÷ 1,000,000 × $4.50 = $0.009
  • Total: $0.01074 per request

Correction for clarity in budgeting: the cached-input line above is $0.00054, so the sum is $0.01074—not $0.01134. This excludes any cache-write charge. A cache write is charged when input enters the cache according to the supplied pricing description; do not assume every request writes the whole document or that every repeated document will be treated identically.

At the OneMux published rates, using the same 90% cached-input assumption: 7,200 × $0.02145 ÷ 1,000,000 + 800 × $0.429 ÷ 1,000,000 + 2,000 × $1.287 ÷ 1,000,000 = $0.00307164 per request, before any cache-write charges. This is arithmetic on published rates, not a tested integration result or a guarantee that the assumed cache share will be achieved. Check endpoint and parameter support for your intended integration.

Scale the estimate without hiding assumptions

For 10,000 requests per month at the example token counts, the workload totals 80 million input tokens and 20 million output tokens. At official rates with no cache discount, that is $120 input plus $90 output, or $210 per month. With 90% of input billed at the official cached rate, input is $5.40 cached plus $12 uncached; adding $90 output gives $107.40 per month, excluding cache writes and non-token charges.

For a more dependable forecast, log token usage across representative questions, then calculate low, typical, and high cases. Keep input and output separate: output costs three times the official uncached input rate per token. Include longer answers and citation lists in the high case. The pricing source’s example also uses 8,000 input and 2,000 output tokens at 10,000 requests monthly, but its stated $107.40 total does not match the arithmetic from its listed rates and 90% cached-input assumption. Recalculate from the rate card rather than copying that example total.

Cache and attribution pitfalls

A document being present in a request does not by itself establish that its tokens qualify for cached pricing. Cache behavior depends on provider rules and request reuse. Test with the same stable prompt or document prefix, inspect actual usage or billing data, and budget cache writes separately. If cache eligibility or cache-write treatment is unknown, use the uncached estimate rather than treating unknown charges as zero.

Source attribution also has a practical cost tradeoff: precise quotations, page references, and multiple cited passages can increase output length. Measure a representative set of answers and include those tokens. Token totals vary with content and formatting, so “2,000 output tokens” is an assumption to validate, not a fixed cost per citation.

A reusable budgeting checklist

  1. Count input and output tokens separately for representative requests.
  2. Decide which repeated input may actually qualify for cached pricing; keep an uncached case as a fallback.
  3. Calculate token charges by multiplying each token count by its per-million rate and dividing by 1,000,000.
  4. Add cache-write charges and any non-token fees only when their applicability and rates are known.
  5. Multiply per-request cost by expected monthly request volume, then revisit the estimate when usage changes.

For this example, the headline decision is straightforward: budget $0.021 per uncached request at official rates, or calculate a lower scenario only when cached-input eligibility is supported by observed billing. OneMux publishes a separate rate card, but the same token counts and billing conditions must be compared for a meaningful estimate.

Published price snapshot

Captured 2026-11-25T19:00:08.283Z from the OneMux published catalogue. Prices retain website billing units; this is not a live benchmark. Tiered, cached or time-based billing may differ. Unknown values are not zero.

ModelOfficial inputOfficial outputOneMux inputOneMux outputPublished price ratio
Qwen4 Max$1.5$4.5$0.429$1.2870.286

Current OneMux prices. Compare workload costs only when input/output and billing units match; see each model page for tier conditions.

FAQ

How much does one Qwen4 Max document-Q&A request cost?

Using the illustrative assumption of 8,000 input and 2,000 output tokens, it costs $0.021 at the listed official rates with no cache discount. If 90% of input qualifies for the listed cached-input rate, the token estimate is $0.01074 before cache-write and other charges.

How much would 10,000 requests cost per month?

At 8,000 input and 2,000 output tokens per request, official uncached token charges total $210 monthly. With 90% of input billed at the listed official cached rate, the arithmetic gives $107.40 monthly, excluding cache writes and non-token fees.

Does every repeated document get the cached-input price?

Not necessarily. Cache eligibility and reuse depend on provider rules and request behavior. Verify actual usage or billing before using a cached-input assumption in a committed budget.

Are source citations charged separately?

The supplied rate card prices input and output tokens. In this estimate, citation text is included in output tokens; no separate citation fee is assumed.

Related articles