{"info":{"title":"MPP LLM Gateway","version":"0.0.1","description":"OpenAI-compatible LLM inference across ~340 models, paid per completion over an MPP payment channel on Tempo. No API keys, no accounts.","contact":{"email":"ryan@merit.systems"},"x-guidance":"OpenAI-compatible LLM inference across ~340 models from every major provider, with MPP payment as the only auth — no API keys, no accounts. GET /v1/models (free) lists model ids and rates; POST /v1/chat/completions with {model, messages, stream?, tools?} runs a completion. The first unpaid call returns a 402 MPP tempo-session challenge; a standard mppx client opens a payment channel on first use, later requests ride it voucher-per-request, and one on-chain settlement covers many completions. Non-streaming responses are charged once, cost-plus from the upstream-reported exact cost; streaming meters a low catalog-price estimate as output is delivered and reconciles at final usage. Every response carries usage and an x_mpp receipt disclosing the charge."},"openapi":"3.1.0","paths":{"/v1/chat/completions":{"post":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"1","intent":"session","method":"tempo","unitType":"usd-cost"}],"price":{"mode":"dynamic","currency":"USD","min":"0.000001","max":"100"},"protocols":[{"mpp":{"method":"tempo","intent":"session","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"summary":"OpenAI-compatible chat completion for any model in /v1/models, billed cost-plus over an MPP tempo session channel.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","messages"],"properties":{"model":{"type":"string"},"messages":{"type":"array","items":{"type":"object"}},"max_tokens":{"type":"integer"},"stream":{"type":"boolean"},"tools":{"type":"array","items":{"type":"object"}}}}}}}}}},"x-service-info":{"categories":["ai","llm","inference"],"docs":{"homepage":"http://stablerouter.dev","apiReference":"http://stablerouter.dev/openapi.json"}}}