{"uid":"cap_r2k5tbIXEUfI1eLUSt2RY","slug":"offrouter-private-inference-router-72155e72","name":"OffRouter Private Inference Router","description":"OpenAI-compatible inference where every model runs inside a hardware enclave. Pay per call in stablecoins on Base, Robinhood Chain and Arc.","url":"https://offrouter.org/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"A model id from GET /v1/models."},"stream":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}},"minItems":1},"max_tokens":{"type":"integer","minimum":1,"description":"Output budget. Required for pay per call: it bounds the amount you sign."},"temperature":{"type":"number"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.000006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.000006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.000006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.000006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3B_p_4uWl-CziuBHqXQyJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.000006","costPer":"request","priority":0,"asset":"0x3600000000000000000000000000000000000000","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible LLM chat completions running inside hardware enclaves, billed per call in stablecoins on Base, Robinhood Chain, or Arc","exampleAgentPrompt":"Ask OffRouter to run a private inference using llama-3-8b with a max of 512 tokens — tell it: 'You are a helpful assistant' as the system prompt and 'Summarize the key risks of smart contract audits in three bullet points' as the user message, and pay in USDC.","exampleUseCases":[{"title":"Onchain agent reasoning task","prompt":"I need you to run a confidential LLM inference on OffRouter — use whatever model is available, set max_tokens to 256, and ask it: 'Given this Ethereum transaction data, is this address likely a bot or a human user?' Pay per call in USDC on Base."},{"title":"Privacy-sensitive document summarization","prompt":"Summarize this legal clause privately — send it to OffRouter's enclave inference with max_tokens 400 so the text never leaves a secure hardware environment: 'The licensee shall indemnify and hold harmless the licensor from any claims arising from third-party integrations.'"},{"title":"Crypto-native chatbot response generation","prompt":"My onchain agent needs an LLM response for a user question — use OffRouter with the gpt-4 compatible model, temperature 0.7, max 300 tokens, and the user message: 'What is the best way to diversify a DeFi portfolio across L2 networks?'"}],"resultDescription":"Returns an OpenAI-compatible JSON chat completion object containing the assistant's generated message, finish reason, and token usage counts. The response mirrors the standard OpenAI /v1/chat/completions format, making it a drop-in replacement for existing OpenAI-based agent pipelines.","failureModes":["Insufficient USDC balance or failed stablecoin payment — HTTP 402 with payment required","Invalid or unsupported model ID — model not found error","max_tokens not provided — required for pay-per-call to bound signing amount","messages array empty or malformed — validation error","Network or enclave attestation failure — 5xx server error","Unsupported chain for payment settlement — payment rejection"],"whenToPreferThis":"Choose OffRouter when your agent runs in a crypto-native or onchain context and needs to pay for LLM inference programmatically with stablecoins (USDC on Base, Robinhood Chain, or Arc) without a traditional API key. Prefer it over standard OpenAI when privacy is critical — every model runs inside a hardware trusted execution environment (TEE), ensuring the prompt and response are not exposed to the host provider. It is ideal for blockchain agents, smart contract pipelines, or any workflow where confidential inference and x402 micropayment compatibility are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:35:07.294Z","isFirstParty":false,"canonicalSlug":"offrouter-private-inference-router-72155e72"}