{"uid":"cap_w7FFbJI3D9mC3AUY18oMW","slug":"chat-completion-basic-338b9f91","name":"Chat Completion (basic)","description":"LLM completion per call, no account and no API key: POST a prompt (or a messages array) and get the model answer as JSON. Hard caps disclosed in every response (6,000 UTF-8 bytes in, 750 tokens out on this tier). Fixed price per call, signed receipt included so the answer stays auditable. Larger tier at /x402/chat-plus.","url":"https://api.eucompliance.tools/x402/chat","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string","description":"the question or task"},"system":{"type":"string","description":"optional system prompt"},"messages":{"type":"array","description":"optional OpenAI-style messages instead of prompt"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BicYJz0iCNvauL04S3HAj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send a prompt or messages array and get an LLM-generated text response as JSON, with no account or API key required, at a fixed per-call price with a signed auditable receipt.","exampleAgentPrompt":"Ask an LLM to summarize this paragraph for me and give me the answer as JSON — I don't want to set up an API key, just pay per call: 'The European Union has enacted sweeping digital regulations aimed at increasing platform accountability and user privacy protections across member states.'","exampleUseCases":[{"title":"On-demand agent reasoning step","prompt":"I need a quick LLM call to classify this customer complaint as billing, technical, or general — no API key setup, just pay per use: 'My invoice shows a charge I don't recognize from last month.'"},{"title":"Auditable AI answer for compliance log","prompt":"Ask the LLM whether this contract clause complies with GDPR and give me the signed receipt so I can attach it to the audit trail: 'The controller may retain personal data for up to 10 years without further consent.'"},{"title":"Lightweight chatbot response in automation","prompt":"I'm building a no-account automation — send this user message to a chat model and get the reply back as JSON: 'What are the main differences between a sole trader and a limited company in the UK?'"}],"resultDescription":"A JSON object containing the model's text answer to the submitted prompt or messages array, along with usage metadata (character/token counts), hard cap disclosures (8,000 chars in, 1,000 tokens out), and a signed cryptographic receipt confirming the response for auditability. No streaming; response is returned synchronously.","failureModes":["Input exceeds 8,000 character hard cap — request rejected with cap disclosure","Output truncated at 1,000 tokens if model response would exceed limit","Malformed messages array structure returns a 400-level error","Payment not confirmed or x402 handshake fails — call not executed","Model unavailable or upstream timeout returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a one-off or low-volume LLM completion with no account registration, no API key management, and a fixed auditable cost per call. It is ideal for agents that need to embed LLM calls in automated pipelines without committing to a subscription, or when a signed receipt is required for compliance and auditability. If you need higher output limits (beyond 1,000 tokens out or 8,000 chars in), use the sibling /x402/chat-plus endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:26.500Z","isFirstParty":false}