{
  "slug": "browsecomp-cost-self-improvement",
  "url": "/benchmarks/browsecomp-cost-self-improvement/",
  "title": "How We Cut an Exa Research Agent's Cost by 42% Without Changing the Model",
  "description": "We ran Claude Opus 5 with Exa on 30 BrowseComp questions twice per version. Cost per answer fell 42%, from $0.90 to $0.52. The baseline and the version we chose both scored 91.7%.",
  "version": "browsecomp-30",
  "status": "published",
  "track": "self-improvement",
  "published": "2026-11-19",
  "author": {
    "name": "Itiel Shwartz",
    "url": "https://www.linkedin.com/in/itiel-shwartz-18542853/"
  },
  "tags": [
    "browsecomp",
    "exa",
    "web-research",
    "cost",
    "self-improvement",
    "claude-code"
  ],
  "primaryMetric": "cost_per_answer",
  "metrics": [
    {
      "key": "cost_per_answer",
      "label": "Cost / answer",
      "description": "Mean model charge for one run, as billed by Claude Code on Amazon Bedrock with cache discounts. Excludes grading. V2's mean covers 62 runs: the 60 that were graded and 2 that finished but were not recorded and were run again.",
      "unit": "$",
      "precision": 2,
      "higherIsBetter": false
    },
    {
      "key": "cost_change",
      "label": "vs. baseline",
      "description": "Change in cost per answer against the baseline, V0.",
      "unit": "%",
      "precision": 0,
      "higherIsBetter": false
    },
    {
      "key": "accuracy",
      "label": "Accuracy",
      "description": "Share of the 60 graded answers the evaluator marked correct. Each version answered the same 30 questions twice.",
      "unit": "%",
      "precision": 1,
      "higherIsBetter": true
    },
    {
      "key": "time_per_answer",
      "label": "Time / answer",
      "description": "Mean wall-clock time of one run. Runs were executed several at a time, and not the same number in every round, so read this as a rough comparison.",
      "unit": "s",
      "precision": 0,
      "higherIsBetter": false
    },
    {
      "key": "priciest_answer",
      "label": "Priciest answer",
      "description": "The most expensive single answer in the round.",
      "unit": "$",
      "precision": 2,
      "higherIsBetter": false
    },
    {
      "key": "cost_median",
      "label": "Median answer",
      "description": "The median cost of one answer in the round.",
      "unit": "$",
      "precision": 2,
      "higherIsBetter": false
    },
    {
      "key": "answers_over_2",
      "label": "Answers over $2",
      "description": "How many of the round's answers cost more than $2.",
      "precision": 0,
      "higherIsBetter": false
    },
    {
      "key": "searches_mean",
      "label": "Searches / answer",
      "description": "Mean number of web searches in one answer.",
      "precision": 1
    },
    {
      "key": "searches_max",
      "label": "Most searches",
      "description": "The largest number of searches in one answer.",
      "precision": 0
    },
    {
      "key": "tokens_added_per_turn",
      "label": "Added / turn",
      "description": "Median tokens one turn adds to the conversation. A turn is one model call, usually one search and its results.",
      "unit": "tokens"
    }
  ],
  "leaderboard": [
    "cost_per_answer",
    "cost_change",
    "accuracy",
    "time_per_answer"
  ],
  "charts": [],
  "details": [],
  "tasks": [],
  "results": [
    {
      "id": "original__claude-opus-5",
      "agent": "V0 · Unoptimized agent",
      "model": "Claude Opus 5",
      "provider": "Amazon Bedrock",
      "date": "2026-11-19",
      "runs": 2,
      "baseline": true,
      "order": 1,
      "metrics": {
        "cost_per_answer": 0.9002,
        "accuracy": 91.6667,
        "time_per_answer": 183.355,
        "priciest_answer": 5.1459,
        "cost_median": 0.3414,
        "answers_over_2": 7,
        "searches_mean": 9.38,
        "searches_max": 50,
        "tokens_added_per_turn": 13855
      },
      "config": {
        "Change": "None. A five-line CLAUDE.md, Exa search at its default of 10 results, a 25-turn cap.",
        "Answers": "30 questions, 2 graded runs each. 60 billed attempts.",
        "KAOP cycle": "baseline"
      },
      "notes": "The baseline: the agent before the loop ran."
    },
    {
      "id": "round-1-fewer-results__claude-opus-5",
      "agent": "V1 · Lean search results",
      "model": "Claude Opus 5",
      "provider": "Amazon Bedrock",
      "date": "2026-11-19",
      "runs": 2,
      "order": 2,
      "metrics": {
        "cost_per_answer": 0.5836,
        "cost_change": -35.17,
        "accuracy": 91.6667,
        "time_per_answer": 155.5483,
        "priciest_answer": 3.3063,
        "cost_median": 0.2919,
        "answers_over_2": 3,
        "searches_mean": 8.03,
        "searches_max": 38,
        "tokens_added_per_turn": 8069
      },
      "config": {
        "Change": "Three rules added to CLAUDE.md: 5 results per search, stop once a candidate is confirmed, change approach after 12 searches and answer after 20.",
        "Answers": "30 questions, 2 graded runs each. 60 billed attempts.",
        "KAOP cycle": "2",
        "KAOP decision": "not kept",
        "Commit": "58273fd"
      },
      "notes": "A prompt change. Each search adds less text to the conversation."
    },
    {
      "id": "round-2-open-pages__claude-opus-5",
      "agent": "V2 · Page fetching",
      "model": "Claude Opus 5",
      "provider": "Amazon Bedrock",
      "date": "2026-11-19",
      "runs": 2,
      "order": 3,
      "metrics": {
        "cost_per_answer": 0.7896,
        "cost_change": -12.3,
        "accuracy": 91.6667,
        "time_per_answer": 164.5435,
        "priciest_answer": 5.5118,
        "cost_median": 0.3395,
        "answers_over_2": 6,
        "searches_mean": 7.37,
        "searches_max": 47,
        "tokens_added_per_turn": 11854
      },
      "config": {
        "Change": "WebFetch allowed, with rules to open a named source once and not search for it again. Applied to the baseline, without round 1.",
        "Answers": "30 questions, 2 graded runs each. 62 billed attempts including retries.",
        "KAOP cycle": "3",
        "KAOP decision": "not kept",
        "Commit": "f4e7a25"
      },
      "notes": "Page fetching started from V0. One billed attempt used 13 searches and 11 fetches and ended without an answer."
    },
    {
      "id": "round-3-prompt-rules__claude-opus-5",
      "agent": "V3 · Prompt-level search strategy",
      "model": "Claude Opus 5",
      "provider": "Amazon Bedrock",
      "date": "2026-11-19",
      "runs": 2,
      "order": 4,
      "metrics": {
        "cost_per_answer": 0.6401,
        "cost_change": -28.9,
        "accuracy": 90,
        "time_per_answer": 154.99,
        "priciest_answer": 3.3434,
        "cost_median": 0.3062,
        "answers_over_2": 6,
        "searches_mean": 8.23,
        "searches_max": 30,
        "tokens_added_per_turn": 9185
      },
      "config": {
        "Change": "Round 1's rules, plus: search the rarest fact first, state an objective for every search, send independent searches in one turn, remove two unused built-in tools.",
        "Answers": "30 questions, 2 graded runs each. 60 billed attempts.",
        "KAOP cycle": "4",
        "KAOP decision": "not kept",
        "Commit": "3420e5c"
      },
      "notes": "A prompt change. The agent did not follow the rules about the whole run."
    },
    {
      "id": "round-4-tool-budget-20__claude-opus-5",
      "agent": "V4 · Tool-enforced search budget, 20",
      "model": "Claude Opus 5",
      "provider": "Amazon Bedrock",
      "date": "2026-11-19",
      "runs": 2,
      "order": 5,
      "metrics": {
        "cost_per_answer": 0.4561,
        "cost_change": -49.33,
        "accuracy": 85,
        "time_per_answer": 129.7283,
        "priciest_answer": 1.663,
        "cost_median": 0.2535,
        "answers_over_2": 0,
        "searches_mean": 8.73,
        "searches_max": 20,
        "tokens_added_per_turn": 5884
      },
      "config": {
        "Change": "exa_lean.py replaces the Exa server: 5 results with excerpts cut at 1,500 characters, a running count, a nudge from search 14, a stop at 20.",
        "Answers": "30 questions, 2 graded runs each. 60 billed attempts.",
        "KAOP cycle": "5",
        "KAOP decision": "not kept",
        "Commit": "df7fe2d"
      },
      "notes": "The limits move from the prompt into the search tool. No answer over $2, and accuracy outside the 5-point limit."
    },
    {
      "id": "round-5-tool-budget-25__claude-opus-5",
      "agent": "V5 · Tool-enforced search budget, 25",
      "model": "Claude Opus 5",
      "provider": "Amazon Bedrock",
      "date": "2026-11-19",
      "runs": 2,
      "order": 6,
      "metrics": {
        "cost_per_answer": 0.5182,
        "cost_change": -42.44,
        "accuracy": 91.6667,
        "time_per_answer": 135.43,
        "priciest_answer": 2.0161,
        "cost_median": 0.2499,
        "answers_over_2": 1,
        "searches_mean": 8.87,
        "searches_max": 25,
        "tokens_added_per_turn": 7006
      },
      "config": {
        "Change": "The same tool with three numbers changed: a stop at 25 searches, the nudge from search 20, excerpts cut at 2,500 characters.",
        "Answers": "30 questions, 2 graded runs each. 60 billed attempts.",
        "KAOP cycle": "6",
        "KAOP decision": "not kept",
        "Commit": "48e360e"
      },
      "notes": "The experiment owner chose V5. It had the largest paired cost reduction among the versions that met the owner’s cost and accuracy criteria."
    }
  ]
}
