> ## Documentation Index
> Fetch the complete documentation index at: https://docs.floprouter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> What floprouter is, what happens on each request, and where to start.

Using a coding agent?

Paste this prompt into Claude Code, Cursor, Codex or any LLM. It points the agent at the skill file, which has the exact steps, shapes and checks.

floprouter is one API in front of every GPU miner and every model on FLOP Network. FLOP is a Substrate chain where miners sell LLM inference and are paid through payment channels. The router lists every registered miner, scores each one from its on-chain record, and sends your request to a ready miner, or to the miners you name.

You write one request shape. Models on the network differ in prompt format and decode policy, and miners differ in how a channel is opened with them. The router handles those differences, so your code does not change when a model or a miner is added.

It runs on FLOP devnet today. Devnet and testnet FLOP have no monetary value.

## What happens on each request

1. **A miner is chosen.** Auto mode takes the best ready miner for the model by score. You can name miners with the `provider` object instead.
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.** The reply is checked against the miner's signed receipt before the request completes. 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. Follow it with `GET /v1/sessions/{id}` or in the [playground](https://floprouter.com/playground/).

## Base URL

```text theme={null}
https://api.floprouter.com/v1
```

Every path in these docs is relative to `https://api.floprouter.com`. Send your key as `Authorization: Bearer fr_...`.

`https://api.floprouter.com/api/v1` serves the same routes as `https://api.floprouter.com/v1`. Not live yet

## Where to go next

* [Send a first request](https://docs.floprouter.com/quickstart.md)
* [Pick models](https://docs.floprouter.com/models.md) and [choose miners](https://docs.floprouter.com/routing.md)
* [Keep your wallet as the payer on chain](https://docs.floprouter.com/payer-modes.md)
* [Hand the work to a coding agent](https://docs.floprouter.com/for-agents.md)
* [Use an SDK you already have](https://docs.floprouter.com/compatibility.md)
* [See every endpoint](https://docs.floprouter.com/api-reference/overview.md)

## What is live

| Part | State |
| - | - |
| Miner directory, scores, models | Live |
| Chat completions, auto and pinned routing | Live |
| Session status with on-chain links | Live |
| Wallet sign-in and API keys | Live |
| Your wallet as the on-chain payer (grant) | Live |
| Prepaid balance and withdrawals | Live |
| Router fee charged | Live |
| Streaming (text forwarded as the miner sends it) | Live |
| Tool calls | Not supported |

The website checks the endpoints against the API it talks to on every visit; the [status page](https://floprouter.com/status/) shows the result.

## For agents and LLMs

* [`/skill.md`](https://floprouter.com/skill.md) is an agent skill with every step to integrate floprouter. The "Copy prompt for your agent" button points an agent at it.
* [`/llms.txt`](https://floprouter.com/llms.txt) lists every page. [`/llms-full.txt`](https://floprouter.com/llms-full.txt) is the whole documentation in one file.
* Every docs page is plain Markdown at its path plus `.md`, for example [`/docs/quickstart.md`](https://docs.floprouter.com/quickstart.md).
* The OpenAPI schema is at [`/openapi.json`](https://floprouter.com/openapi.json).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.