Skip to main content
Each request is one session. A session opens one payment channel on FLOP Network: an on-chain account between the payer and the miner that holds the escrow for this request. The miner answers through it and is paid from it.

The life of a channel

Settlement timing and the recovery calls are on the settlement page.

Read a session

The session id is the id of the chat completion, and flop.session_id. The record carries:

Generation records Not live yet

A generation lookup reads the same session by its id:
It returns tokens, total_cost in FLOP, finish reason, latency and the verified reply, with the full session under flop. Every chat response carries the id in the X-Generation-Id header as well as in id.

Cost in the response

usage.cost is the request’s cost in FLOP: escrow plus router fee. It is final when the session settles (usage.cost_details.final), and 0 for a session that is refunded. usage.cost_details.upstream_inference_cost is the escrow, split into prompt and completion by token share.

List your sessions

On the explorer

  • A channel: https://explorer.devnet.flop.network/channels/<channel_id>
  • A transaction: https://explorer.devnet.flop.network/transactions/<outcome_tx>
  • A payer or miner: https://explorer.devnet.flop.network/account/<address>
In grant mode the explorer shows your address as the payer of the channel.