# Vendor-neutral search-API cost router and usage receipt

> Project brief for Claude Code from NixInc Ideas: https://nixinc.co/ideas/2026-09-19-vendor-neutral-search-api-cost-router
> Scored 5/10 on 19 Sept 2026, verdict WATCH. Prices are as of the dates shown.

## What we're building
AI products that call web-search APIs struggle to see what each workflow costs, how fast each provider is, and when an agent is overspending.

## Who pays
Engineering lead at an AI product making many web-search calls.

## What they already pay
- Exa, Search, per 1,000 requests: $7 (as of 19 Sept 2026)
- Exa, Deep search, per 1,000 requests (low end): $12 (as of 19 Sept 2026)
- Exa, Deep search, per 1,000 requests (high end): $15 (as of 19 Sept 2026)
- Exa, Monitor, per 1,000 runs: $15 (as of 19 Sept 2026)
- Tavily, Per credit, after 1,000 free credits a month: $0.008 (as of 19 Sept 2026)
- Brave, Search, per 1,000 requests: $5 (as of 19 Sept 2026)
- Brave, Answers, per 1,000 queries plus token charges: $4 (as of 19 Sept 2026)

## Milestone 0: the 72-hour test, before any code
Ask 20 AI engineering leads for a redacted week of search-call logs or bills; manually return a provider-by-workflow cost/latency report and proposed routing policy.

- Pass line: Three teams provide real usage data and 2 sign letters of intent at the proposed $99/month test price.
- Stop rule: Stop after 30 qualified contacts if fewer than 3 teams share usage data or nobody signs an LOI; kill immediately if the incumbent SDK/provider dashboard already supplies the same cross-provider receipt.

Do not start milestone 1 until the pass line is met.

## Milestone 1: the smallest version worth shipping
A manual report from one redacted week of search-call logs or bills: cost and latency per provider per workflow, plus a proposed routing policy and per-agent budget caps.

## Skip in v1
Another search API or index, and a hosted dashboard before teams share real usage data.

## Needs
Redacted search-call logs or bills, published rates for Exa, Tavily and Brave, and later an open-source proxy that sits in front of their APIs.

## How to work in this repo
1. Plan before you edit: say which files change, the smallest change that works and how you will check it, then wait for a yes.
2. One task at a time, small enough to read in one diff.
3. After each change, run the checks, then say what changed, what you tested and what still needs a person to look at.
4. Check it like a first-time customer: run the real thing and try the empty, error and success paths.
5. Keep secrets out of the repo and out of chat. Environment files stay local.
6. Ask before installing dependencies, touching payments or sign-in, or deleting files.
7. Do not build anything listed under "Skip in v1".
