Skip to main content
Glama

SharpBench

Benchmarked provider ratings your agent can act on — at selection time.

Your agent picks a web-search API the way most of us pick a wifi network: whatever's default, whatever's popular. Popularity leaderboards measure usage, not quality — and they give every agent the same answer, no matter what that agent actually needs.

SharpBench benchmarks the services agents consume — web-search APIs first — on four separable axes: quality (scored by the instrument each category declares: deterministic assertions where the answer is checkable, an LLM judge against per-task rubrics where it isn't, or a blend), latency, cost, and reliability. Then it does the thing a leaderboard can't: your agent queries the scores mid-run, with its own constraints, and gets a ranked answer with reasoning.

Live: https://sharpbench.com

Try it in 60 seconds

Give your agent the tool (Claude Code, one line — no clone, no API key):

claude mcp add --transport http sharpbench https://sharpbench.com/mcp

Then ask, in any project:

"Use sharpbench: which web-search provider should I use if I care most about latency? My budget is $2 per 1,000 calls."

Or hit the API directly (CORS-open, so browser-based agents can call it too; rate limited at 120 req/min per IP):

curl "https://sharpbench.com/v1/recommend?max_cost_per_1k=2&weight_latency=0.5"

Or just look: the live ranking has weight sliders — hit the "Quality-first" preset and watch the #1 spot change hands. That's the whole thesis in one interaction: the right provider depends on your constraints, and we can tell you which one it is.

Ask for your workload, not the average one

Rankings invert by task type, and it isn't subtle. Night after night, the blended #1 in a category is not the best choice for some of its task types — the live report's per-type panel counts exactly how many types disagree with the blended winner, and providers that sit mid-table overall win the types they win. A blended ranking is the wrong answer for a specific job, so ask for the specific job:

curl "https://sharpbench.com/v1/recommend?category=scraping&task_type=structured"

task_type restricts all four axes, not just quality. Every response lists the available_task_types for the category.

Related MCP server: LLM Benchmark MCP Server

What you get back

Not just a ranked list — reasoning you can audit:

// real response, trimmed — GET /v1/recommend
{
  "category": "web-search",
  "maturity": "published",          // "preview" means we would not defend the ordering yet
  "caveats": [
    "Latency is measured from the benchmark host …",
    "Reliability has no discriminating power yet — every provider is at 100% …"
  ],
  "results": [
    {
      "rank": 1,
      "provider": "serper",
      "score": 0.913,
      "per_axis": { "quality": 0.924, "latency_p50_ms": 841, "cost_per_1k_calls_usd": 1.0, "reliability": 1.0 },
      "axis_scores": { "quality": 0.924, "latency": 0.832, "cost": 0.9, "reliability": 1.0 },
      "judged_runs": 25,
      "rationale": "quality 0.92 over 25 judged runs; p50 latency 841ms; $1.00/1k calls; reliability 100% (25/25 ok)",
      "stability": {
        "batches": 12, "nights": 12,
        "composite_range": { "min": 0.898, "max": 0.921 },
        "separated_from_next": true    // false = this rank is inside night-to-night noise; treat as a tie
      },
      "field_signal": { "reports": 1, "success_rate": 1.0, "distinct_reporters": 1 }
    }
  ],
  "excluded": [
    { "provider": "tavily", "excluded_because": ["cost $8.00/1k exceeds max $2.00/1k"] }
  ],
  "available_task_types": ["factual", "multi-hop", "niche", "non-english", "recent"],
  "reference_scales": { "latency_max_ms": 5000, "cost_max_usd_per_1k": 20.0 },
  "errata": null,                      // set when a measurement was excluded as invalid on our side — names the provider and reason
  "last_verified": "2026-08-03T21:33:35Z"
}

Providers your constraints rule out come back with the why. Scores come with freshness. Categories carry their own maturity and caveats, so a young ranking says so instead of looking like a mature one. stability recomputes every provider's composite across the served window at your weights and says outright whether each rank is real (separated_from_next) or inside night-to-night noise — a ratings service that tells you when not to act on it. Field signal — outcome reports from other agents — is shown separately and never blended into benchmark scores, so it can't be gamed into the ranking. And when a measurement turns out to have been invalid on our side (a benchmark account's API tier throttling a burst no real agent would send), it is excluded through a published erratum the response discloses — named provider, stated reason — never silently edited: raw runs are preserved unchanged, and published history is never rewritten.

Why trust these numbers

Every score is reproducible, end to end:

  • Persisted raw runs. Every benchmark call stores its request, response, latency, cost with a pricing snapshot, and timestamp. Scores are computed from stored runs — never ad hoc.

  • A fixed, versioned instrument per category. Where quality is checkable it is scored by deterministic assertions — free, exact, identical on every re-run (all of code-execution; blended 50/50 with the judge on scraping). Where it is irreducibly subjective (search), it is scored by claude-opus-5 with a versioned prompt against per-task rubrics, and every judgment stores its written reasoning. Re-judging never overwrites history.

  • Nightly, from a datacenter. An automated benchmark runs every night, so reliability and drift are measured across days — and the service redeploys itself with fresh data.

  • Axes stay separable — and absolute. Latency and cost are scored against published fixed reference scales, never relative to the batch, so a provider's score depends only on its own measurements: comparable across batches and provider sets, and weights mean exactly what they say. We publish composite weights for the human-readable ranking; your agent re-weights per request (set three weights to 0 for a pure single-axis preference). Your constraints, your answer.

  • The task suites are in this repository, rubrics and assertions included. A provider could tune for them, and the task inputs are already visible on the live page. What limits the gain: for sandboxes and scraping the assertions check that the program ran or that the page's own text came back, so the way to pass is to do the job; the assertions are fingerprinted into the scoring version, so a suite can change without rewriting history; and every night's raw responses are archived, so a provider that special-cases a query has to keep doing it under inspection. A held-out slice of unpublished tasks is the structural answer. It does not exist yet.

  • What is not public yet. The raw runs behind the live numbers are archived per batch but not published. The harness, suites and judge prompts here let you re-run the benchmark; they do not yet let you audit our stored runs.

web-search (published): Brave, Tavily, Serper, Exa, Perplexity, Nimble, on a suite spanning factual lookup, recent events, niche/long-tail, multi-hop and non-English queries.

scraping (published): Firecrawl, Jina Reader, ScrapingBee, Bright Data, Nimble Extract, on sixteen tasks across articles, structured/table-heavy pages, plaintext documents and static docs — robots-clean public pages, content pinned wherever the live web allows. Quality blends deterministic content checks (did the page's actual text come back) 50/50 with the LLM judge (structure, chrome exclusion, fidelity). The top pair (firecrawl vs jina) still overlaps night to night, and the response says so rather than looking settled.

code-execution (published): E2B, Daytona, Modal — the sandboxes agents run generated code in. (Runloop was benchmarked until it wound down in November 2026.) Quality is scored by deterministic assertions (did the program's expected output come back), latency covers the full create→execute→teardown lifecycle an agent pays for, and cost is per measured sandbox-second. Twenty tasks separate the field in ways a usage leaderboard can't express — and the separating findings are deterministic, reproduced nightly: one provider's egress is an allowlist (PyPI and GitHub reachable, the open web blocked, and a stdlib multiprocessing pool hangs outright), another ships a Python without sqlite. Environment facts like these — not marketed cold-start numbers — are what decide assessed quality here.

Close the loop

After your agent uses a recommended provider, it can report how things actually went:

report_outcome(category, provider, success, latency_observed_ms?, notes?, reporter_id, signature, nonce, signed_at)

Reports are HMAC-signed and attributable. The signature covers a nonce and a signed_at timestamp, so each report is accepted exactly once and only while it's fresh — a captured report can't be replayed to inflate anyone's standing. scripts/post-outcome.py is a working reference client.

They surface as the field_signal column beside benchmark scores — visible, useful, and deliberately never mixed into the benchmark itself.

Full user guide — parameters, response fields, signing, caveats: USAGE.md.

Status

Preview. Three categories live, all published — web-search (6 providers, 50 tasks), scraping (5 providers, 16 tasks) and code-execution (3 providers, 20 tasks) — benchmarked nightly from a datacenter, with the outcome-report loop working end to end.

Being straight about the limits: every category's night-to-night noise floor has been measured (most recently 2026-08-24), but orderings still move when real things happen to providers — so this document does not assert which ranks are settled this week. The API says it in-band instead: stability.separated_from_next: false marks a rank the data does not resolve, and treat an overlapping pair as a tie. Every number traces to a stored run.

Feedback and "I asked it X and wanted Y" reports: rishabh@aifund.ai.


Running it yourself

Everything above is powered by this repo — a category-generic benchmark harness where a category is a task suite plus a scoring config, not custom code.

Setup

python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env   # add provider API keys (only needed to run benchmarks)

Run a benchmark

agent-trust run                          # real providers (needs keys in .env)
agent-trust run --providers mock-fast,mock-slow,mock-flaky   # keyless smoke run
agent-trust report                       # summarize persisted batches

Every (provider, task) execution — including errors and timeouts — is one row in SQLite, written as it completes.

Judge, score, and publish

agent-trust judge --batch latest         # LLM-judge quality (needs ANTHROPIC_API_KEY)
agent-trust judge --batch latest --batch-api   # same, via the Batches API: half price, slower
agent-trust scores --batch latest        # per-axis scores + composite ranking
agent-trust report-html --batch latest   # self-contained interactive HTML report

Serve

agent-trust serve                        # HTTP API + MCP at /mcp
agent-trust mcp                          # stdio MCP server for local agents
agent-trust reporter-add my-agent        # issue a signed-outcome reporter identity

Tests

pytest

License

Apache-2.0 — see LICENSE. It covers everything in this repository: the harness, the task suites and the judge prompts.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers