Skip to main content
POST

Authorizations

Authorization
string
header
required

varg API key (varg_...). Get one at app.varg.ai or run bunx vargai login. App sessions may alternatively send a Supabase JWT.

Body

application/json
model
string
required
tool
string
capability
string

Alias of tool. If both are absent the tool is inferred from model.

Response

Estimate

valid
boolean
model
string
tool
string
resolved_model_key
string | null

The exact route (provider:model) this request would run on. Pin it as model for deterministic routing.

pricing
object
breakdown
object[]

Render only. Per-child line items.

warnings
string[]