{"uid":"cap_h76fSq0BXfVGvf-v32YAX","slug":"openai-responses-websocket-849ed3df","name":"OpenAI Responses WebSocket","description":"Persistent Responses WebSocket (dynamic pricing per response.create)","url":"https://openai.mpp.tempo.xyz/v1/responses?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["llm","gpt-4o","dall-e","whisper","tts","embeddings","chat","ai","media"],"displayCostAmount":"0.000001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":{"amountUsd":"5.00","asset":"USDC"},"pricing":{"kind":"session","summary":"$0.000001/call","primary":{"kind":"session","protocol":"mpp","network":"tempo","amountUsd":"0.000001","per":"call","confidence":"exact","depositUsd":"5.00"},"accepted":[{"kind":"session","protocol":"mpp","network":"tempo","amountUsd":"0.000001","per":"call","confidence":"exact","depositUsd":"5.00"}]},"paymentMethods":[{"uid":"pm_j6MofELr4cJhccUUS0cUc","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"session","costAmount":"0.000001","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":5000000,"planRef":null}],"brandName":"OpenAI","brandSlug":"openai","brandBaseUrl":"https://openai.com","brandDocsUrl":"https://platform.openai.com/docs","whatItDoes":"Streams persistent AI responses over WebSocket using OpenAI's Responses API with dynamic per-response pricing","exampleAgentPrompt":"Can you stream me a real-time response from OpenAI's Responses API using GPT-4o? I want a persistent WebSocket connection so I can get live, token-by-token output for my conversational app.","exampleUseCases":[{"title":"Real-time customer support chatbot","prompt":"Set up a persistent streaming connection to OpenAI's Responses API so my customer support bot can stream GPT-4o answers to users in real time, word by word, as they come in."},{"title":"Live AI coding assistant","prompt":"I need a WebSocket-based AI assistant that streams code suggestions and explanations from GPT-4o in real time as I type — can you connect to OpenAI's Responses API and keep the session alive?"},{"title":"Streaming story generation tool","prompt":"Use the OpenAI Responses API over a persistent WebSocket to stream a long-form story from GPT-4o, so my app can display it to the user as it's being generated rather than waiting for the full output."}],"resultDescription":"A persistent WebSocket stream returning incremental AI-generated response tokens or structured response events from OpenAI's Responses API, enabling real-time, low-latency delivery of model output with dynamic per-response pricing.","failureModes":["WebSocket connection dropped mid-stream requiring reconnection","Model overload or rate limiting returning 429 errors","Invalid or missing API credentials causing authentication failure","Unsupported model identifier causing 400 bad request","Dynamic pricing fluctuation leading to insufficient balance","Context length exceeded causing truncation or error"],"whenToPreferThis":"Choose this endpoint when you need real-time, streaming AI responses with a persistent WebSocket connection rather than a one-shot HTTP request. It is ideal for interactive conversational applications, live coding assistants, or any use case where low-latency token streaming improves user experience. Prefer this over the standard Completions endpoint when you need the OpenAI Responses API specifically, persistent session support, or dynamic per-response pricing tied to the Responses model tier.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:08:13.353Z","isFirstParty":false,"canonicalSlug":"openai-responses-websocket-849ed3df"}