Skip to Content
Docs

Payments

Fees and pricing

What a request costs, who receives it, and how to fund a balance.

A request has two costs.

  1. Escrow. The amount locked in the payment channel. A cooperative settlement pays all of it out: to the miner, with the protocol's shares for validators and audit taken from it. Miners do not set prices. The chain sets a tariff floor per request, and the payer chooses the escrow above it.
  2. Router fee. A percentage of the escrow, in FLOP, charged only for sessions that settle as paid. Live

How the escrow is sized

The router sets the escrow per request as the largest of:

  • the chain's tariff floor for the model and token count, plus a margin,
  • the configured price per token times the prompt estimate plus max_tokens,
  • a configured minimum,
  • the minimum the miner's signed offer asks for.

A request whose escrow would pass the configured maximum is refused with escrow_limit. Lower max_tokens to lower the escrow. GET /v1/models shows each model's escrow per 1,000 tokens and the chain's tariff floor:

JSON
"pricing": {
  "escrow_per_1000_tokens": "0.05",
  "basis": "token_price",
  "tariff_floor_per_1000_tokens": "0.000000000000030001",
  "router_fee_percent": 5
}

On devnet the tariff floor is tiny, so the configured price or the minimum decides. The minimum per request is 0.01 FLOP on this server, so short requests all cost 0.01 FLOP plus the 5% fee, 0.0105 FLOP.

The router fee

The current percentage is in pricing.router_fee_percent of every model and in flop.router_fee of every response:

JSON
"router_fee": {"percent": 5, "amount": "0.0005", "charged": false, "status": "pending"}
statusMeaning
pendingThe session has not settled yet. The fee is taken if it settles as paid.
chargedTaken from your balance. charged_amount says how much.
not_chargedThe session ended without a paid settlement: no fee.
not_billedThe request had no wallet key, so there was no balance to bill.

Paying the fee

The fee comes from your prepaid balance in both payer modes. When the balance cannot cover it, the request is refused before any channel opens, with 402 insufficient_balance.

Devnet and testnet FLOP have no monetary value.