{"id":"fi.usdf/gateway","slug":"fi-usdf-gateway","title":"Foundry: prepaid AI compute in USDF","description":"Prepaid AI compute in USDF: models, quotes and chat with a receipt; pay per call (x402) or by key","version":"1.0.0","publisher":{"kind":"domain","id":"usdf.fi","label":"usdf.fi","url":"https://usdf.fi"},"website":"https://usdf.fi/developers","repository":"","remotes":[{"type":"streamable-http","url":"https://api.usdf.fi/mcp","headers":[{"description":"Bearer and a prepaid account's API key: chat, balance and receipts on that account. Without it, chat is paid per call with x402, balance reads a wallet address and receipt any request id.","isSecret":true,"placeholder":"Bearer sk_...","name":"Authorization"}]}],"packages":[],"published":"2026-10-16","updated":"2026-10-16","status":"online","auth":"","latency_ms":1478,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"name":"list_models","title":"List models","description":"Models the gateway serves with their context window, output limits and whether a route is available right now; with an API key, their prices too (USD per 1M tokens, the same figure in USDF).","read_only":true},{"name":"quote","title":"Quote a request","description":"The hold the chat tool places before running a request, in USDF and USD (output capped at 4096 tokens). It is an estimate, not a ceiling: a completed request is billed the provider's reported usage, normally less. Pass prompt or messages. No key needed; a request for attested hardware (a :private model id or provider.private), and any request from a Private-tier key, is quoted on its attested rout","read_only":true},{"name":"list_tools","title":"List tools","description":"Tools you can call through POST /v1/tools/{id}, paid from the same balance and key as chat, each with the input it takes (with an API key, its price in USDF too), ordered by title. Every tool listed can be called now. q keeps the tools whose id, title or description has those words; a page holds up to 200, and page.next names the next one. No key needed.","read_only":true},{"name":"quote_tool","title":"Quote a tool call","description":"What a call to a tool would hold for this input before it runs (its most it can cost), in USDF and USD, with the tool's price. It checks the input as the call would, and runs and holds nothing. No key needed.","read_only":true},{"name":"x402_pay","title":"Pay an x402 URL","description":"Calls a URL that asks for an x402 payment and pays it for you: the gateway pays the seller in USDC from its own float and charges this key in USDF the seller's amount and the payer's fee (never free credit), within the key's and its agent's limits. Needs an API key. Returns the seller's answer with the payment and its receipt; a payment is charged only once the chain shows it, and one that never s","read_only":false},{"name":"agents_market_search","title":"Search the agents market","description":"Agents, APIs and tools priced per call, in one market, every listing in the same shape: its id (svc_...), name, description, tags, site and logo, how it is called (GET or POST), what one call costs in USDF from this key's balance, input and output examples, and the data policy. Ordered by popularity (default), price or newest. No key needed to search; agents_market_call calls one.","read_only":true},{"name":"agents_market_call","title":"Call a listing","description":"Calls a listing of the agents market by its id (svc_..., from agents_market_search), paid from this key's USDF balance (never free credit) within the key's and its agent's limits and at most max_price: what one call costs and nothing on top; a call its seller does not answer 2xx costs nothing, or no more than what its seller kept of it. Every listing is called the same way, and answers 503 market_","read_only":false},{"name":"chat","title":"Chat completion","description":"Runs a chat completion and returns the text with its receipt (tokens, price, cost, balance, settlement). With an API key it spends from that key's balance, holding the most the request can cost first. Not streamed. Output is capped at 4096 tokens. A call without a progress token answers within 55 s of arriving. With a progress token, progress is sent every 15 s and the call may run 10 minutes, so ","read_only":false},{"name":"balance","title":"Balance","description":"With an API key: what the key can spend now, the account's balance and the amount held for requests running, and what is left of the key's budget, in USDF. With address instead, and no key: that wallet's USDF and USDG on the chain now, and how much USDF it lets the signature-transfer contract spend, which x402 payments come from.","read_only":true},{"name":"receipt","title":"Receipt","description":"With the API key that made the request: its receipt, with the usage, the price sheet version, the cost and, once settled, the settlement, its transaction and the rows behind the onchain digest. With no key: the public receipt of any request id, x402 ones included, with its line in the usage log, the payment, the settlement and where its proof is (GET /x402/v1/receipts/{id}).","read_only":true}],"server_info":{"name":"foundry-gateway","version":"1.0.0"},"category":"communication","tags":["crypto","web-search","agents"],"kind":"remote","source":"registry","submitted":{},"first_party":true,"domain_rank":null,"score":100,"indexable":true,"first_seen":"2026-10-16","stars":0,"badges":[],"sponsor":null,"page":"https://agentsindex.org/agents/fi-usdf-gateway/"}