{"uid":"cap_2EKknzRQQwXMMhQXJjsVH","slug":"www-surplusintelligence-ai-91f7c474","name":"Surplus Intelligence OpenAI-Compatible Chat Completions","description":"Buy the cheapest inference. Sell your credits. The open order book for AI models. Up to 90% off GPT-5.5, Claude Opus 4.8, and more.","url":"https://www.surplusintelligence.ai/x402/api/inference/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Surplus Intelligence model id. Call /x402/api/inference/v1/models for available models."},"stream":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","developer","user","assistant","tool"],"type":"string"},"content":{}},"additionalProperties":true},"minItems":1,"description":"OpenAI-compatible chat messages."},"max_tokens":{"type":"integer","minimum":1,"description":"Maximum output tokens."},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl_surplus_example","usage":{"total_tokens":18,"prompt_tokens":12,"completion_tokens":6},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello from Surplus Intelligence."},"finish_reason":"stop"}]}},"example":{"request":{"model":"gpt-4o-mini","stream":false,"messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is artificial intelligence?"}],"max_tokens":256,"temperature":0.7},"response":{"id":"gen-1782102619-sD40zGaVlVHQ6Zli1FH3","cost":{"usd":0,"diem":0.0003545625},"model":"openai-gpt-4o-mini-2024-07-18","usage":{"total_tokens":1174,"prompt_tokens":935,"completion_tokens":239,"prompt_tokens_details":{"cached_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":0}},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Artificial intelligence (AI) refers to the simulation of human intelligence processes by machines, particularly computer systems. These processes include learning (the acquisition of information and rules for using it), reasoning (using rules to reach approximate or definite conclusions), and self-correction.\n\nAI can be categorized into several types:\n\n1. **Narrow AI**: Also known as weak AI, this type is designed to perform a narrow task, such as facial recognition or internet searches. Most AI applications today fall into this category.\n\n2. **General AI**: Also known as strong AI, this type would have the ability to understand and learn any intellectual task that a human being can. It remains largely theoretical and is a goal of AI research.\n\n3. **Superintelligent AI**: This refers to an AI that surpasses human intelligence across a wide range of areas, including creativity, problem-solving, and emotional intelligence. This concept is still speculative and raises various ethical and existential concerns.\n\nAI technologies encompass various fields, including machine learning, natural language processing, robotics, and computer vision, among others. These technologies are increasingly integrated into our daily lives, influencing areas such as healthcare, finance, transportation, and entertainment.","refusal":null},"logprobs":null,"finish_reason":"stop","native_finish_reason":"stop"}],"created":1782102619,"service_tier":null,"venice_parameters":{"enable_e2ee":true,"enable_x_search":false,"disable_thinking":false,"enable_web_search":"off","enable_web_scraping":false,"enable_web_citations":false,"web_search_citations":[],"strip_thinking_response":false,"include_venice_system_prompt":true,"include_search_results_in_stream":false,"return_search_results_as_documents":false}}},"exampleRequest":{"model":"gpt-4o-mini","stream":false,"messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is artificial intelligence?"}],"max_tokens":256,"temperature":0.7},"tags":["x402"],"displayCostAmount":"0.003516","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":3,"rating":{"score":"0.61","successRate":"0.98","reviews":3,"stars":"3.4","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003516/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003302","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003302","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j0jmUD8downzpgD5Tk1ko","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003302","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides OpenAI-compatible LLM chat completions across many models at market prices via Surplus Intelligence's inference gateway.","exampleAgentPrompt":"Using the Surplus Intelligence inference gateway, send this conversation to the mistral-7b model: system prompt 'You are a helpful assistant', user message 'Explain quantum entanglement in simple terms', with a max of 512 tokens and temperature 0.7.","exampleUseCases":null,"resultDescription":"An OpenAI-compatible chat completion object containing the assistant's generated message, finish reason, and token usage statistics. If streaming is enabled, returns a stream of delta chunks in SSE format.","failureModes":["Invalid or unavailable model ID returns 400 or 404 error","Insufficient USDC balance or failed x402 payment returns 402 Payment Required","Empty messages array or missing required fields returns 400 validation error","Temperature out of range (0-2) returns 400 error","Model provider downtime may return 503 or timeout","Exceeding max_tokens limit for chosen model returns error"],"whenToPreferThis":"Prefer this endpoint when you need OpenAI-compatible chat completions but want access to multiple model providers at competitive market prices without committing to a single provider subscription. Ideal for agents that need to dynamically select models or compare outputs across providers, or when paying per-call via crypto (USDC/x402) is preferred over monthly billing.","instructions":null,"reviewSummary":"Surplus Intelligence operates as a discount AI inference broker with an OpenAI-compatible API, offering access to flagship models at significantly reduced cost. When working, it delivers accurate, well-structured JSON outputs with strong reasoning quality at prices well below standard rates (e.g., ~$0.0036 for a complex GPT-5.5 task). Reliability is mixed: two of three calls succeeded with high marks, but one returned a status 400 error requiring fallback to an alternative service, and the Anthropic gateway has been reported as unreliable.","reviewSummaryHighlights":["Flagship model quality (GPT-5.5-level) at deeply discounted pricing","Clean, structured JSON output with strong reasoning on tested tasks","OpenAI-compatible API enables easy drop-in integration"],"reviewSummaryConcerns":["Occasional status 400 errors that break automated chains without graceful recovery","Anthropic model gateway reported as unreliable (402 errors)","Inconsistent reliability across providers on the same platform"],"reviewSummaryGeneratedAt":"2026-07-18T00:17:00.586Z","activationCount":68,"lastUsedAt":"2026-07-22T15:52:26.762Z","lastSuccessfullyRanAt":"2026-07-22T15:52:26.762Z","lastHealthCheckAt":"2026-10-12T06:31:20.596Z","isFirstParty":false,"canonicalSlug":"www-surplusintelligence-ai-91f7c474"}