A standard 50 pages document (~25,000 words / 33,325 tokens) costs $0.006665 to ingest and $0.006965 to generate a comprehensive executive summary using Qwen 2.5 Coder 32B.
Feed the entire 50 pages document into context to extract fields, entities, or answer queries.
Ingest 50 pages and generate a structured 500-token executive summary with key takeaways.
Translate or reformat the entire 50 pages document into an equivalent length output.
| Model | Provider | Ingestion (50 pages) | Cached Ingestion | Summary Cost | Context Limit |
|---|---|---|---|---|---|
| Qwen 2.5 Coder 32B (Current) | qwen | $0.006665 | $0.000667 | $0.006965 | 128,000 |
| GPT-5.3 Codex | openai | $0.056 | $0.0056 | $0.063 | 256,000 |
| DeepSeek Coder V2.5 | deepseek | $0.004666 | $0.000467 | $0.004806 | 128,000 |
| Codestral 2501 | mistral | $0.009998 | $0.001 | $0.0104 | 256,000 |
| Grok Build 0.1 | xai | $0.0333 | $0.006665 | $0.0343 | 256,000 |
| DeepInfra — Qwen 2.5 Coder 32B | deepinfra | $0.002666 | $0.000667 | $0.002786 | 128,000 |
Assuming a standard single-spaced document with ~500 words per page, a 50 pages document contains approximately 25,000 words, which translates to roughly 33,325 tokens using Qwen 2.5 Coder 32B's tokenizer. Dense PDF tables, legal boilerplate, and OCR scans may increase this by 20–30%.
Qwen 2.5 Coder 32B has a context window of 128,000 tokens. A 50 pages document consumes only 26.04% of its total window, easily fitting in a single prompt without requiring chunking or vector search.
Ingesting the document and outputting a concise 500-token executive summary costs $0.006965. Using 24-hour async batch API queues drops this cost to $0.003483.
If your workflow repeatedly queries or chats with this same 50 pages document, prompt caching reduces subsequent turn input costs by up to 90% (to $0.000667 per turn instead of $0.006665).