Home / Guides / What AI invoice extraction costs per document

What AI invoice extraction costs per document

Pulling fields out of an invoice is one of the cheapest jobs you can give a language model. The spread between models is still wide.

By Piotr Olszewski · Nov 7, 2026 · prices as of Nov 22, 2026

The cheapest measured run for invoice extraction cost 0.03¢ per invoice (GPT-6 Luna, $0.32 per 1,000 invoices). The median across all 325 models I track is 0.23¢. Most of the gap between cheap and expensive models comes from reasoning tokens, which are billed as output, not from the visible extraction result.

What one invoice costs

The invoice extraction task sends one invoice and asks for structured fields back. I report cost per task and per 1,000 tasks, with token counts for input, visible output and reasoning. A model that thinks at length pays for every hidden token.

Here is how the measured models rank, cheapest first:

ModelCost per invoicePer 1,000 invoices
GPT-6 Luna0.03¢$0.32
GLM 5.3 Flash0.06¢$0.57
Claude Haiku 5.50.06¢$0.64
Qwen3.8 Flash0.11¢$1.10
MiniMax M30.12¢$1.18
DeepSeek V4.1 Flash0.17¢$1.66
GPT-6.1 Sol0.52¢$5.25
Mistral Large 40.58¢$5.84
Gemini 3.8 Flash0.65¢$6.49
Claude Sonnet 5.51.0¢$10.30
Grok 4.71.1¢$11.47
Gemini 3.1 Pro Preview3.2¢$31.94

The live table below also includes models where the cost is estimated from token counts and list prices, so treat those rows as close but not exact.

#ModelCost per taskText scoreTokens in / outBasis
1Z.ai logo
GLM 5.3 FlashZ.ai
<0.01¢$0.10 / 1,000
1476391 / 1,031measured best value
2OpenAI logo
GPT-6 LunaOpenAI
0.03¢$0.32 / 1,000
1441373 / 562measured
3DeepSeek logo
DeepSeek V4.1 FlashDeepSeek
0.06¢$0.59 / 1,000
1476395 / 2,885measured
4Anthropic logo
Claude Haiku 5.5Anthropic
0.06¢$0.64 / 1,000
1425546 / 1,165measured
5OpenAI logo
GPT-5.4 NanoOpenAI
0.08¢$0.78 / 1,000
1401373 / 562estimated
6Xiaomi logo
MiMo-V2.6-ProXiaomi
0.10¢$0.98 / 1,000
1480540 / 857estimated best value
7Meta logo
Llama 4 MaverickMeta
0.10¢$1.05 / 1,000
1327540 / 857estimated
8Alibaba Qwen logo
Qwen3.8 FlashAlibaba Qwen
0.11¢$1.10 / 1,000
-501 / 2,178measured
9MiniMax logo
MiniMax M3MiniMax
0.12¢$1.18 / 1,000
1439536 / 852measured
10Cohere logo
Command A+Cohere
0.14¢$1.44 / 1,000
-537 / 853estimated
11Z.ai logo
GLM 5.3Z.ai
0.15¢$1.47 / 1,000
1481391 / 1,031estimated best value
12Mistral logo
Mistral Small 4Mistral
0.16¢$1.65 / 1,000
-374 / 2,655estimated
13Google logo
Gemini 3.1 Flash LiteGoogle
0.23¢$2.34 / 1,000
-452 / 1,482estimated
14OpenAI logo
GPT-5.4 MiniOpenAI
0.28¢$2.81 / 1,000
1447373 / 562estimated

Measured runs use one run per task, default settings, through OpenRouter, with output capped at 16,000 tokens. See the methodology for details.

Input vs output token share

Input is small in this task. The invoice goes in once and a structured answer comes out. In most runs the input is a few hundred tokens, and the reasoning count is often larger than the visible output.

  • GPT-6 Luna: 373 in, 422 out, 140 reasoning
  • Claude Haiku 5.5: 546 in, 574 out, 591 reasoning
  • GLM 5.3 Flash: 391 in, 455 out, 576 reasoning
  • DeepSeek V4.1 Flash: 395 in, 449 out, 2,436 reasoning
  • Gemini 3.1 Pro Preview: 452 in, 533 out, 2,053 reasoning
  • GPT-6.1 Sol: 373 in, 450 out, 0 reasoning

Because reasoning is billed at the output rate, output-side tokens dominate the bill. DeepSeek V4.1 Flash has a list price of $0.051 input and $0.57 output per 1M tokens, yet its 2,436 reasoning tokens put it at 0.17¢, above GLM 5.3 Flash at 0.06¢. GPT-6.1 Sol used 0 reasoning tokens in its run, which helps explain why it lands at 0.52¢ despite a $10.00 output price.

The lesson: check the output price and the reasoning count together. A cheap model that thinks for a long time can cost more than a pricier one that answers directly.

Input matters more for multi-page invoices. If yours are long, input tokens grow, so check the input price too.

The cheapest tier of each lab

Here is the lowest-cost model each lab has in the invoice extraction results. Basis is noted because some rows are estimated.

LabCheapest modelCost per invoicePer 1,000Basis
OpenAIGPT-6 Luna0.03¢$0.32measured
Z.aiGLM 5.3 Flash0.06¢$0.57measured
AnthropicClaude Haiku 5.50.06¢$0.64measured
XiaomiMiMo-V2.6-Pro0.10¢$0.98estimated
MetaLlama 4 Maverick0.10¢$1.05estimated
Alibaba QwenQwen3.8 Flash0.11¢$1.10measured
MiniMaxMiniMax M30.12¢$1.18measured
CohereCommand A+0.14¢$1.44estimated
MistralMistral Small 40.16¢$1.65estimated
DeepSeekDeepSeek V4.1 Flash0.17¢$1.66measured
GoogleGemini 3.1 Flash Lite0.23¢$2.34estimated
xAIGrok 4.30.55¢$5.45estimated

Within Google, the measured Gemini 3.8 Flash costs 0.65¢, well above the estimated Gemini 3.1 Flash Lite. Within OpenAI, GPT-6 Luna costs 0.03¢ while GPT-6.1 Sol costs 0.52¢. The cheap tier is where the savings are.

Which models are good enough at the lowest cost

These figures show what each run spent. They do not show whether the extracted fields were correct. I have no invoice accuracy score, so I cannot rank models on correctness. LMArena Text scores measure general chat quality, not how well a model reads an invoice table.

With that limit, these are the first models I would test:

  • GPT-6 Luna at 0.03¢, for high volume with a review step to catch errors.
  • GLM 5.3 Flash at 0.06¢, the cheapest after Luna among measured runs.
  • Claude Haiku 5.5 at 0.06¢, if you already build on Anthropic.

Before switching a pipeline, run 100 of your own invoices through two candidates and compare the fields against a human-checked copy. Cost is the easy part to measure. Accuracy on your own layouts decides whether the cheap model is enough.

When a mid tier is worth it

A mid-tier model earns its price when the cheap one fails on your documents. Signs you need one:

  • Dense tables, handwriting or scanned layouts that the cheap model misreads.
  • Costly errors, such as a wrong amount triggering a payment.
  • A need to check totals against line items.

In this task the measured mid-tier options are Gemini 3.8 Flash at 0.65¢ and Claude Sonnet 5.5 at 1.0¢ per invoice. That is a clear step up from the 0.03¢ to 0.06¢ range, so pay it only where your own tests show the cheap tier fails.

I would not start at the top. Gemini 3.1 Pro Preview at 3.2¢ and Claude Fable 5.1 at 5.2¢ (estimated) are a lot to pay for a task that mostly needs a correct copy of a few fields.

To run your own volumes, use the cost calculator or see the extract invoice data task page. If you are weighing subscriptions against the API, see plans.

FAQ

How much does AI invoice extraction cost per document?

In my measurements the cheapest model cost 0.03¢ per invoice, which is $0.32 per 1,000. The median across all 325 models is 0.23¢.

Which model is cheapest for invoice extraction?

GPT-6 Luna at 0.03¢ per invoice. GLM 5.3 Flash and Claude Haiku 5.5 follow at 0.06¢ each.

Is the cheapest model accurate enough for invoices?

My data covers cost, not invoice accuracy. Test the cheapest candidates on 100 of your own invoices and compare the output against a checked copy before you commit.

Sources