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.
輸入參數qsortlimitincludemodalitymax_price
Top trending models right now (by recent tokens served), with prices.
輸入參數limit
Get the credit balance, spend cap and amount spent for a tai_ API key.
輸入參數api_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).
輸入參數pack必填chainpromoapi_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).
輸入參數tx_hash必填order_id必填signature
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.
輸入參數chain必填api_keytx_hash必填signature
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.
輸入參數api_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.
輸入參數limitapi_key
Public platform stats from our database (tokens and requests in the last 24h, keys created, top models). Real numbers only.
無需輸入參數。
Run a chat completion billed to a tai_ key's credits.
輸入參數model必填api_keymessages必填max_tokens