← flop.finance

Use FLOP in Claude Code or Codex

Run your coding agent on models served by independent GPU miners on the FLOP network, and pay for it in FLOP. The FLOP command-line tool starts the agent and points it at FLOP for that session. You don't edit any settings files.

The free trial ended on 30 November 2026. Every run is now paid from your own wallet. On Devnet, FLOP's test network, the faucet gives you FLOP for free. Devnet FLOP has no value and earns no airdrop credit.

Your prompts and the code your agent reads go to an independent GPU operator. Don't use it on code or data you can't share.

Before you start

npm install --global @flop-labs/cli

Pay from your own wallet

Your wallet pays a GPU miner directly through a payment channel. This works on macOS and Linux.

  1. Choose a password for the wallet file, then create the wallet. The command prints the wallet's address; keep it for the next step.

    export FLOP_KEY_PASSWORD='choose-a-long-password'
    flop keys generate --out wallet.json --password-env FLOP_KEY_PASSWORD
  2. Get free Devnet FLOP for that address:

    flop --network devnet faucet request YOUR_WALLET_ADDRESS
  3. Pick a miner. You need its account, its public HTTPS endpoint and a model it serves. Send a request to a specific miner explains where to find them.

  4. Start your agent with spending limits. Replace the three capitalised values with the miner's details:

    flop --network devnet --keystore wallet.json --password-env FLOP_KEY_PASSWORD \
      launch claude --pay wallet --miner MINER_ACCOUNT --endpoint MINER_URL --model MODEL_ID \
      --budget-flop 20 --max-channel-flop 5 --top-up-flop 1
    flop --network devnet --keystore wallet.json --password-env FLOP_KEY_PASSWORD \
      launch codex --pay wallet --miner MINER_ACCOUNT --endpoint MINER_URL --model MODEL_ID \
      --budget-flop 20 --max-channel-flop 5 --top-up-flop 1

The three limits are in FLOP. --budget-flop caps everything this wallet spends through the launcher. --max-channel-flop caps one payment channel, and the miner can be paid all of it when the channel closes normally. --top-up-flop is how much is added at a time while you work. Network fees come on top.

Check that it worked

Your agent opens in the terminal as usual. Give it a small task, such as “explain what this project does”. To stop, type /exit or press Ctrl+C.

The command changes only what it needs. It points the agent at FLOP for this session only, so your Claude Code settings stay as they are. Codex runs from its own folder (.flop/codex-home), so your .codex settings are not read or changed. Start the agent the usual way, without this command, and it uses your normal account again.

If a wallet session ends abruptly, the money locked in its channel is not lost. Once the channel has expired, run this to claim the refund. It starts no agent and takes none of the miner or limit options:

flop --network devnet --keystore wallet.json --password-env FLOP_KEY_PASSWORD \
  launch claude --pay wallet --recover

No terminal: add FLOP tools to your AI app

FLOP also runs an MCP server, a standard way to give an AI app extra tools. Add it with one click and your assistant can look up FLOP models and prices, chain data and the FLOP documentation. These tools only read; they don't run inference on FLOP or spend anything.

Add to Cursor Add to VS Code

Each button opens the app, which shows the server before you confirm. In Claude on the web or the desktop app, open Settings → Connectors → Add custom connector, and paste this address:

https://mcp.flop.network/mcp

If something goes wrong

'claude' was not found on PATH (or 'codex')

The coding agent isn't installed, or your terminal can't find it. Install Claude Code or Codex, open a new terminal window, and run the command again.

flop: command not found, or an error about the Node.js version

Install Node.js 22 or later, run npm install --global @flop-labs/cli, then open a new terminal window.

Trials are disabled on Devnet and Testnet, or --pay is required

The free trial has ended. Add --pay wallet and follow the steps above.

--pay wallet requires --keystore and --password-env

Put --keystore wallet.json --password-env FLOP_KEY_PASSWORD before launch, and make sure FLOP_KEY_PASSWORD is set in this terminal window.

--miner is required for a direct lane (or --endpoint, --model, --budget-flop)

The wallet lane needs the miner's account, endpoint and model, plus the three spending limits. Copy the full command above and replace only the capitalised values.

… do not apply to --pay wallet --recover

Recovery only reads your wallet's channel records, so leave out --miner, --endpoint, --model and the three -flop limits. Use the recovery command under “Check that it worked”.

direct lanes launch agents on Linux and macOS only

On Windows, run these commands inside WSL (Windows Subsystem for Linux).

… does not support tool calls

Coding agents need a model that can use tools. Choose another model with --model; the model catalog lists which models offer tools.

Claude Code still uses my Anthropic account

Claude Code may prefer the ANTHROPIC_… values in the env section of ~/.claude/settings.json over the values this command sets. If you added any there, remove them and run the command again.

Questions

What does it cost?

On Devnet, nothing real: the faucet gives you Devnet FLOP for free, and it has no value. Each run spends Devnet FLOP within the limits you set, plus small network fees.

Will it be as good as Claude or GPT?

No. FLOP miners serve open-weight models, which are smaller than the models Claude Code and Codex normally use, so expect simpler, slower answers.

Can I use another app, or set it up by hand?

Yes. The manual setup guides show how to point an app at FLOP yourself: Claude Code, Codex, and other agent clients such as Cline and Kilo Code.

What is FLOP?

A network where GPU owners run AI models and get paid in FLOP, and where the work can be checked. The agent brief explains it in one page.