Skip to main content

Providers and tiers

One request goes to the router, which holds the provider keys. A tier says how wide the router fans it out, and is also a per-query cost ceiling.

The engines​

On the hosted service a max search asks eight engines: Exa, Brave, Parallel, Serper, TinyFish, Perplexity, Ceramic and Seltz. They run as seven arms, because one arm, telem, asks two indexes, Ceramic and Seltz.

tierwhat runs
maxall seven arms, the eight engines above
balancedfour core arms: exa, brave, parallel-search and perplexity-search
fasta preset of fast indexes: economy (serper, parallel-fast) or standard (exa-lite, serper, parallel-fast)

providers in a request names arms, not engines. The hosted service enables eleven: the seven core arms (exa, telem, brave, parallel-search, serper, tinyfish, perplexity-search); exa-lite and parallel-fast, which run in the fast presets or when a request names them; and tavily (Tavily, basic search depth) and tavily-advanced (Tavily, advanced search depth), which no tier or preset runs, only a request that names them. Nothing else is callable, and naming any other provider is a 400. There is no slow lane: every arm answers within the search, so nothing lands after the response. The set is the router's and changes without a client release. decision in every response says which arms ran.

Asking every provider is SuperSearch. Sending a query to one named provider is what a web search router does, and Jevlin can do that too: Web search router vs SuperSearch measures the difference.

What a search returns​

The router runs the request against the arms and answers once:

  • result.merged: the citations of every provider that answered, deduplicated by page. Each entry carries found_by, the providers that found that page, and best_rank, the best position any of them gave it. Agreement between independent indexes is the fan-out's own evidence, and the skill tells the agent to read this list first.
  • result.candidates: each provider's answer as it came back, so a disagreement can be inspected rather than averaged away. "view":"merged" drops this when tokens matter.
  • decision: which providers ran, decision.trimmed for any the ceiling cut, and decision.requested when the request named its own set. An arm that was skipped carries a reason, such as breaker_open or provider_capacity, which means the router already had its share of calls in flight to that provider across every tenant; the rest of the fan-out still answers.
  • usage.cost_micros: what the search cost, in millionths of a dollar. latency_ms: for the search and for each provider. request_id: so a search can be found again on the platform.

See the envelope for every field.

The three tiers​

tierwhat runsfor
fasttwo fast indexes (economy, the default) or three (standard), in about a second; about $0.0013 or $0.0053 a searcha routine lookup; the only tier an unclaimed agent may use
balancedfour arms, 8 results per arm, a 12-page merged window, each result attributed to its source; about $0.022 a searchwhen the agent needs more than one source, or the first answer came back thin
maxall seven arms (the eight engines), 15 results per arm (10 on Parallel), a 24-page window and longer excerpts; about $0.027 a searchcorroboration: the same page found by independent indexes

Search is billed at each engine's own price with no markup; a named providers set costs what those providers charge. A tier is also a per-query cost ceiling on the router. A set of arms that would exceed the ceiling is trimmed rather than refused, with decision.trimmed naming what went. What a search costs you is on Pricing and credit.

Naming your own providers​

providers in a request runs exactly the arms you name, and the response records it as decision.requested. It needs balanced or max: on fast the router answers 400 invalid_request, because the fast set is the router's to choose. A named set is not a fan-out, so its trace carries no comparison between providers, and it is billed at the price of the providers you named. See Request options.

Tavily is reached this way only: add tavily or tavily-advanced to providers, for example "providers": ["exa", "brave", "tavily"]. Basic depth costs $0.005 a search and advanced depth $0.010. Either returns at most 20 results. Tavily gives no publication date, so a page only Tavily found has none. The two are one index group: a page both find counts as one group, not two.

Over the HTTP API, a search can ask for the web as it was saved at an earlier time (as_of). Such a search runs Perplexity's saved copies alone, on balanced or max or with perplexity-search named in providers, and leaves every other arm out, so no live result is merged in. The jevlin binary sends it from v0.9.0 (Dated search). See Dated search.

Who chooses​

  • You, ahead of time. /jevlin tier balanced in an agent, or jevlin agents tier balanced from a shell, sets the tier every search carries unless a request names one. /jevlin tier default unsets it, and /jevlin tier says what is in force. See Choosing a tier.
  • The agent, one step at a time. The skill tells it to leave tier unset so your tier applies, and never to pick a tier or a preset itself. It sends providers only when you ask for a specific index. The tier is yours to choose.
  • The router, when nobody did. A request that names no tier, with none set by you or the config, carries none, and the router applies your key's default: balanced for a key with no default of its own. An unclaimed agent may use only fast.

Spend​

jevlin limits # this key's spend caps and today's spend, read from the router
jevlin limits -json # the same as one envelope

Reading spends nothing. Setting caps from the command line is not built yet; the platform's Limits page shows the same figures, and is where a higher rate ceiling is requested. See Rate limits and spend caps.