{"uid":"cap_3hQLQ-dwz1gtygBIueNHS","slug":"adfreellm-chat-completions-claude-opus-5-c2840242","name":"AdFreeLLM Chat Completions (Claude Opus 5)","description":"Chat with Gemini 3.6 Flash, DeepSeek V4 Flash and more — 100% free, no credit card, no subscription. Advertisers pay the bill. Pick a model and talk.","url":"https://api.adfreellm.com/relay/1787185030319/v1/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","required":["model","messages"],"properties":{"model":{"enum":["claude-opus-5"],"type":"string","description":"Model ID to use for completion"},"stream":{"type":"boolean","description":"Enable streaming response"},"messages":{"type":"array","description":"Array of chat messages"},"max_tokens":{"type":"integer","description":"Maximum tokens to generate"},"temperature":{"type":"number","description":"Sampling temperature 0-2"}}},"responseSchema":{"type":"object","properties":{"id":{"type":"string"},"model":{"type":"string"},"usage":{"type":"object","properties":{"total_tokens":{"type":"integer"},"prompt_tokens":{"type":"integer"},"completion_tokens":{"type":"integer"}}},"object":{"enum":["chat.completion"],"type":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer"},"message":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}}},"finish_reason":{"type":"string"}}}},"created":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YhEzpV1eiHRenHTRyinEE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a conversation to Claude Opus 5 via a pay-per-call relay and returns a chat completion response.","exampleAgentPrompt":"Ask Claude Opus 5 to explain the trade-offs between microservices and monolithic architectures in plain English, keeping the response under 400 tokens.","exampleUseCases":[{"title":"AI-powered code review assistant","prompt":"Send this Python function to Claude Opus 5 and ask it to identify bugs, suggest improvements, and explain the changes — keep the reply concise, under 300 tokens."},{"title":"Automated customer support draft generation","prompt":"Use Claude Opus 5 to write a polite, professional reply to this customer complaint about a delayed shipment; keep the tone empathetic and the response under 200 tokens."},{"title":"Complex reasoning for research summarization","prompt":"Have Claude Opus 5 read these three paragraphs from a research paper and produce a one-paragraph plain-English summary suitable for a non-technical audience, with temperature set to 0.3 for consistency."}],"resultDescription":"Returns a standard OpenAI-compatible chat completion object including the assistant's text reply, role, finish reason, token counts (prompt, completion, total), a completion ID, and the model name used.","failureModes":["Invalid or missing 'model' field (must be 'claude-opus-5') returns a 400 validation error","Missing 'messages' array causes a 400 bad request","Payment not included or insufficient USDC results in a 402 Payment Required response","Exceeding the upstream model's context window returns a context length error","Network timeout on long completions if max_tokens is very large","Streaming errors if the client disconnects mid-stream"],"whenToPreferThis":"Choose this endpoint when you need Claude Opus 5 specifically — Anthropic's most capable model — on a pay-per-call basis without managing an Anthropic API subscription. It is ideal for agent workflows that require occasional high-quality reasoning bursts and want to pay per invocation via USDC x402 rather than monthly billing. Prefer this over generic LLM endpoints when task complexity justifies Opus-tier intelligence and you want an OpenAI-compatible response schema.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T03:25:10.371Z","isFirstParty":false}