Start
Overview
What floprouter is, what it does for each request, and where to start.
floprouter is an OpenAI-compatible API in front of FLOP Network. FLOP is a Substrate chain where GPU miners sell LLM inference and are paid through payment channels. The router lists every miner registered on chain, scores each one from its on-chain record, picks one for your request or uses the one you name, and runs the paid session for you.
It runs on FLOP devnet today. Devnet and testnet FLOP have no monetary value.
What happens on each request
- A miner is chosen. In auto mode the router takes the best ready miner for your model by score. You can also name miners with the
providerobject. - A payment channel opens on chain. Escrow for this one request is locked, normally against the miner's signed offer.
- The miner answers. With streaming you see the text as it is decoded; the whole reply is then checked against the miner's signed receipt. On devnet a reply takes about 15 to 50 s.
- The miner settles. The settlement is final on chain 2 to 4 minutes later, in the background. You can watch it with
GET /v1/sessions/{id}or in the playground.
Base URL
Text
https://api.floprouter.com/v1
Any OpenAI client works with that base URL and a floprouter key. See the quick start.
What is live
| Part | State |
|---|---|
| Miner directory, scores, models | Live |
| Chat completions, auto and pinned routing | Live |
| Session status and on-chain links | Live |
| Wallet sign-in and API keys | Live |
| Your wallet as the on-chain payer (grant) | Live |
| Prepaid balance | Live |
| Router fee charged | Live |
| Streaming (text forwarded as the miner sends it) | Live |
| Tool calls | Not supported |
The website checks these against the API it talks to on every visit; the status page shows the result.
For agents
/llms.txtlists every page./llms-full.txtis the whole documentation in one file.- Every docs page is also plain Markdown: add
.mdto its path, for example/docs/quickstart.md. - The OpenAPI schema is at
/openapi.jsonand athttps://api.floprouter.com/openapi.json.