Skip to Content
Docs

Get started

Overview

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

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.

Base URL

Text
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

You want toRead
Send a first requestQuickstart
Pick models and minersModels, Provider selection
Keep your wallet as the payer on chainPayer modes
Hand the work to a coding agentFor agents
Use an existing SDKSDK compatibility
See every endpointAPI reference

What is live

PartState
Miner directory, scores, modelsLive
Chat completions, auto and pinned routingLive
Session status with on-chain linksLive
Wallet sign-in and API keysLive
Your wallet as the on-chain payer (grant)Live
Prepaid balance and withdrawalsLive
Router fee chargedLive
Streaming (text forwarded as the miner sends it)Live
Tool callsNot supported

The website checks the endpoints against the API it talks to on every visit; the status page shows the result.

For agents and LLMs

  • /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 lists every page. /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.
  • The OpenAPI schema is at /openapi.json.