{"components":{"securitySchemes":{"x402":{"description":"x402 payment via https://x402-agent-pay.com/facilitator. 0.005 USDC on Base L2.","in":"header","name":"X-Payment","type":"apiKey"}}},"info":{"description":"P2P GPU inference swarm. Anyone can seed a GPU; AI agents pay 0.005 USDC per call via x402 on Base L2. Pull-based nodes work behind home NAT.","title":"BitBrain \u2014 BitTorrent for LLMs","version":"1.0.0","x-payment-required":{"amount":"0.005","asset":"USDC","network":"base","payTo":"0x367f1b3d8ca90d1e087481a9a40d585bf3451a03"}},"openapi":"3.0.0","paths":{"/bitbrain/infer":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"max_tokens":{"maximum":512,"type":"integer"},"messages":{"description":"OpenAI-style chat messages [{role, content}]","type":"array"},"model":{"description":"e.g. qwen3-14b","type":"string"},"temperature":{"type":"number"}},"required":["model","messages"],"type":"object"}}}},"responses":{"200":{"description":"Completion + proof-of-inference"},"402":{"description":"Payment required \u2014 x402 USDC on Base L2"},"503":{"description":"No online seeder for that model (free, nothing charged)"}},"security":[{"x402":[]}],"summary":"One LLM completion on the P2P swarm","x-price-usdc":"0.005"}},"/bitbrain/ledger":{"get":{"summary":"Public ledger of calls and on-chain payouts"}},"/bitbrain/models":{"get":{"summary":"Live catalog of models, seeders, trust, latency"}}},"security":[{"x402":[]}],"servers":[{"url":"https://x402-agent-pay.com"}],"x-facilitator":"https://x402-agent-pay.com/facilitator"}
