{"uid":"cap_5SSRgL1qGXC8VjafUetHF","slug":"openai-compatible-chat-completions-fast-tier-x402-dda69797","name":"OpenAI-Compatible Chat Completions (Fast Tier, x402)","description":"OpenAI-compatible chat completion (fast tier). Streaming supported.","url":"https://d1zz2d7coymbr5.cloudfront.net/v1/chat/completions","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","description":"OpenAI chat.completion (or SSE stream when stream=true)"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oBpqhNRwgKpfHpX2FNQmv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides OpenAI-compatible chat completions with streaming support, accessible via x402 micropayment at $0.002 USDC per call.","exampleAgentPrompt":"Ask the LLM: given system prompt 'You are a helpful assistant', and user message 'Explain the difference between supervised and unsupervised learning in two sentences', get a streaming chat completion response.","exampleUseCases":[{"title":"Agent reasoning step via LLM","prompt":"Run a quick LLM call with system prompt 'You are a JSON extraction assistant' and user message 'Extract the names and dates from this paragraph: John met Alice on March 5 and Bob on April 12.' Return the result as a chat completion."},{"title":"Customer-facing chatbot backend","prompt":"I need to power a chatbot for my e-commerce site — send the conversation history including the system prompt 'You are a helpful shopping assistant for TechGear Store' and the latest user message 'Do you have wireless headphones under $50?' and stream back the reply."},{"title":"Automated content drafting pipeline","prompt":"Generate a short product description for a standing desk called 'ErgoDesk Pro' — use system prompt 'You are a professional copywriter' and user message 'Write a 3-sentence product description emphasizing ergonomics and home office use.'"}],"resultDescription":"Returns an OpenAI chat.completion object containing the assistant's generated message, finish reason, token usage statistics, and model metadata. When stream=true, returns server-sent events (SSE) with incremental delta chunks of the assistant message followed by a [DONE] signal.","failureModes":["Payment not included or insufficient USDC — 402 Payment Required response","Invalid or missing messages array — 400 Bad Request","Unsupported model identifier — 400 or 404 error","Rate limit exceeded — 429 Too Many Requests","Upstream LLM provider outage — 502 or 503 error","Malformed request body — 400 with JSON parse error","Stream connection dropped mid-response — incomplete SSE stream"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call OpenAI-compatible LLM with no subscription or API key management, especially useful for agents that need to make occasional or bursty LLM calls and want to pay micro-amounts via x402 USDC. Prefer this over managed OpenAI accounts when operating in autonomous agent pipelines that handle their own payments, or when building cost-accountable multi-agent systems where each LLM call should have a discrete, traceable cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:35:35.793Z","isFirstParty":false}