Web search API for AI agents: Serper, Exa and Tavily compared
Serper, Exa and Tavily on the same query: the five results each returned, what each cost and how fast it answered, from real runs. One key or MCP.
- Serper (Google results): $0.0013 and 1.1 s. Stripe's API reference first, then Stack Overflow, Reddit and a help page for shoppers; 3 of the 5 results are from Stripe.
- Exa: $0.0091 and 0.9 s, the fastest. All 5 results are from docs.stripe.com, including the 2025 changelog, but 3 came back without a title and one repeats the top page.
- Tavily: $0.0104 and 1.8 s. It opens with Stripe's 2025 changelog saying cancel_at_period_end is now deprecated (its behavior is unchanged), the most current answer; 4 of 5 are from Stripe.
- Only Exa and Tavily found the changelog. The three searches together cost $0.0208.
- All three ranked the official specification page first.
- Exa took 630 ms, Serper 822 ms and Tavily 1,848 ms. The three searches cost $0.01975.
Ask your agent
Paste this into Claude, ChatGPT or any agent connected to Superpowers.
Search for how to cancel a Stripe subscription at the end of the billing period with Serper, Exa and Tavily, and tell me which sources are official and current.
The same search, side by side
Query “Stripe API cancel subscription at period end”, top 5 from each, run on 10/13/2026.
- Price
- $0.0013
- Time
- 1.1 s
- docs.stripe.comCancel a subscription (API reference)
- stackoverflow.comCancel a subscription item at the end of the billing periodforum
- docs.stripe.comThe Subscription object
- support.stripe.comCancelling a subscription made through Stripefor shoppers
- reddit.com/r/stripeWebhook event when a subscription endsforum
- Price
- $0.0091
- Time
- 0.9 s
- docs.stripe.comCancel a subscription (API reference)
- docs.stripe.comChangelog 2025-07-30, cancel_at helpersno title
- docs.stripe.comChangelog 2025-05-28, end-of-period cancellationsno title
- docs.stripe.comCancel subscriptions (guide)
- docs.stripe.comCancel a subscription, preview API versionrepeat, no title
- Price
- $0.0104
- Time
- 1.8 s
- docs.stripe.comChangelog 2025-05-28, end-of-period cancellationsmost current
- docs.stripe.comCancel a subscription (API reference)
- docs.stripe.comThe Subscription object
- support.stripe.comHow to pause payments or cancel subscriptions
- A personal blog post about Stripe mandatesblog
What comes back
What you get on every lookup, whichever source answers.
- Rank in the provider's results
- Page title and link
- Text from the page, as returned by the provider
- How many results, and which country and language to search in
Providers
Same input and output for every provider. Success rate over 30 days shows after 5 real calls.
| Provider | Price per call | Status |
|---|---|---|
| Exa | $0.0091 | Available |
| Serper | $0.0013 | Coming soon |
| Tavily | $0.0104 | Coming soon |
| DeepSeek | $0.001 | Available |
| DataForSEO | $0.0026 | Available |
| Superpowers | $0.0123 | Available |
| Brave Search | $0.0065 | Coming soon |
| SerpApi | $0.0195 | Coming soon |
Frequently asked questions
Which web search API is best for AI agents?
It depends on the job. On a developer question, Tavily and Exa stayed on Stripe's own docs and found its 2025 changelog, while Serper returned Google's mix of official docs, forums and a help page for shoppers. Serper is the one to use when you want what Google shows people, and at about one seventh of the price it suits high volume. Run your own query through all three before choosing.
Which web search API is cheapest?
Serper (Google results) at $0.0013 per search. Exa is $0.0091 per search of up to 10 results. Tavily is $0.0104. Failed searches are not charged.
Which is fastest?
Exa, in both of our runs: 0.9 s against 1.1 s for Serper and 1.8 s for Tavily on 2026-10-13, and 630 ms, 822 ms and 1,848 ms on 2026-10-08. The compare page shows each provider's 30-day average.
Do they return the same results?
No. For the Model Context Protocol specification all three ranked the official page first, but for the Stripe question only Exa and Tavily found the changelog, and Serper included Stack Overflow and Reddit. Exa returned 3 of its 5 results without a title.
Can I compare them on my own query?
Yes. POST /v1/compare with the category search.web runs several providers on the same input and charges each at its own price; the Stripe comparison cost $0.0208 in total. The compare page does the same from the browser.
How does my AI agent use it?
Add the Superpowers MCP server to Claude, Cursor, Codex or ChatGPT, or call POST /v1/run with a tool such as serper.google-search. New accounts get $5 of credit, enough for about 3,800 Serper searches.
For developersAPI request, full response, returned fields and MCP setup
One key gives your agent Google results through Serper, plus Exa, which searches by meaning, and Tavily. All three take the same request and return a ranked list of pages with title, link and an excerpt. We ran the same searches through all three and show what each returned.
Returned fields
results[].positionRank in the provider's resultsresults[].title / urlPage title and linkresults[].snippetText from the page, as returned by the providerinput: num / country / languageHow many results, and which country and language to search inRequest
Set SUPERPOWERS_KEY in your environment to your dashboard API key. Use a new idempotency_key for each operation; keep the same key and input when retrying it. Never share your API key.
curl -X POST 'https://superpowers.tools/v1/run' \
-H "Authorization: Bearer $SUPERPOWERS_KEY" \
-H 'content-type: application/json' \
-d '{"tool":"exa.search","idempotency_key":"guide-guides-web-search-api-for-ai-agents-1","input":{"query":"Stripe API cancel subscription at period end","country":"us","language":"en","num":5}}'Normalized response
Call made on 10/13/2026 through Serper, Exa and Tavily through Superpowers, answered in 910 ms. Comparison cmp_ctC8tzx63wzd_w. Each provider's five results are listed below.{
"compare_id": "cmp_ctC8tzx63wzd_w",
"category": "search.web",
"input": {
"query": "Stripe API cancel subscription at period end",
"country": "us",
"language": "en",
"num": 5
},
"total_charge_usd": 0.0208,
"summary": [
{
"tool": "serper.google-search",
"status": "completed",
"charge_usd": 0.0013,
"latency_ms": 1100,
"items": 5
},
{
"tool": "exa.search",
"status": "completed",
"charge_usd": 0.0091,
"latency_ms": 910,
"items": 5
},
{
"tool": "tavily.search",
"status": "completed",
"charge_usd": 0.0104,
"latency_ms": 1832,
"items": 5
}
],
"results": [
{
"tool": "tavily.search",
"normalized": {
"results": [
{
"position": 1,
"title": "Adds more flexibility for how you manage subscription end-of-period cancellations",
"url": "https://docs.stripe.com/changelog/basil/2025-05-28/cancel-at-enums",
"snippet": "The cancel_at_period_end parameter is now deprecated. The behavior of this parameter is unchanged, but in the context of mixed interval s…"
},
"…"
]
}
},
"…"
]
}MCP configuration
Add the MCP server to Claude, Cursor or another client and ask in plain language.claude mcp add --transport http superpowers https://superpowers.tools/mcp \ --header "Authorization: Bearer $SUPERPOWERS_KEY"
{
"mcpServers": {
"superpowers": {
"url": "https://superpowers.tools/mcp",
"headers": {
"Authorization": "Bearer ${env:SUPERPOWERS_KEY}"
}
}
}
}codex mcp add superpowers --url https://superpowers.tools/mcp \ --bearer-token-env-var SUPERPOWERS_KEY
More guides
Start with $5 of credit
Enough for 549 calls. No card needed to start.