{"uid":"cap_IBXO6IDNAcj4HOHRT6tq1","slug":"openai-compatible-chat-completions-x402-usdc-no-account-required-ff5039ab","name":"OpenAI-Compatible Chat Completions (x402, USDC, No Account Required)","description":"LLM inference API for AI agents: OpenAI-compatible chat completions paid per request in USDC on Base. No account or API key. Summarize, classify, extract, translate, generate and chat with gpt-5.4-nano, gpt-5.4-mini, gpt-5.4, gpt-5.5, gpt-4o-mini and more. Misses billed at cost + 4% on actual token usage (upto scheme); deterministic repeats (temperature 0) are cache hits billed at 55% of provider price — loops get cheaper automatically. From $0.001/call, standard OpenAI POST format.","url":"https://agent-production-1daa.up.railway.app/v1/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-5.4-nano","gpt-5.4-mini","gpt-5.4","gpt-5.5","gpt-4o-mini","gpt-4o","gpt-4.1-mini","gpt-4.1"],"type":"string","description":"Upstream model to run"},"messages":{"type":"array","description":"OpenAI chat messages array"},"max_tokens":{"type":"number","description":"Output cap; the authorized payment ceiling scales with it"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1zw0AwjuF5CzaCw-GyavU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible LLM chat completions (summarize, classify, extract, translate, generate, chat) paid per request in USDC on Base — no API key or account needed.","exampleAgentPrompt":"Using gpt-4o-mini, summarize the following article in 3 bullet points and keep the output under 300 tokens: 'Researchers at MIT have developed a new battery technology that can charge in under 5 minutes and last 10 years...'","exampleUseCases":null,"resultDescription":"An OpenAI-format chat completion response object containing the model's generated text, finish reason, token usage counts, and model identifier. For deterministic (temperature=0) repeated calls, responses are served from cache at 55% of provider price.","failureModes":["Insufficient USDC payment on Base results in 402 Payment Required","Unsupported model name returns validation error","max_tokens exceeds authorized payment ceiling — request rejected","Malformed messages array returns 400 Bad Request","Network or upstream OpenAI outage causes 502/503 error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs LLM inference without setting up an OpenAI account or API key, and can pay per-call in USDC on Base via the x402 protocol. Ideal for crypto-native agent pipelines, cost-controlled loops (temperature=0 caching cuts costs automatically), or serverless agent workflows that need on-demand text generation, summarization, classification, or extraction without credential management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:32:20.438Z","isFirstParty":false}