Qwen OCR Pricing: API Cost, Regional Rates, and Self-Hosting Compared

Alibaba prices the dedicated qwen-vl-ocr model at $0.043 per million input tokens and $0.072 per million output tokens, which is roughly $0.16 per 1,000 US Letter invoice pages and the cheapest published document OCR rate we can verify anywhere. The catch is that the rate card is four tables, one per region, and the Singapore endpoint every tutorial uses charges up to 150% more for the identical model. This page has the full rate card, the image token math behind the per-page cost, and the four things about Qwen OCR that only bite US buyers. Upload an invoice below to see typed fields and line items instead of raw text.

PDF, JPG, PNG, BMP, HEIC, TIFF

Upload your invoices

Rates read from Alibaba docs 23 August 2026
Image token math shown in full
US region and residency caveats covered
No PDF input on the model you can buy

Why Qwen OCR pricing is hard to pin down

Qwen publishes real numbers, which already beats most enterprise document vendors. The difficulty is that the same model ID carries different prices in different Alibaba regions, the newest OCR model is not sold outside mainland China, and a token rate tells you nothing until you know how many visual tokens an invoice page becomes.

The rate card is four tables, not one

Alibaba publishes separate pricing for Singapore, China (Beijing), Germany (Frankfurt) and US (Virginia). qwen3-vl-8b-instruct is $0.18 per million input tokens in Singapore and $0.072 in US (Virginia). Same model, same output, 150% difference, and nothing in the API response warns you.

Token rates are not page rates

Qwen bills images as visual tokens at 32 by 32 pixels each. A 150 DPI Letter page is 2,080 tokens and a 300 DPI page is 8,058. Until you do that conversion, a per-million-token price cannot be compared with a flat per-page price like Mistral OCR or Azure Document Intelligence.

The model Alibaba recommends is not for sale here

Alibaba's docs advise migrating to Qwen3.5-OCR for better document parsing and native PDF support. On the rate card, qwen3.5-ocr is listed for the Chinese mainland only. US buyers get qwen-vl-ocr, which takes no PDF input and retains no context between calls.

Structured extraction is tuned for the wrong documents

The built-in information extraction task supports Chinese passports, travel permits, driver's licenses, vehicle registration certificates and motor vehicle sales invoices. No US commercial invoice, W-9, 1099 or purchase order. For US vendor bills you are prompting general text recognition and parsing it yourself.

What you get for the money, and what you still have to build

Qwen OCR is an outstanding raw-text engine at a price nothing else on the market matches. Understanding exactly where its job ends is what stops a cheap API from becoming an expensive project.

Genuinely the cheapest published rate

At $0.16 per 1,000 pages under Global scope, qwen-vl-ocr undercuts Gemini Flash-Lite, GPT-5 nano and DeepSeek vision, and is 62 times cheaper than Azure prebuilt-invoice. The number is real and it is on Alibaba's own rate card.

Resolution actually reaches the model

The default ceiling is 8,388,608 pixels, so a 300 DPI US Letter scan arrives about 1% downscaled. Unlike DeepSeek's hosted vision endpoint, which crushes every page to roughly 83 DPI, a better scan genuinely helps here.

Apache 2.0 open weights alongside it

Every Qwen3-VL size from 2B to 235B is Apache 2.0 on Hugging Face, with an express patent grant. You can prototype on the API and move to self-hosted weights without a license renegotiation.

But you build the invoice layer

No PDF input, no typed invoice schema, no line item model, no US data residency option on the OCR model, a fixed system message and a 4,096 token output ceiling that takes a sales email to raise. Text out, everything else on you.

How to price a Qwen OCR project properly

Four steps that turn a per-million-token rate into a number you can put in a budget.

1

Pick your region before you write code

Create the Model Studio workspace in US (Virginia) rather than accepting the Singapore default from the quickstart. On qwen3-vl-8b-instruct that alone cuts your input rate from $0.18 to $0.072 per million tokens.

Tip: API keys are region-specific, so switching later means reissuing keys and changing base URLs.

2

Count the visual tokens in your real documents

Divide each page dimension by 32, round to whole tokens, multiply. A 150 DPI Letter page is 2,080 visual tokens; a 300 DPI page is 8,058. Run this on a sample of your actual invoices, not on an idealized page.

Tip: Set max_pixels explicitly instead of relying on the 32 * 32 * 8192 default, so cost cannot drift with scanner settings.

3

Measure your output length, because it dominates

Output is billed 1.7x to 20x higher than input depending on the model. Run 50 real invoices, record the average completion length, and use that figure rather than a guess. Then check it against the 4,096 token default ceiling.

Tip: Choose an Instruct edition, never a Thinking edition. Thinking triples output cost and adds nothing to a perception task.

4

Add the parts the token rate does not cover

PDF rendering and page splitting, prompt maintenance, JSON schema validation, line item reconstruction, retry logic, and a human review path for the low-confidence pages Alibaba warns about. This is the real budget, and it dwarfs the API line.

Tip: Price a finished tool against your fully loaded build estimate before committing engineers.

Qwen OCR pricing in full

Every rate below was read from Alibaba Cloud Model Studio documentation, the Hugging Face model API and OpenRouter's live model API on 23 August 2026. No figure here is estimated except where the arithmetic is shown.

Engineering teams pricing an OCR build

You need cost per 1,000 pages, not cost per million tokens, and you need to know which region to provision before you ship. Both are on this page with the math shown.

Buyers with data residency requirements

qwen-vl-ocr has no US-pinned deployment. If document images must stay on US infrastructure, this page shows the one Qwen path that qualifies and what it costs.

Finance leads comparing quotes

A 60x spread between Qwen and Azure prebuilt-invoice is not a pricing error. This page explains exactly what the extra money buys and when it is worth paying.

AP teams that just need the data

If nobody on your team wants to own an image tokenizer, a prompt library and a line item parser, the token rate was never the expensive part of the project.

Common Search Terms

qwen ocr pricing qwen ocr api qwen ocr cost qwen vl ocr pricing qwen3 vl pricing qwen ocr local qwen ocr pdf qwen ocr benchmark qwen ocr vs deepseek ocr qwen ocr free

Document Types We Handle

Vendor invoices
Purchase orders
Remittance advice
Utility bills
Freight invoices
Credit memos

Qwen OCR pricing at a glance

Alibaba publishes a real, public rate card for every Qwen vision model, which already puts it ahead of most enterprise document vendors. The catch is that the rate card is not one table. It is four, one per region, and the same model ID can cost you two different amounts depending on which endpoint your API key was issued in.

Qwen OCR and Qwen3-VL rates, US (Virginia) region

These are the rates a US buyer gets when they create their Model Studio workspace in US (Virginia). All figures are USD per 1 million tokens, read from Alibaba's model pricing documentation on 23 August 2026.

Model IDScopeInput / 1MOutput / 1M
qwen-vl-ocrGlobal$0.043$0.072
qwen3-vl-flashGlobal$0.022$0.215
qwen3-vl-flash-usUS$0.05$0.40
qwen3-vl-plusGlobal$0.143$1.434
qwen3-vl-8b-instructGlobal$0.072$0.287
qwen3-vl-32b-instructGlobal$0.16$0.64
qwen3-vl-235b-a22b-instructGlobal$0.287$1.147

The flash and plus models are tiered by context length. The rates above are the 0 to 32K tier, which is where a single invoice sits. Above 32K the rate rises, and above 128K it rises again.

The same models, Singapore region

Singapore is the deployment Alibaba labels "International", and it is the one nearly every tutorial, SDK sample and blog post uses, because the sample base URL in the docs points at ap-southeast-1. It is also the most expensive place to buy Qwen.

Model IDSingapore in / outUS (Virginia) in / outWhat Singapore costs you
qwen-vl-ocr$0.07 / $0.16$0.043 / $0.07263% more input, 122% more output
qwen3-vl-flash$0.05 / $0.40$0.022 / $0.215127% more input, 86% more output
qwen3-vl-plus$0.20 / $1.60$0.143 / $1.43440% more input, 12% more output
qwen3-vl-8b-instruct$0.18 / $0.70$0.072 / $0.287150% more input, 144% more output
qwen3-vl-32b-instruct$0.16 / $0.64$0.16 / $0.64identical
qwen3-vl-235b-a22b-instruct$0.40 / $1.60$0.287 / $1.14739% more input, 39% more output

The single most expensive mistake on this rate card: running qwen3-vl-8b-instruct against the Singapore endpoint because that is what the quickstart showed. You pay $0.18 per million input tokens instead of $0.072, for byte-identical output. On a workload of 50,000 invoice pages a month that gap is real money, and nothing in the API response tells you that you overpaid.

What Qwen OCR actually costs per 1,000 invoice pages

Token rates are not a price. What you care about is the bill for a thousand pages, and to get there you need Qwen's image tokenizer.

Qwen3-VL uses a patch size of 16 with a merge size of 2, so one visual token covers a 32 by 32 pixel block of the resized image. Alibaba's own SDK samples express the ceiling as max_pixels: 32 * 32 * 8192, which is 8,388,608 pixels, or 8,192 visual tokens. The image is scaled so its dimensions are multiples of 32, then tokenized.

Running that on a US Letter page:

Scan resolutionPixel dimensionsTokenized asVisual tokens
150 DPI1275 x 16501280 x 16642,080
200 DPI1700 x 22001696 x 22083,657
300 DPI2550 x 33002528 x 32648,058

A 300 DPI Letter page is 8,415,000 pixels, which is just over the 8,388,608 default ceiling, so it gets scaled down by about 1%. In practice a 300 DPI scan reaches Qwen at essentially full resolution. That is worth saying plainly because it is the opposite of how DeepSeek's hosted vision endpoint behaves, where every image is forced down to roughly 83 DPI and a better scanner buys you nothing.

With Qwen, resolution is a billing lever. It works, and you pay for it.

Cost per 1,000 pages, US (Virginia) rates

Assumptions, stated so you can redo the math: a 150 DPI US Letter invoice at 2,080 visual tokens plus about 40 prompt tokens in, and about 900 tokens of structured JSON out. Change the output length and these numbers move, which is exactly the point.

ModelPer pagePer 1,000 pages
qwen-vl-ocr (Global scope)$0.000156$0.16
qwen3-vl-flash (Global scope)$0.000240$0.24
qwen3-vl-8b-instruct$0.000411$0.41
qwen3-vl-flash-us (US-pinned)$0.000466$0.47
qwen3-vl-32b-instruct$0.000915$0.92
qwen3-vl-plus$0.001594$1.59
qwen3-vl-235b-a22b-instruct$0.001641$1.64
qwen-vl-max (Singapore only)$0.004576$4.58

At $0.16 per 1,000 pages, qwen-vl-ocr on the Global scope is the cheapest hosted document OCR rate we have been able to verify from a vendor's own published documentation. That number is real. Whether it is useful for US invoices is a different question, and the rest of this page is about that gap.

How scan resolution changes the bill

Resolutionqwen-vl-ocr, US (Virginia)qwen-vl-ocr, Singapore
150 DPI$0.16 / 1,000$0.29 / 1,000
200 DPI$0.22 / 1,000$0.40 / 1,000
300 DPI$0.42 / 1,000$0.71 / 1,000

Going from 150 to 300 DPI multiplies the input side of the bill by nearly four. If your invoices are clean digital PDFs rendered to image, 150 DPI is usually enough and halves your spend. If they are phone photos of crumpled remittance slips, pay for the pixels.

The thinking-mode trap

Every Qwen3-VL size ships in an Instruct edition and a Thinking edition, and the Thinking editions cost far more on output. Since OCR output is almost all output tokens, this matters more here than in a chat workload.

ModelInstruct output / 1MThinking output / 1MMultiple
qwen3-vl-8b$0.70$2.103.0x
qwen3-vl-30b-a3b$0.80$2.403.0x
qwen3-vl-235b-a22b$1.60$4.002.5x
qwen3-vl-32b$0.64$0.641.0x

Those are Singapore rates, chosen because that is the only region where Alibaba lists every size in one table. The 32B row is the odd one out: Alibaba prices its Thinking and Instruct editions identically, so if you specifically want reasoning traces on a hard document, 32B is the only size where they are free.

Everywhere else, Thinking mode is a bad trade for invoice extraction. A reasoning model that emits 3,000 tokens of deliberation before it gives you the JSON turns an 8B run from $0.41 per 1,000 pages into roughly $6.68 per 1,000 pages. Invoice field extraction is a perception task, not a reasoning task. Pick Instruct.

Alibaba's own API is not always the cheapest way to buy Qwen

Qwen3-VL is Apache 2.0, so third parties host it and set their own prices. Pulling OpenRouter's live model API on 23 August 2026 and lining it up against Alibaba's Singapore rate card produces a consistent pattern.

ModelAlibaba Singapore in / outOpenRouter in / out
qwen3-vl-8b-instruct$0.18 / $0.70$0.117 / $0.455
qwen3-vl-32b-instruct$0.16 / $0.64$0.104 / $0.416
qwen3-vl-30b-a3b-instruct$0.20 / $0.80$0.13 / $0.52
qwen3-vl-235b-a22b-instruct$0.40 / $1.60$0.21 / $1.90
qwen3-vl-8b-thinking$0.18 / $2.10$0.18 / $2.10
qwen3-vl-30b-a3b-thinking$0.20 / $2.40$0.20 / $2.40
qwen3-vl-235b-a22b-thinking$0.40 / $4.00$0.40 / $4.00

Every Thinking edition matches Alibaba's list price to the cent. Every Instruct edition is cheaper on the resale market, usually by about 35%. The one exception is the 235B Instruct, where OpenRouter is 48% cheaper on input but 19% more expensive on output, so which is cheaper depends entirely on how verbose your extraction prompt makes the model.

One thing resellers cannot give you: qwen-vl-ocr is a hosted Alibaba service, not an open-weights model, so it exists only on Alibaba's own endpoints. If the $0.043 rate is what drew you here, Model Studio is the only door.

What US buyers should know before they build on this

The pricing is excellent. Four things about Qwen OCR are specific to buying it from the United States, and none of them appear on the rate card.

1. The dedicated OCR model has no US-pinned deployment

Alibaba distinguishes model IDs by scope. A plain ID such as qwen3-vl-flash runs under "Global" scope, meaning inference compute is scheduled dynamically worldwide. An ID suffixed -us, such as qwen3-vl-flash-us, pins inference to the US. That guarantee carries a premium: $0.05 versus $0.022 per million input tokens, so US-only processing costs 127% more.

qwen-vl-ocr has no -us variant in any region table. It is listed under Global scope only. If your compliance position requires that document images never leave US infrastructure, the dedicated OCR model cannot meet it at any price, and you would have to fall back to qwen3-vl-flash-us at $0.47 per 1,000 pages.

2. The newest OCR model is not sold to you

Alibaba's documentation names Qwen3.5-OCR as the current recommendation, with upgraded document parsing, text localization, key information extraction, multi-turn conversation and, importantly, native PDF document parsing. The docs explicitly advise migrating off the older versions to it.

On the rate card, qwen3.5-ocr appears under Chinese mainland only, at $0.069 input and $0.275 output. It is absent from the Singapore, US (Virginia) and Germany (Frankfurt) tables. A US buyer following the vendor's own migration advice cannot actually follow it.

What that means in practice: on the model you can buy, qwen-vl-ocr, there is no PDF input. You render pages to images yourself, and you handle multi-page splitting, page ordering and reassembly in your own code, because qwen-vl-ocr-2025-11-20 and earlier process only the most recent message and retain no context between calls.

3. The structured extraction task is trained on Chinese documents

Qwen OCR has a built-in information extraction task that returns structured fields rather than raw text, which sounds exactly like what an AP team wants. Alibaba lists the certificate and document types it supports. The list is Chinese passports, Macau passports, Mainland Travel Permits for Hong Kong, Macau and Taiwan residents, Home Return Permits, Chinese driver's licenses, vehicle nameplates, vehicle certificates of conformity, vehicle registration certificates, and motor vehicle sales invoices.

There is no US commercial invoice, no W-9, no 1099, no purchase order and no remittance advice on it. For US vendor bills you are not using the tuned extraction path, you are writing your own prompt against general text recognition and parsing the result yourself. That is completely doable. It is just not the turnkey product the feature name implies.

4. Practical limits that bite on real AP documents

LimitValue
Formats under 4K (3840x2160)BMP, JPEG, PNG, TIFF, WEBP, HEIC
Formats from 4K to 8KJPEG and PNG only
Max file size, URL or local path10 MB (20 MB on qwen3.5-ocr)
Max Base64 payload10 MB encoded
PDF inputNot supported on qwen-vl-ocr
System messageFixed internally, cannot be customized
Default max output4,096 tokens
Raising output to 8,192Manual request to a commercial manager
Free quota1 million tokens, Singapore region only, 90 days

Two of these catch people out. The fixed system message means every instruction has to travel in the user message, so prompt patterns ported from OpenAI need rewriting. And the 4,096 token output default is not generous for a dense multi-page invoice with forty line items; raising it is not a config change, it is an email to a sales contact with your account ID, expected QPS and daily request volume.

Alibaba also states the risk directly in its own documentation: the model "may hallucinate if text in an image is too small or has a low resolution." That is an unusually honest warning, and it is the reason the 150 DPI saving above has a floor.

Self-hosting Qwen3-VL

Qwen3-VL is Apache 2.0 across every size, verified from the Hugging Face model API. That is a genuine procurement advantage: an express patent grant, no usage restrictions, and no per-page meter. Weight sizes below are exact parameter counts from the same source, at BF16.

ModelParametersBF16 weightsRealistic GPU
Qwen3-VL-2B-Instruct2,127,532,0324.26 GBAny 8 GB card
Qwen3-VL-4B-Instruct4,437,815,8088.88 GB16 GB card
Qwen3-VL-8B-Instruct8,767,123,69617.53 GB24 GB card
Qwen3-VL-30B-A3B-Instruct31,070,754,03262.14 GB1x H100 80GB
Qwen3-VL-32B-Instruct33,357,390,06466.71 GB1x H100 80GB
Qwen3-VL-235B-A22B-Instruct235,670,022,896471.34 GB8x H100 80GB

Those are weights only. Add KV cache and activations, and remember that a 300 DPI invoice is an 8,058 token input, so the vision side of the context is not small.

The 30B-A3B is the interesting one for document work. It is a mixture of experts with roughly 3B active parameters, so it runs at close to small-model speed while holding 30B of knowledge, and it fits on one H100. If you are self-hosting for invoices, start there rather than at 32B dense.

The honest arithmetic on self-hosting: at hosted rates of $0.16 to $0.41 per 1,000 pages, a single H100 at roughly $3.29 an hour on demand needs to clear about 8,000 to 20,000 pages an hour just to break even against the API, before you count the engineer maintaining it. Self-hosting Qwen for invoices is a data residency decision or a very-high-volume decision. It is rarely a cost decision.

Where Qwen OCR pricing sits against everything else

Same 150 DPI US Letter page, same roughly 900 tokens of structured output, all figures from each vendor's own published documentation.

ServicePer 1,000 pagesNotes
Qwen qwen-vl-ocr, Global scope$0.16No PDF input, no US-pinned option
Qwen qwen3-vl-flash, Global scope$0.24General VLM, 256K context
Qwen qwen-vl-ocr, Singapore$0.29Only region with a free quota
Gemini 2.5 Flash-Lite$0.39Flat 258 tokens per page
OpenAI GPT-5 nano$0.47Output dominates the bill
DeepSeek vision, off-peak$0.70Forces every page to about 83 DPI
Mistral OCR 4.1, batch$2.00Flat per page, PDF native
Mistral OCR 4.1, standard$4.00Flat per page, PDF native
Azure AI Document Intelligence, prebuilt-invoice$10.00Returns typed invoice fields
AWS Textract Analyze Expense$10.00Returns typed invoice fields

Read that table carefully, because the 60x spread between the top and the bottom is not a pricing error. The cheap rows give you text. The expensive rows give you an invoice number, a vendor name, a due date and line items, already typed and validated, with an SLA. What you are actually pricing is how much of the distance from pixels to a posted bill you intend to build yourself.

Qwen at $0.16 per 1,000 pages is the best raw-text-per-dollar on this list. If you have engineers, volume, and tolerance for a Singapore or globally-scheduled endpoint, it is a strong foundation. If you are an AP team that needs vendor bills in your accounting system this quarter, the token rate was never the expensive part.

The middle path most teams actually want. InvoiceExtractor is the finished layer on top of this: typed invoice fields and real line items, exports to XLSX, CSV, JSON and QBO, no prompt engineering, no image tokenizer math, no region selection, and no per-token surprise at the end of the month. Flat plans start at $49 a month, which works out to $19.60 per 1,000 pages on monthly billing and $9.60 per 1,000 on annual. Upload an invoice at the top of this page and compare the output against whatever Qwen gave you.

Qwen OCR pricing questions

Alibaba prices the dedicated qwen-vl-ocr model at $0.043 per million input tokens and $0.072 per million output tokens under Global scope, and $0.07 / $0.16 on the Singapore endpoint. For a 150 DPI US Letter invoice that works out to about $0.16 per 1,000 pages on the cheaper rate, or $0.29 per 1,000 on Singapore.

There is no permanently free tier. Alibaba gives new Model Studio accounts a 1 million token free quota valid for 90 days after activation, and that quota exists only in the international (Singapore) deployment. The open-weights Qwen3-VL models are Apache 2.0 and free to download, but you then pay for the GPU that runs them.

The qwen-vl-ocr model you can buy outside mainland China does not accept PDF input. It takes BMP, JPEG, PNG, TIFF, WEBP and HEIC below 4K, and only JPEG or PNG between 4K and 8K. Native PDF parsing arrived with qwen3.5-ocr, which Alibaba currently lists for the Chinese mainland region only.

It is accurate at reading text off invoices and extremely cheap. What it does not give you is a typed invoice schema: Alibaba's built-in structured extraction task is tuned for Chinese identity and vehicle documents, not US vendor bills, so you write your own prompt and parse the output yourself. Expect to build the field mapping, validation and line item logic.

Qwen3-VL is the general vision-language family with open weights in sizes from 2B to 235B. Qwen-VL-OCR is a hosted Alibaba service built on the Qwen3-VL architecture and tuned for text extraction, with built-in tasks for document parsing, table parsing, formula recognition and text localization. Qwen3-VL you can self-host; qwen-vl-ocr you can only rent.

Yes. Every Qwen3-VL size on Hugging Face carries an Apache 2.0 license, including the 235B-A22B model. Apache 2.0 includes an express patent grant and imposes attribution and NOTICE obligations. The hosted qwen-vl-ocr service is not open weights and is available only through Alibaba Cloud Model Studio.

You can run Qwen3-VL locally, not qwen-vl-ocr. Qwen3-VL-2B needs 4.26 GB of BF16 weights and fits any 8 GB card; the 8B needs 17.53 GB and wants a 24 GB card; the 30B-A3B and 32B need about 62 to 67 GB, so one H100. Add headroom for KV cache, since a 300 DPI page alone is 8,058 visual tokens.

Qwen's model card states 32 languages, up from 19. Worth flagging that Qwen's GitHub README states the same 32 languages but says it is up from 10, so the two official sources disagree on the previous figure. The current number, 32, is consistent across both.

qwen-vl-ocr under Global scope, at $0.043 input and $0.072 output per million tokens, or about $0.16 per 1,000 US Letter pages at 150 DPI. Next cheapest is qwen3-vl-flash at $0.24 per 1,000. Avoid every Thinking edition for OCR: they cost 2.5x to 3x more on output and add nothing to a perception task.

Not with the dedicated OCR model. qwen-vl-ocr is listed only under Global scope, where Alibaba schedules inference compute dynamically worldwide. Only model IDs carrying a -us suffix, such as qwen3-vl-flash-us, pin inference to the US, and that guarantee costs 127% more on input. There is no qwen-vl-ocr-us.