{"uid":"cap_1x7CFNJjBPV1U03HYzEPv","slug":"model-access-gateway-claude-opus-5-chat-completions-x402-usdc-6cc59e0b","name":"Model Access Gateway – Claude Opus 5 Chat Completions (x402, USDC)","description":"LLM inference API: OpenAI-compatible chat completions for 136 AI models (Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM), paid per call in USDC on Base with x402. No account, no API key, automatic refund if the model fails.","url":"https://modelaccessgateway.com/llm/claude-opus-5?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional: fixed by the route (anthropic/claude-opus-5)"},"tools":{"type":"array"},"stream":{"type":"boolean","description":"true: server-sent events after payment"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"},"content":{"type":["string","array","null"]}}},"minItems":1},"max_tokens":{"type":"integer","maximum":16384,"minimum":1,"description":"Optional, default 4096"},"temperature":{"type":"number","maximum":2,"minimum":0},"response_format":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-7f3c2a91","model":"anthropic/claude-opus-5","usage":{"total_tokens":10,"prompt_tokens":9,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1791979200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0014","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.0014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7qXs5JqxzNQ5rvSNkX4gP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible chat completions against Claude Opus 5 via a pay-per-call API billed in USDC on Base using the x402 protocol — no account or API key required.","exampleAgentPrompt":"Ask Claude Opus 5 to analyze this legal contract and summarize the key obligations and risks — stream the response back, use up to 8000 tokens, and keep temperature at 0.2 for precision.","exampleUseCases":[{"title":"Autonomous agent complex reasoning task","prompt":"I need you to use Claude Opus 5 to reason through this multi-step business strategy problem and give me a detailed structured breakdown — pay per call with USDC, stream the answer, and allow up to 12000 tokens."},{"title":"Anonymous LLM call from a script","prompt":"Call Claude Opus 5 with this system prompt and user message without me having to set up any API key or account — just pay with USDC on Base and return the full completion."},{"title":"Tool-use request with structured output","prompt":"Send this function-calling request to Claude Opus 5 with the tool definitions I've provided, use JSON response format, temperature 0, and max 4096 tokens — I want the model to invoke the right tool based on the user message."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's message content, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total), model name, completion ID, and creation timestamp. Streaming mode delivers server-sent events incrementally.","failureModes":["Insufficient USDC balance — payment rejected before inference begins","Model unavailable or overloaded — automatic refund issued, no charge","Invalid messages array (missing required role field) — 422 validation error","max_tokens exceeds 16384 limit — request rejected","Temperature outside 0–2 range — validation error","Network timeout on streaming response — partial output, no refund guarantee"],"whenToPreferThis":"Choose this endpoint when you need Claude Opus 5 specifically (Anthropic's most capable model) and want pay-per-call pricing in USDC with no account signup, API key management, or subscription. Ideal for autonomous agents that need to make one-off LLM calls, developers prototyping without committing to a provider, or workflows that require the automatic refund guarantee on model failure. Prefer over direct Anthropic API when you need anonymous/keyless access or are already operating in a crypto-native payment environment using x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:35:13.984Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-claude-opus-5-chat-completions-x402-usdc-6cc59e0b"}