{"uid":"cap_w1RsaP0ofVufco41UZfvD","slug":"llmgate-openai-compatible-llm-api-x402-pay-per-call-92ca2ecd","name":"llmgate OpenAI-Compatible LLM API (x402 Pay-Per-Call)","description":"x402-paywalled OpenAI-compatible LLM API. Pay per call in USDC on Base.","url":"https://89.106.83.95.sslip.io:8443/v1/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string"},"messages":{"type":"array","items":{"type":"object"}}}},"responseSchema":{"type":"json","example":{"choices":[{"message":{"role":"assistant","content":"Hi!"}}]}},"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_HDdo8ZHGCzTMq4D_0wg9h","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":"Provides an OpenAI-compatible chat completions endpoint that charges $0.01 USDC per call via x402 micropayment protocol on Base.","exampleAgentPrompt":"Use the llmgate pay-per-call LLM to answer this question: 'What are three creative names for a dog walking app?' — pay the $0.01 USDC fee automatically per call.","exampleUseCases":[{"title":"Agent self-funding LLM inference","prompt":"My autonomous agent needs to call an LLM for reasoning but I don't want to manage API subscriptions — use llmgate so it pays $0.01 USDC per call from its own Base wallet and ask it: 'Summarize the key risks of investing in small-cap stocks.'"},{"title":"Metered chatbot for cost control","prompt":"I want to build a customer-facing chatbot where each response costs exactly $0.01 USDC billed on-chain — send this message to llmgate: 'How do I reset my password?' and show me the assistant reply."},{"title":"Crypto-native content generation","prompt":"Generate a short product description for 'EcoBottle Pro, a self-cleaning stainless steel water bottle' using the llmgate API — I'll pay in USDC on Base, one cent per call."}],"resultDescription":"Returns a JSON object in standard OpenAI chat completions format, containing a 'choices' array with at least one element holding a 'message' object with 'role' set to 'assistant' and 'content' containing the generated text response.","failureModes":["Payment not received or insufficient USDC balance — request rejected with 402 Payment Required","Invalid or malformed messages array — returns 400 Bad Request","Model not available or overloaded — returns 503 or 500 error","x402 payment protocol handshake failure — payment not processed, call not completed","Malformed JSON request body — returns 400 error","Rate limiting if too many calls in a short window — returns 429 Too Many Requests"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible chat completions with per-call crypto micropayments instead of a traditional subscription. Ideal for autonomous AI agents that manage their own on-chain wallets on Base, for cost-controlled deployments where each inference must be explicitly metered and billed, or for crypto-native applications where paying in USDC is a requirement. Prefer over standard OpenAI API when you want no monthly commitment, payment via x402 protocol, and auditability of each call on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:38:01.936Z","isFirstParty":false}