How this workload behaves
Document summarization workloads are input-heavy due to the need to ingest large volumes of text (e.g., legal contracts, research papers, or meeting transcripts) before generating concise summaries. The cost is primarily driven by the input token volume, as the model must process the full context to produce accurate and coherent outputs. Output tokens are typically smaller but still significant, especially when generating multi-paragraph summaries or structured formats like bullet points. Quality and coherence requirements often necessitate higher-capability models, which can inflate costs further.
Compare against 6 alternatives
| Model | Vendor | Monthly cost | vs primary | Δ |
|---|---|---|---|---|
| GPT-4o mini | OpenAI | $2.70 | 0.06× | $42.30 |
| GPT-4 Turbo | OpenAI | $160.00 | 3.56× | +$115.00 |
| GPT-3.5 Turbo | OpenAI | $8.00 | 0.18× | $37.00 |
| Mistral Small | Mistral | $3.20 | 0.07× | $41.80 |
| Claude Haiku 4.5 | Anthropic | $20.00 | 0.44× | $25.00 |
| Gemini 1.5 Flash | $1.35 | 0.03× | $43.65 |
Recommendation
For document summarization, **Gemini 1.5 Flash** is the clear winner, offering the lowest total cost at $1.35/month—saving $43.65 compared to GPT-4o. It achieves a 0.03× cost ratio while maintaining strong summarization capabilities, making it ideal for high-volume, cost-sensitive workloads. The model’s balance of efficiency and performance ensures minimal trade-off in output quality, which is critical for summarization tasks where accuracy and coherence are paramount.
Cost-saving tactics for this workload
- Use **prompt caching** to store and reuse common summarization prompts (e.g., 'Summarize this document in 3 bullet points') across batches, reducing redundant input costs.
- Implement **batch API calls** to process multiple documents in a single request, minimizing per-call overhead and leveraging lower per-token pricing for bulk operations.
- Apply **context compression** techniques (e.g., extractive summarization or chunking) to reduce the input token count before passing text to the LLM, especially for long documents.
- Consider a **two-stage routing system**: use a smaller model (e.g., GPT-4o mini) to triage documents and only route complex or ambiguous cases to GPT-4o or higher-capability models.
- Optimize **output structure** by enforcing strict formatting (e.g., JSON or bullet points) to reduce output token waste and improve downstream parsing efficiency.