Providers

For providers

List your endpoint or your marketplace on Foundry. The cheapest reliable provider wins every request, and you are paid in USDF every hour.

On this page

Foundry is open to every provider and every marketplace: GPU hosts, model makers, Mac and GPU nodes, marketplaces and aggregators. The cheapest reliable provider wins every request, in real time, so a better price or a faster endpoint wins traffic at once.

Every listing adds volume to the network. You are paid in USDF every hour for what you serve. It is built to grow the network, not to compete with anyone.

Providers

One OpenAI-compatible endpoint and one model list. Point us at your endpoint's own GET /models with prices, or at a price feed.

Marketplaces and aggregators

Many models and many sellers behind one account, with one endpoint and a bulk price feed of models, prices and capacity.

  • Sign in and choose List on Foundry on the dashboard, or send POST /v1/listers with your session.
  • Connect an OpenAI-compatible endpoint (its base URL and the header we send with every request), and where your models and prices come from: your endpoint's GET /models, a price feed URL, or the API alone. x402 endpoints can be listed now and are served once the network pays x402 endpoints.
  • Prove your origin with a token at a well-known path or a signed header.
  • Verification runs by itself: a real request per model, hidden test prompts, the tokenizer's fingerprint and your declared precision. Nothing gets traffic before it passes.
  • Post a bond from your own wallet into the bond contract. It is small for a new listing and grows with your share of traffic.
  • Go live. Each request goes to the cheapest reliable route. Where that is yours, you serve it, and each closed hour is paid to your wallet in USDF.

Most providers are live within minutes of signing in. The answer to each call says what is next.

List a provider

curl
curl https://api.usdf.fi/v1/listers \
  -H "Authorization: Bearer $SESSION" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Example Compute",
    "kind": "provider",
    "endpoint": {
      "base_url": "https://api.example-compute.com/v1",
      "auth": {"header": "authorization", "value": "Bearer YOUR_KEY_FOR_US"}
    },
    "feed": {"kind": "models"},
    "data_policy": {"retains": false, "trains": false, "region": "us"},
    "named": true
  }'

List a marketplace

curl
curl https://api.usdf.fi/v1/listers \
  -H "Authorization: Bearer $SESSION" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Example Market",
    "kind": "marketplace",
    "endpoint": {
      "base_url": "https://api.example-market.com/v1",
      "auth": {"value": "Bearer YOUR_KEY_FOR_US"}
    },
    "feed": {"kind": "price_feed", "url": "https://api.example-market.com/foundry/feed.json"},
    "data_policy": {"retains": false, "trains": false}
  }'

Your feed lists every model you want served: its price, its precision, its limits and whether it is ready. We read it when you list and every few minutes after, apply new prices at once and verify any model that is new or changed. If you already publish a models endpoint for other routers, point us at the same URL: we read that format, the flat one below and the typed document with input and output modalities.

A feed with one model

{
  "data": [
    {
      "id": "example-org/example-70b-instruct",
      "foundry_model": "example-70b-instruct",
      "upstream_model": "example-70b",
      "pricing": {
        "prompt": "0.00000008",
        "completion": "0.00000025",
        "input_cache_read": "0.00000004"
      },
      "context_length": 131072,
      "max_completion_tokens": 16384,
      "quantization": "fp8",
      "capacity": {"requests_per_minute": 600, "tokens_per_minute": 2000000},
      "is_ready": true
    }
  ]
}
FieldWhat it is
idYour name for the model.
foundry_modelThe model on Foundry it is (an id from the model list). Optional when your id already names it.
upstream_modelWhat we send as model to your endpoint. Your id when left out.
pricing.prompt, pricing.completion, pricing.input_cache_readYour listed price in USD per token, as decimal strings. Prompt and completion are required; cached input where you bill it.
quantizationThe precision your weights run at: fp32, bf16, fp16, fp8, int8, int4 and the like. Required. A request that asks for a precision only reaches routes at it.
context_length, max_completion_tokensThe window and the output limit your endpoint takes.
capacityRequests and tokens a minute you can take. Optional.
is_readyFalse takes a model out of service without removing it.

Your listing comes with a token. Prove you control your endpoint's origin, and your feed's when it is on another host, in either of two ways:

  • Serve the token as a line of /.well-known/usdf-provider.txt on the origin, answered with status 200 and no redirect.
  • Or answer our challenge: we send usdf-proof-challenge on a request to your endpoint's /models (or your feed), and you answer with usdf-provider-proof, the lower-case hex HMAC-SHA256 of the challenge keyed with your token.

The signed header

GET https://api.example-compute.com/v1/models
usdf-proof-challenge: 6f1d0c9a2b7e4f31a8c5d2e9b0f7a614

HTTP/1.1 200 OK
usdf-provider-proof: <hex HMAC-SHA256 of the challenge, keyed with your token>

Each model is verified automatically before it gets any traffic, and again from time to time, unannounced:

  • A real request: the answer must be a well-formed chat completion with usage that adds up.
  • Hidden test prompts: questions with a known answer, never the same twice, sent exactly as a real request is sent. The answer must be right and name the model asked for.
  • The tokenizer's fingerprint: your count of the prompt's tokens must match the model's own.
  • Your declared precision: carried on your route and held to every request that asks for one.

A model that fails stops serving until it passes again. Real requests that fail in a row take your routes out of service the same way, and come back after a passing check.

Every request goes to the cheapest reliable route, by price, uptime and speed, in real time. A route that fails in a row goes last until it recovers. Your price on the route is your listed price less the 5% take: what the network pays for the request.

RuleWhat it means for you
Cheapest reliable route winsLower your price or improve your uptime and speed, and you win more requests at once.
Within 2%Between listings priced within 2% of each other, the higher bond wins, then the one listed longer.
MarketplacesA marketplace serves at most half of any model's traffic.
Your bondA small bond covers a first share of a model's traffic; a larger one, more.
Private requestsRequests for the private tier run on attested hardware only, never on a listing.
A request that names its providersIt is served as it asks.

A seller posts the listing's bond from their own wallet into the bond contract, which holds it; Foundry never does. It is small for a new listing and grows with volume: the least bond covers a first share of each model's traffic, and each step above it covers more. Your dashboard shows what your bond covers and what the next step needs. Only the wallet that posted the bond can take it back, after the contract's 7-day notice; nobody else can move it. A listing caught serving a different model than the one asked for is removed.

Each closed hour, what you served is paid to your payout wallet in USDF: your listed price for every request you served, less the 5% take. The take is booked as network revenue. Your payout wallet is the wallet linked to your account, or another one you prove with its own signature.

USDF earns nothing, plain or held in any other token or vault.

Amount
Your listed price for the requests you served100.00 USDF
The 5% take, booked as network revenue5.00 USDF
Paid to your wallet for the hour95.00 USDF

Your dashboard shows each listing's traffic, revenue, verification and bond, and what you would earn at a lower price: the price at which your route would be the cheapest of each model, and what the last day's traffic on it would have paid you there. The same is GET /v1/listers/me, with your session or one of your own API keys.

Read your listings

curl
curl https://api.usdf.fi/v1/listers/me \
  -H "Authorization: Bearer $USDF_API_KEY"

Update prices and capacity through the API at any time with POST /v1/listers/{id}/models. Here input_price, output_price and cached_input_price are in USD per 1M tokens, where the feed's pricing is in USD per token. A new price applies at once and keeps the model's verification; a new or changed model is verified again. With a feed, your feed's next poll states your models again.

Update prices and capacity

curl
curl https://api.usdf.fi/v1/listers/ls-abc123def456/models \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "models": [
      {
        "id": "example-70b-instruct",
        "input_price": 0.07,
        "output_price": 0.22,
        "capacity": {"requests_per_minute": 900}
      }
    ]
  }'

You choose whether your name is shown. Named listings appear below as Listed on Foundry. Every other listing serves as Foundry network and is never named anywhere.

NameKindModelsListed since
Named listings appear here once they are live.

Questions about listing: protocol@usdf.fi.

Foundry documentation

Confirm it's you

Confirm to continue the action you started.

Checking confirmation options…