Batch data extraction: API cost calculator with 50% batch pricing
Structured extraction is the workload where the cheapest model is almost always right. The input is a fixed schema instruction plus one record, the output is a small JSON object, and nothing needs creative reasoning. Add the batch toggle and the entire pipeline runs at half price — which is why this page ships with batch pricing already enabled.
Workload snapshot
Requests / day
20,000
including retries
Input tokens
3,200
per request
Cache hit rate
10%
of input tokens
Output tokens
260
per request
Active days
22
per month
DeepSeek V4.1 Flash
$259.14
per month at this workload
Claude Haiku 5.5
$92.66
per month at this workload
GPT-6.1 Sol
$1,846
per month at this workload
Estimated at December 2026 reference list pricing with the defaults above, batch discount applied. Adjust the sliders below for your own numbers.
Model your own numbers
The workload above is already loaded. Change any input and every model re-prices instantly.
Completed API calls per day, including retries.
System prompt, context and history you send.
Share of input tokens served from a warm cache.
Generated answer length. Output usually costs 5x input.
22 for business tools, 30 for always-on traffic.
| Model | Input /1M | Cached /1M | Output /1M | Monthly | Relative cost | vs highest |
|---|---|---|---|---|---|---|
| Claude Haiku 5.5Anthropic | $0.1 | $0.01 | $0.5 | $92.66 | -99% | |
| DeepSeek V4.1 FlashDeepSeek | $0.3 | $0.006 | $1.2 | $259.14 | -97% | |
| Gemini 3.8 FlashGoogle | $0.75 | $0.075 | $3.75 | $694.98 | -93% | |
| Custom ModelYour numbers | $1.00 | $0.1 | $2.00 | $755.04 | -92% | |
| DeepSeek V4 ProDeepSeek | $1.32 | $0.044 | $3.96 | $1,066 | -88% | |
| Claude Sonnet 5.5Anthropic | $2.00 | $0.1 | $10.00 | $1,846 | -80% | |
| Gemini 4 NeonGoogle | $2.00 | $0.1 | $10.00 | $1,846 | -80% | |
| GPT-6.1 SolOpenAI | $2.00 | $0.1 | $10.00 | $1,846 | -80% | |
| GPT-4o (Legacy)OpenAI | $2.5 | $1.25 | $10.00 | $2,244 | -76% | |
| Gemini 4 CarbonGoogle | $3.00 | $0.15 | $15.00 | $2,769 | -70% | |
| Claude Opus 5.5Anthropic | $4.00 | $0.2 | $20.00 | $3,692 | -60% | |
| GPT-6.2 AstraOpenAI | $10.00 | $1.00 | $50.00 | $9,266 | baseline |
Sorted cheapest first. Bars are scaled to the most expensive model at your current inputs.
Cost-optimisation checklist
- Size the schema prompt once and cache it across the whole run. A 600-token schema reused 20,000 times a day is a textbook cache case.
- Validate JSON with a schema constraint at the API level rather than retrying malformed output. Retries are the most common hidden cost in extraction pipelines.
- Send one record per request only if the schema is complex. Batching five records into one call cuts per-record overhead substantially.
- Log confidence scores and route low-confidence records to human review instead of automatically retrying on a stronger model.
- Watch output tokens: a verbose explanation field sneakily triples the output line. Ask for bare JSON.
Cost questions about batch data extraction
Why is batch mode so important for extraction?
Extraction pipelines are asynchronous by nature — nobody waits on a 20,000-record overnight job. Batch pricing halves every line of the bill for exactly the work that tolerates latency.
Do I need a strong model for extraction?
Rarely. Extraction is a constrained transformation; a budget tier with a clear schema usually matches a frontier model on structured output accuracy while costing 10-30x less.
What is the biggest hidden cost in extraction?
Retries caused by malformed output. A 15% retry rate is a 15% bill increase, and it is usually fixed by tightening the schema and lowering temperature rather than by upgrading the model.