WebSearch
APIs
Submit an API
★ KEIRO20 = 20% off Keirolabs Keirolabs $0.03/1kSerper $0.30/1kZenserp $0.90/1kParallel $1.00/1kPerplexity $1.00/1kSearchApi $1.40/1kSerpApi $1.96/1kExa $4.00/1kBrave $5.00/1kLinkup $5.00/1kYou.com $5.00/1kTavily $5.00/1kOpenAI Web $10/1kClaude Web $10/1k Full price index →

Blog/How-to

Tavily API key: get one free in 2 minutes, plus the real cost per search

Get a Tavily API key in two minutes, make your first request, and understand the credit system, from 1,000 free credits to $0.005 each, plus the auto_parameters trap and cheaper alternatives.

TL;DR

  • Sign up at app.tavily.com. Your key (it starts with tvly-) is on the dashboard right away. No card needed.
  • The free plan gives 1,000 credits a month. A basic search is 1 credit, advanced is 2.
  • Paid: $30/month for 4,000 credits up to $500 for 100,000, or $0.008 per credit pay-as-you-go. That's $5–8 per 1,000 basic searches.
  • Doing more than a few thousand searches? Keirolabs lite is $0.03–0.10 per 1,000, and leaving Tavily gets you two months free on a yearly plan.
2 minFrom signup to first request
1,000Free credits every month
$0.008Pay-as-you-go price per credit
1,600Monthly US searches for "tavily api key"

Tavily is one of the most popular search APIs for LLM apps, mostly because it’s the default search tool in a lot of agent frameworks. If a tutorial told you to set TAVILY_API_KEY, here’s how to get one, and what you’re signing up for.

Get your Tavily API key

  1. Go to app.tavily.com and sign up with Google, GitHub or email.
  2. Copy your key from the dashboard overview. It starts with tvly-. A default key is created for you.
  3. Store it in an environment variable:
export TAVILY_API_KEY="tvly-..."

No credit card is needed for the free Researcher plan.

Make a second key for development. If a test script loops, you can revoke it without breaking production, and the dashboard shows usage per key.

Your first request

curl -X POST https://api.tavily.com/search \
  -H "Authorization: Bearer $TAVILY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "latest rust release", "search_depth": "basic", "max_results": 5}'

Or in Python:

from tavily import TavilyClient

client = TavilyClient(api_key="tvly-...")
results = client.search("latest rust release", search_depth="basic", max_results=5)

What Tavily costs

From Tavily’s credits documentation, November 5, 2026:

PlanPriceCredits a monthPer credit
ResearcherFree1,000—
Project$30/month4,000$0.0075
Bootstrap$100/month15,000$0.0067
Startup$220/month38,000$0.0058
Growth$500/month100,000$0.005
Pay as you go—As used$0.008

What each call costs in credits

EndpointCredits
Search, basic1
Search, advanced2
Extract, basic1 per 5 successful URLs
Extract, advanced2 per 5 successful URLs
Map1 per 10 pages (2 with instructions)
CrawlMap cost + extract cost
Research4–110 (mini), 15–250 (pro)

So a basic search costs $5–8 per 1,000 depending on plan, and advanced costs $10–16.

The auto_parameters trap. With auto_parameters turned on, Tavily may switch your search to advanced depth, which costs 2 credits instead of 1. If your bill is double what you expected, set search_depth="basic" explicitly.

Is Tavily worth it?

Tavily is good at what it does: cleaned content in the results, an optional answer, and integrations everywhere. Where it hurts is volume. At $8 per 1,000 pay-as-you-go, an agent doing ten searches per task costs eight cents a task in search alone. At 100,000 tasks a month that’s $8,000.

1 million basic searches a monthCost
Tavily (pay as you go)$8,000
Tavily (Growth plan + pay-as-you-go overage)$500 + $7,200 = $7,700
Brave$5,000
Exa lite$4,000
Parallel fast$1,000
Keirolabs lite$99.99 (Startup plan, uses a third of its credits)

The alternative most Tavily users should try

Keirolabs covers what people use Tavily for, on its own index, at a fraction of the price:

What you use on TavilyTavilyKeirolabs equivalent
Basic search$5–8 per 1,000Lite: $0.03–0.10 · Fast: $0.44–1.33
Search with contentIncluded in searchsearch/content: $1.33–4.00
Extract1 credit per 5 URLsextract: $1.78–5.33 per 1,000
Answerinclude_answeranswer: $0.89–2.67 per 1,000
Research4–250 creditsdeep: $1.78–5.33 per 1,000

Its deep search scored 96.5% on SimpleQA in a public repo, against Tavily’s self-reported 93.3%. And there’s an MCP server, so swapping it into an agent is a config change.

Two offers make switching close to free. Keirolabs gives two months free on any yearly plan if you’re leaving Tavily: send your Tavily invoice to team@keirolabs.cloud. And through Black Friday, code KEIRO20 takes 20% off. Start with 750 free credits: Keirolabs pricing.

More options in Tavily alternatives and the head-to-head Exa vs Tavily.

FAQ

Is the Tavily API free?

Yes, up to 1,000 credits a month on the Researcher plan, with no card. Students can get it free through Tavily’s student program, and startups can apply for 100,000 free credits.

Where do I find my Tavily API key?

On the dashboard at app.tavily.com, under your API keys. It starts with tvly-.

How many searches do 1,000 credits buy?

1,000 basic searches, or 500 advanced searches.

Either you used search_depth="advanced", or auto_parameters switched it for you.

Topic hub

More on search apis for ai and agents

  1. Best web search APIs in 2026, ranked on two benchmarksStart here
  2. Web search in LM Studio and Open WebUI: free and paid setups, step by step
  3. How to search the web from Python: ddgs, googlesearch and 3 APIs (with code)
  4. Tavily MCP, Exa MCP and Keirolabs MCP: setup for Claude Code, Cursor and LM Studio
  5. Tavily vs Perplexity vs Exa: search API pricing, accuracy and which to pick
  6. Keirolabs: pricing, endpoints, benchmarks and how to start
  7. OpenAI web search API: pricing, limits and when a search API is cheaper
  8. Exa vs Tavily: pricing, index, accuracy and which to pick
  9. Exa API pricing and API key: every endpoint, explained
  10. Web search APIs for AI agents: MCP servers, token costs and what actually matters
  11. Free web search APIs in 2026: every free tier, and how far it really goes
  12. What is a web search API? Types, prices and how to pick one (2026)
  13. Perplexity API pricing (Nov 2026): $5 per 1,000 searches, or $1 on Fast
  14. Tavily alternatives: 8 search APIs for AI agents, compared

Keep reading