Workload cost scenario

Long-Context Research API Cost Calculator

Compare LLM API cost for research prompts that combine many source documents with a detailed generated answer.

Research and analysis teams working with large source packets.

Editable assumptions

Model the workload

Change the inputs to recalculate every compatible model.

Lowest tracked estimate
$31.30

Gemini 2.5 Flash-Lite for the current assumptions

Lowest cost does not mean best model. Test output quality, latency, retries, and reliability on your own workload.

Cost comparison

Estimated monthly cost by model

Comparing 19 models that fit the initial input length.

ModelProviderInput costOutput costMonthly estimateContext usage
Gemini 2.5 Flash-LiteGoogle$27.30$4.00$31.3014.3%
DeepSeek V4 Flash non-thinkingDeepSeek$37.88$2.80$40.6815.0%
gpt-5.4-nanoOpenAI$54.60$12.50$67.1037.5%
Gemini 3.1 Flash-LiteGoogle$68.25$15.00$83.2514.3%
Gemini 2.5 FlashGoogle$81.90$25.00$106.9014.3%
deepseek-v4-proDeepSeek$117.56$8.70$126.2615.0%
Gemini 3 Flash PreviewGoogle$136.50$30.00$166.5014.3%
gpt-5.4-miniOpenAI$204.75$45.00$249.7537.5%
Claude Haiku 4.5Anthropic$273.00$50.00$323.0075.0%
gpt-5.6-lunaOpenAI$273.00$60.00$333.0014.3%
Gemini 2.5 ProGoogle$341.25$100.00$441.2514.3%
Gemini 3.5 FlashGoogle$409.50$90.00$499.5014.3%
Claude Sonnet 5Anthropic$546.00$100.00$646.0015.0%
Gemini 3.1 Pro PreviewGoogle$546.00$120.00$666.0014.3%
gpt-5.6-terraOpenAI$682.50$150.00$832.5014.3%
Claude Sonnet 4.6Anthropic$819.00$150.00$969.0015.0%
Claude Opus 4.8Anthropic$1,365.00$250.00$1,615.0015.0%
gpt-5.6-solOpenAI$1,365.00$300.00$1,665.0014.3%
Claude Fable 5Anthropic$3,000.00$500.00$3,500.0015.0%
Why this scenario matters

Long-context research cost drivers

Long prompts can approach model context limits or pricing thresholds, so per-request input size matters more than monthly token totals alone.

StackLens checklist

What to measure

  • Check each model's context window before comparing cost.
  • Track citations and source coverage separately from price.
  • Summarize or retrieve only relevant sections when full-context quality is unnecessary.

Estimate boundary: Models whose tracked context window is below the scenario input are excluded from the compatible-model table.

View pricing sources

OpenAI model pricingHigh confidenceChecked 2026-07-13

Tracked prices for included OpenAI models are checked against official provider documentation.

Anthropic model pricingHigh confidenceChecked 2026-07-12

Tracked prices for included Anthropic models are checked against official provider documentation.

Google model pricingHigh confidenceChecked 2026-07-14

Tracked prices for included Google models are checked against official provider documentation.

DeepSeek model pricingHigh confidenceChecked 2026-07-12

Tracked prices for included DeepSeek models are checked against official provider documentation.

Anthropic model pricingHigh confidenceChecked 2026-07-14

Tracked prices for included Anthropic models are checked against official provider documentation.