# 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

1. **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 `provider` object.
2. **A payment channel opens on chain.** Escrow for this one request is locked, normally against the miner's signed offer.
3. **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.
4. **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](/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](/docs/quickstart/).

## 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](/status/) shows the result.

## For agents

- [`/llms.txt`](/llms.txt) lists every page. [`/llms-full.txt`](/llms-full.txt) is the whole documentation in one file.
- Every docs page is also plain Markdown: add `.md` to its path, for example [`/docs/quickstart.md`](/docs/quickstart.md).
- The OpenAPI schema is at [`/openapi.json`](/openapi.json) and at `https://api.floprouter.com/openapi.json`.
