Independent Operator Notice: FLOPMesh (flopmesh.com) is an independent community GPU miner fleet and open-source developer tooling project. We are unaffiliated with Flop Labs (official protocol docs & announcements live at flop.network and docs.flop.network).

🔌 OpenRouter, LiteLLM Proxy, Cline & Broker Integration Guide 109 Ready GPUs

Route standard OpenAI /v1/chat/completions traffic from LiteLLM Proxy, OpenRouter-style brokers, Cline / Roo Code / Continue.dev, and OpenWebUI onto cryptographically verified BF16 GPUs on FLOP Testnet — either through the official FLOP Testnet Gateway / Public API or directly over sovereign on-chain state channels via joachimber/flop-openai-router + FLOP_INDEXER_URL=https://flopmesh.com.

1. Live OpenRouter-Compatible Model Catalog (Fixed Network G_n Pricing)

The official FLOP Testnet catalog (GET https://gateway.testnet.flop.network/v1/models) emits native OpenRouter provider metadata (architecture, pricing, supported_parameters, top_provider, and fixed x_flop.gflops_per_token):

Model ID (OpenRouter Slug)PrecisionContextFixed G_n / tokTool CallingBest Broker / Agent Workload
qwen/qwen3-14bBF1640,96030Native Hermes (tools, tool_choice)Flagship reasoning, agentic tool-use, 32k+ spec & code audits
qwen/qwen2.5-14b-instructBF1632,76830Native Hermes (tools, tool_choice)Deterministic instruction-following, JSON extraction, multilingual chat
qwen/qwen2.5-coder-7b-instructBF1632,76816Native Hermes (tools, tool_choice)Dedicated low-latency IDE autocomplete, Cline / Roo Code / Continue edits
qwen/qwen3-8bBF1640,96017Native Hermes (tools, tool_choice)General fast chat & high-concurrency batch summarization

2. LiteLLM Proxy Multi-Model Broker Setup (config.yaml)

Run flop-openai-router locally on 127.0.0.1:8787 (with multi-wallet --keystore-dir round-robin and automatic FLOP_INDEXER_URL=https://flopmesh.com least-loaded discovery) behind LiteLLM Proxy for unified API keys, rate-limiting, Prometheus metrics, and automatic upstream failover:

# 1) Start sovereign on-chain router (rotates across funded keystores & verifies every turn)
git clone https://github.com/joachimber/flop-openai-router.git && cd flop-openai-router && npm install
FLOP_KEY_PASSWORD="..." FLOP_INDEXER_URL=https://flopmesh.com \
  npx flop-openai-router --keystore-dir ./wallets --max-flop 9.5 --via auto --port 8787
# 2) litellm_config.yaml — expose a single OpenAI/OpenRouter-compatible broker endpoint on :4000
model_list:
  - model_name: qwen/qwen3-14b
    litellm_params:
      model: openai/qwen/qwen3-14b
      api_base: http://127.0.0.1:8787/v1
      api_key: flop-local
      timeout: 300
  - model_name: qwen/qwen2.5-14b-instruct
    litellm_params:
      model: openai/qwen/qwen2.5-14b-instruct
      api_base: http://127.0.0.1:8787/v1
      api_key: flop-local
      timeout: 300
  - model_name: qwen/qwen2.5-coder-7b-instruct
    litellm_params:
      model: openai/qwen/qwen2.5-coder-7b-instruct
      api_base: http://127.0.0.1:8787/v1
      api_key: flop-local
      timeout: 180

router_settings:
  routing_strategy: least-busy
  num_retries: 2

general_settings:
  master_key: sk-flop-broker-change-me
# Launch LiteLLM Proxy
pip install 'litellm[proxy]'
litellm --config litellm_config.yaml --port 4000

3. Cline, Roo Code, Continue.dev & Cursor Setup

Point your IDE coding agent directly at http://127.0.0.1:8787/v1 (or your LiteLLM broker on :4000/v1):

Example ~/.continue/config.yaml for Continue.dev:

name: FLOP Verifiable Coding Config
version: 0.0.1
schema: v1
models:
  - name: FLOP Qwen3-14B (Architect)
    provider: openai
    model: qwen/qwen3-14b
    apiBase: http://127.0.0.1:8787/v1
    apiKey: flop-local
    roles: [chat, edit, apply]
  - name: FLOP Qwen2.5-Coder-7B (Fast Edit)
    provider: openai
    model: qwen/qwen2.5-coder-7b-instruct
    apiBase: http://127.0.0.1:8787/v1
    apiKey: flop-local
    roles: [chat, edit, autocomplete]

4. OpenWebUI Self-Hosted Team Chat

docker run -d --network host \
  -e OPENAI_API_BASE_URLS="http://127.0.0.1:8787/v1" \
  -e OPENAI_API_KEYS="flop-local" \
  -v open-webui:/app/backend/data \
  --name open-webui ghcr.io/open-webui/open-webui:main

5. Direct Signed Miner Admission & Broker Discovery APIs

Custom broker relays building directly on @flop-labs/sdk can query signed standing offers, verified flop-miner-endpoint-v1 advertisements, and dynamic gas quotes in real time: