{"uid":"cap_2FNhrjDlMQwRIkjwpcLA_","slug":"linkrra-pearl-pool-openai-compatible-chat-completions-via-x402-9b1aa2d0","name":"Linkrra Pearl Pool — OpenAI-Compatible Chat Completions via x402","description":"OpenAI-compatible inference paid per request in USDC on Base (eip155:8453, scheme exact). GET /v1/models for the model catalogue and per-model USD prices. Every paid route answers unauthenticated requests with an x402 v2 402 challenge (PAYMENT-REQUIRED header + JSON body). Minimum charge $0.01 per paid call on chat/completions and tts (usage-based price applies above it); credit top-ups are $1 minimum. Contact: weare@linkrra.com","url":"https://pool.linkrra.com/api/billing/x402/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"}}},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-...","usage":{"total_tokens":0,"prompt_tokens":0,"completion_tokens":0},"object":"chat.completion","choices":[{"message":{"role":"assistant","content":"..."}}],"payment":{"network":"eip155:8453","paidUsd":0,"transaction":"0x..."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FSWoX5ZnuJud3-zEx8XPs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs an OpenAI-compatible chat completion request, charging $0.01 USDC per call via the x402 payment protocol on Base mainnet","exampleAgentPrompt":"Send this chat prompt to Linkrra Pearl Pool and pay per request in USDC on Base: 'Explain the concept of zero-knowledge proofs in simple terms' — use whichever model is cheapest in the catalogue.","exampleUseCases":[{"title":"Pay-per-call AI assistant for a dApp","prompt":"I'm building a dApp and want to call an AI chat model without a monthly subscription — use Linkrra Pearl Pool to send the user's question 'What is the best way to store NFTs safely?' and pay for it in USDC on Base."},{"title":"Crypto-native chatbot for a Web3 product","prompt":"My product needs an AI chatbot that bills in stablecoin rather than credit card — send 'How do I bridge tokens from Ethereum to Base?' to Linkrra Pearl Pool's chat completions endpoint and charge the 1-cent USDC fee on Base."},{"title":"Cost-controlled agent LLM calls","prompt":"For my autonomous agent loop, call Linkrra Pearl Pool with the message 'Summarize the following article: [article text]' and pay per inference in USDC so I don't overpay with a flat monthly API plan."}],"resultDescription":"Returns an OpenAI-standard chat.completion JSON object with the assistant's reply in choices[0].message.content, plus token usage counts and a payment object containing the Base network transaction hash and the USD amount paid.","failureModes":["402 Payment Required — x402 challenge returned if payment is missing or malformed","Invalid or unsupported model name — model not found in /v1/models catalogue","Malformed request body — missing required messages or model field returns 400","Payment underfunded — USDC amount below per-model price triggers rejection","Network issues on Base — transaction fails to confirm, inference not executed","Rate or capacity limits from the GPU pool — may return 503 if no providers available"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible LLM inference with per-request USDC billing on Base mainnet via the x402 protocol — ideal for crypto-native apps, autonomous agents that hold on-chain balances, or any use case where pay-as-you-go stablecoin micropayments are preferred over subscription-based API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:35:04.154Z","isFirstParty":false,"canonicalSlug":"linkrra-pearl-pool-openai-compatible-chat-completions-via-x402-9b1aa2d0"}