{"uid":"cap_FqN2gctK4xtIqQsJJCV_7","slug":"x402-shizu-me-openai-compatible-chat-completions-usdc-no-key-4c82be6a","name":"x402.shizu.me OpenAI-Compatible Chat Completions (USDC, No Key)","description":"Drop-in OpenAI Chat Completions — point any OpenAI SDK's base_url here and pay per call in USDC, no account or key. POST {model, messages:[{role,content}], max_tokens?, temperature?, stream?}. Backed by Claude Haiku; flat price regardless of model. Multi-turn (system/user/assistant), OpenAI-shaped choices[]+usage. Input ~3000 words, output capped 512 tokens. The account-less inference gateway for looping agents.","url":"https://x402.shizu.me/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{},"messages":{},"max_tokens":{}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gqu4J5QFnfIqnpUv_u4Xu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","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 backed by Claude Haiku, payable per-call in USDC with no account or API key required.","exampleAgentPrompt":"Without any API key or account, ask an LLM: given the system prompt 'You are a helpful assistant', and the user message 'Summarize the key risks of DeFi lending in 3 bullet points', return a chat completion with max 200 tokens at temperature 0.7.","exampleUseCases":[{"title":"Keyless agent self-funding inference","prompt":"I want my autonomous agent to call an LLM for reasoning steps without me having to manage any API keys — just have it pay per call in USDC. Use the messages [{role:'system',content:'You are a task planner.'},{role:'user',content:'Break this goal into 5 steps: launch a new product page.'}] with max_tokens 300."},{"title":"Multi-turn conversation in a loop","prompt":"Run a multi-turn chat with no signup: start with system message 'You are a Socratic tutor', then user says 'Explain entropy', then assistant replies with the prior answer, then user asks 'Give me a real-world example' — give me the next assistant response, capped at 150 tokens."},{"title":"Drop-in OpenAI SDK replacement","prompt":"I already have code using the OpenAI Python SDK but I don't want to manage an API key or pay monthly — just point it at a pay-per-call endpoint and send the message 'Write a haiku about blockchains' with temperature 0.9 and max 60 tokens."}],"resultDescription":"Returns an OpenAI-shaped JSON response with a choices array containing the assistant's message content and finish reason, plus a usage object with prompt and completion token counts. The response is structurally identical to the OpenAI Chat Completions API, making it a drop-in replacement for any OpenAI SDK consumer.","failureModes":["Insufficient USDC payment results in 402 Payment Required","Input exceeding ~3000 words may be truncated or rejected","Output hard-capped at 512 tokens regardless of max_tokens setting","Streaming may not be supported or may differ from OpenAI's SSE format","Model parameter is accepted but ignored — always routes to Claude Haiku","Malformed messages array (missing role or content) returns 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need anonymous, account-free LLM inference payable in USDC micropayments — especially for autonomous agents that self-fund their own AI calls. Prefer it when you already use the OpenAI SDK and want a zero-friction drop-in (just swap base_url), when you need multi-turn conversation support, or when avoiding API key management and monthly subscriptions is a priority. Not ideal for long-context inputs over 3000 words, outputs requiring more than 512 tokens, or use cases where a specific model (not Claude Haiku) is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:16:00.546Z","isFirstParty":false,"canonicalSlug":"x402-shizu-me-openai-compatible-chat-completions-usdc-no-key-4c82be6a"}