List servable text chat models with USD prices (pricing.vs_list vs maker list price). Pass include=discovery to also see image/video models (servable:false). Filter by modality, max output price, text search; sort by popularity or price.
Parametersqsortlimitincludemodalitymax_price
Top trending models right now (by recent tokens served), with prices.
Parameterslimit
Get the credit balance, spend cap and amount spent for a tai_ API key.
Parametersapi_key
Create a stablecoin top-up order. Returns the deposit address, chain and the exact amount to send. Omit api_key to create a new key (returned once).
Parameterspackrequiredchainpromoapi_key
Confirm a top-up after sending funds, by order id and transaction hash/signature. Credits the amount received (tolerance -0.5% or $0.01; other amounts need the sender's signature).
Parameterstx_hashrequiredorder_idrequiredsignature
Credit a stablecoin transfer to our address that has no matching order (or a non-exact amount). Requires the sending wallet's signature of 'trustai.center claim <chain>:<tx_hash>'. Max 7 days old, each tx once. Omit api_key to get a new key.
Parameterschainrequiredapi_keytx_hashrequiredsignature
Set spend controls on a tai_ key: total spend cap, daily limit (UTC day) and per-request max, in USD. Omit a field to keep it, pass null to remove it.
Parametersapi_keyspend_cap_usddaily_limit_usdper_request_max_usd
Usage and audit log for a tai_ key: recent charges (model, tokens, cost), top-ups, last-24h totals, balance and limits.
Parameterslimitapi_key
Public platform stats from our database (tokens and requests in the last 24h, keys created, top models). Real numbers only.
Takes no parameters.
Run a chat completion billed to a tai_ key's credits.
Parametersmodelrequiredapi_keymessagesrequiredmax_tokens