{"uid":"cap_EOrh5cQk4hXlcEsI3UyrP","slug":"oblique-markets-chat-completion-9e438dd3","name":"Oblique Markets Chat Completion","description":"Use when an agent needs chat completion. Returns One bounded chat completion (standard messages request shape) per paid call, with no account to open and no provider key to hold; max 24,000 input characters and 600 output tokens. $0.01.","url":"https://api.oblique.markets/api/v1/paid/chat-completion","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl_rep_example","model":"inclusionai/ling-3.0-flash","usage":{"total_tokens":26,"prompt_tokens":12,"completion_tokens":14},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"x402 is a protocol for HTTP-native machine payments."},"finish_reason":"stop"}],"upstream":"openrouter"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SG6jdKh0PQV_6Sbllf6GD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides a single OpenAI-compatible chat completion response per paid call, with no account or API key required, via x402 micropayment.","exampleAgentPrompt":"Ask the AI: 'Summarize the following article in three bullet points: [article text]' — send it as a user message with a system prompt saying 'You are a concise summarizer' and limit the response to 300 tokens.","exampleUseCases":[{"title":"One-off LLM call in agent pipeline","prompt":"I need you to call the LLM and ask it: 'Given this customer complaint, draft a polite one-paragraph apology response' — use a system prompt of 'You are a helpful customer support agent' and cap the reply at 200 tokens."},{"title":"Keyless inference for autonomous agent","prompt":"Run a chat completion with no API key — send the message 'What are three creative names for a fintech startup focused on micropayments?' and return whatever the model says, max 150 tokens."},{"title":"Dynamic prompt evaluation in workflow","prompt":"I want to test this prompt without setting up an OpenAI account: system is 'You are a legal document reviewer', user message is 'Identify any liability clauses in the following paragraph: [text]', and limit output to 400 tokens."}],"resultDescription":"A single bounded chat completion response from an OpenAI-compatible model, containing the assistant's generated text reply. The response is capped at 600 output tokens and is returned synchronously after the x402 micropayment is processed.","failureModes":["Input exceeds 24,000 character limit — request rejected","max_tokens exceeds 600 — response may be truncated or rejected","Payment not processed or x402 header missing — 402 Payment Required error","Malformed messages array (missing role or content fields) — 400 Bad Request","Model unavailable or upstream provider error — 503 or 500 error"],"whenToPreferThis":"Choose this endpoint when an agent needs one-shot LLM inference without managing an OpenAI API key or opening a provider account. Ideal for autonomous agents operating on the x402 payment rail that need to pay per call in USDC rather than maintain subscription credentials. Best for bounded, single-turn or short multi-turn conversations within the 24,000 character and 600 token limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:33:28.606Z","isFirstParty":false}