{"uid":"cap_4ljygy97eXKf8W2jsNFW6","slug":"api-webbersites-com-pro-chat-completions-openai-compatible-c2d734f6","name":"api.webbersites.com PRO Chat Completions (OpenAI-Compatible)","description":"OPENAI-COMPATIBLE chat completions, PRO tier — frontier models at one flat price, no API key, no account: gpt-5.2 (default), gpt-5.5, claude-sonnet-5, gemini-3.1-pro, gemini-3.5-flash. Same dialect as OpenAI — base_url https://api.webbersites.com/v1/pro works with any OpenAI SDK. Caps: 24,000 input chars, 1,024 output tokens, text-only, no streaming. The x402 payment IS the auth.","url":"https://api.webbersites.com/v1/pro/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["messages"],"properties":{"model":{"type":"string","description":"gpt-5.2 (default), gpt-5.5, claude-sonnet-5, gemini-3.1-pro, gemini-3.5-flash"},"messages":{"type":"array","description":"OpenAI-style messages: [{role, content}], text content only, 24,000 chars total"},"max_tokens":{"type":"number","description":"output cap, clamped to 1,024"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"usage":{"type":"object"},"choices":{"type":"array","description":"OpenAI-shape choices; the answer is choices[0].message.content"}}}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-...","model":"gpt-5.2","usage":{"prompt_tokens":22,"completion_tokens":512},"object":"chat.completion","choices":[{"message":{"role":"assistant","content":"For a read-heavy API..."},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"1.00","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1LfIuIf0kv-tEmt0oedJB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible chat completions endpoint giving access to frontier models (GPT-5.2, GPT-5.5, Claude Sonnet 5, Gemini 3.1 Pro, Gemini 3.5 Flash) at a flat per-call price with no API key required.","exampleAgentPrompt":"Ask claude-sonnet-5 to write me a concise executive summary of the following meeting notes — use up to 800 output tokens: [meeting notes text here].","exampleUseCases":null,"resultDescription":"Returns an OpenAI-format chat completion response containing the assistant's generated text reply, produced by the selected frontier model (gpt-5.2 by default). Output is text-only, capped at 1,024 tokens. The response follows the standard OpenAI choices[].message.content structure.","failureModes":["Payment not included or invalid x402 payment header — returns 402 Payment Required","Input exceeds 24,000 character limit — request rejected","max_tokens clamped to 1,024 even if higher value is specified","Unsupported model name provided — may fall back to default or return error","Streaming requested but not supported — endpoint is text-only non-streaming","Network timeout or upstream model provider unavailability"],"whenToPreferThis":"Choose this endpoint when you need access to frontier-tier models (GPT-5.x, Claude Sonnet 5, Gemini Pro) without holding API keys or accounts for each provider, and want a single OpenAI-SDK-compatible interface. Prefer the PRO tier (this endpoint) over the fast/standard tier when you need higher-capability models rather than fastest latency. Best for agents that want to dynamically choose among multiple frontier providers at $0.05/call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-07-22T18:08:33.654Z","lastSuccessfullyRanAt":"2026-07-22T18:08:33.654Z","lastHealthCheckAt":"2026-09-15T00:42:56.510Z","isFirstParty":false}