{
  "schema_version": "1.0",
  "surface_type": "tool_answer",
  "tool_id": "rag-context-bloat-estimator",
  "citation_question": "How much does a larger prompt or context window increase agent cost?",
  "question": "How much does reducing non-task prompt tokens lower agent cost and break-even price?",
  "canonical_url": "https://www.unitcostai.com/tools/context-window-cost",
  "formula": "candidate_input_tokens = task_tokens + target_non_task_tokens; cost_delta_usd = cost_candidate_usd - cost_baseline_usd; break_even_delta_usd = break_even_candidate_usd - break_even_baseline_usd",
  "assumptions": [
    "Task tokens stay constant between baseline and candidate",
    "Non-task prompt tokens are explicit measured inputs",
    "Costs and deltas use one shared pricing snapshot context in USD"
  ],
  "example": "If baseline input_tokens=1800 with 850 non-task tokens and target non-task tokens=300, the estimator calculates cost and break-even deltas from those two runs.",
  "units": "Tokens per request and USD deltas per active user-month",
  "pricing_context": {
    "context_type": "pricing_snapshot",
    "snapshot_id": "2026-06-21",
    "snapshot_date": "2026-06-21",
    "reference_url": "https://www.unitcostai.com/pricing"
  },
  "pricing_snapshot": {
    "snapshot_id": "2026-06-21",
    "snapshot_date": "2026-06-21",
    "pricing_reference_url": "https://www.unitcostai.com/pricing"
  }
}
