search-api-credit-cost
A small Elixir (Mix) tool for the pricing question in the comparison Exa vs Tavily: what do my monthly search calls cost on each API?
The page states two different billing models: Exa is pay as you go in dollars per 1,000 requests (lite $4, auto $7, deep $12, deep-reasoning $15, ten results included), while Tavily bills credits (basic, fast and ultra-fast searches cost 1 credit, advanced costs 2) with a free tier, monthly plans of 4,000 to 100,000 credits, or pay as you go at $0.008 a credit. This tool turns a mix of search modes into a monthly dollar figure for each.
All prices are the ones that page states, read 25 Oct 2026 (US dollars). Vendors change prices, so check their own pricing before you buy. Elixir 1.14 or later, no dependencies.
Use
mix cost --exa lite=15000,deep=500 --tavily basic=15000,advanced=500
mix cost --exa auto=3000 --tavily basic=3000 --billing annual
mix cost --tavily basic=900 # inside the free 1,000 credits
mix cost --prices # print the prices the tool uses
- A mix is
mode=count,mode=countper month. Exa modes:lite,auto,deep,deep-reasoning. Tavily modes:basic,fast,ultra-fast,advanced. - For Tavily the tool lists every way to pay for the credits you need, cheapest first: the free tier, a monthly plan that covers them (plan credits reset monthly and do not roll over, per the page) or pay as you go. It does not model overage on a plan.
--billing annualuses the annual monthly rates the page shows for Tavily plans.- Search calls only. Extract, map, crawl, research, contents, answers and Exa's free-credit terms are priced differently on the page and are left out.
Test
mix test
The tests check the per-1,000 prices, the credit counts, the free tier, plan and pay-as-you-go crossovers and the input errors.
Request counts in examples/ are made up. Price is one input; MCP servers, site crawl and company or people search are covered on
the page. MIT licensed.