benchmarks/web search for coding agents/median task cost · search + fetch
last run 15 Sept 2026

Median task cost: Web Search for Coding Agents, search + fetch

TinyFish costs least at $0.050

Of the 12 web search API configurations tested with search and fetch on the Web Search for Coding Agents Benchmark, TinyFish had the lowest median task cost: $0.050, pooled across all three runs of the 100-ticket set.

A coding agent patches a small httpx client against the vendor's current official API documentation on 100 held-out enterprise SaaS tickets, using each vendor's web search API. A ticket passes only when the patch compiles and every ground-truth token is grounded in a URL the search returned. Only the search API changes between rows.

Median task cost is the LLM dollar cost of one ticket, estimated on the eval trace, plus the search and fetch API spend: call counts times list price. API cost uses the pay-as-you-go list price of one search call and one fetch call. The reported value is the median, pooled across all three runs. Lower is better.

open codeHarness, scoring and vendor runners are public in openbenchmarks-labs/OB-Code-WebSearch.github →
Ranking, sorted by median task cost

The agent has web_search and web_fetch: it can open the full text of a page returned by search.

benchmarks/coding-agents/search-and-fetch/median-task-costcomplete
Top 8
Every configuration, ranked by median task cost
RankVendorEndpoint & configurationMedian task cost
1TinyFishGET api.search.tinyfish.aiPOST api.fetch.tinyfish.ai format=markdown$0.050$0.000 search+fetch$0.050 token cost
2FirecrawlPOST /v2/searchPOST /v2/scrape$0.082$0.028 search+fetch$0.055 token cost
3PerplexityPOST /search search_context_size=highPOST /search search_context_size=high$0.083$0.025 search+fetch$0.058 token cost
4Parallel advancedPOST /v1/search mode=advancedPOST /v1/extract$0.096$0.019 search+fetch$0.077 token cost
5Exa autoPOST /search type=autoPOST /contents$0.107$0.032 search+fetch$0.074 token cost
6Parallel basicPOST /v1/search mode=basicPOST /v1/extract$0.107$0.023 search+fetch$0.084 token cost
7Tavily basicPOST /search search_depth=basicPOST /extract extract_depth=basic$0.113$0.043 search+fetch$0.070 token cost
8YouPOST /v1/search extraction_mode=highlights · knowledge=corePOST /v1/contents$0.117$0.026 search+fetch$0.091 token cost
9YouPOST /v1/search extraction_mode=highlightsPOST /v1/contents$0.119$0.027 search+fetch$0.092 token cost
10Exa deepPOST /search type=deepPOST /contents$0.127$0.057 search+fetch$0.070 token cost
11Linkup standardPOST /v1/search depth=standardPOST /v1/fetch mode=standard$0.147$0.038 search+fetch$0.108 token cost
12Tavily advancedPOST /search search_depth=advancedPOST /extract extract_depth=advanced$0.153$0.085 search+fetch$0.069 token cost
—NimblePOST /v2/search search_depth=lite · full_content=false · focus=generalPOST /v2/extract formats=[markdown]$0.054$0.054 token cost
—NimblePOST /v2/search search_depth=standard · full_content=false · focus=generalPOST /v2/extract formats=[markdown]$0.078$0.078 token cost