{"uid":"cap_sLBMR_IcOa8wG5Caaxi0J","slug":"agentbit-chat-pro-frontier-llm-chat-completion-x402-849825e8","name":"AgentBit Chat Pro – Frontier LLM Chat Completion (x402)","description":"OpenAI-compatible chat completion API for frontier models (gpt-4o, Claude Sonnet 5.5), pay per call, no API key, over x402 USDC. Send messages, get choices + usage. Use when an agent needs a strong LLM without an account.","url":"https://agentbit.app/v1/inference/chat-pro?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"OpenRouter model id from this tier allowlist (default openai/gpt-4o)."},"messages":{"type":"array","items":{"type":"object"},"description":"OpenAI-style messages: [{role: system|user|assistant, content: string}] (required). Input capped at ~8,000 tokens."},"max_tokens":{"type":"integer","description":"Max output tokens (default 512, hard cap 1024)."},"temperature":{"type":"number","description":"Sampling temperature 0-2 (default 0.7)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.045","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.045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QZ0iKTJVocl3BPGZvrhve","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible chat completion endpoint serving frontier models (GPT-4o, Claude Sonnet 5.5) via pay-per-call USDC micropayment — no API key or account required.","exampleAgentPrompt":"Ask GPT-4o to explain the tradeoffs between REST and GraphQL APIs — use up to 512 output tokens at temperature 0.7, paying per call without needing an API key.","exampleUseCases":[{"title":"Agent reasoning without an LLM account","prompt":"I need you to reason through this legal clause and flag any ambiguities — use GPT-4o with a system prompt saying 'you are a careful legal analyst', max 1024 tokens, and pay per call since I don't have an OpenAI key set up."},{"title":"Claude-powered customer reply drafting","prompt":"Draft a polite refund response to this customer complaint using Claude Sonnet 5.5: 'I ordered 3 weeks ago and my package never arrived.' Keep it under 300 tokens and use a professional tone."},{"title":"Autonomous agent LLM backbone","prompt":"My agent needs to call a frontier model mid-workflow to decide the next step — send it these conversation messages with GPT-4o at temperature 0.2 for more deterministic output, billed per inference call."}],"resultDescription":"Returns an OpenAI-compatible JSON response containing a choices array with the generated message content, finish reason, and a usage object showing prompt tokens, completion tokens, and total tokens consumed.","failureModes":["Payment failure or insufficient USDC balance — payment-required or declined response","Input exceeds ~8,000 token cap — request rejected or truncated","Requested model not in tier allowlist — invalid model error","max_tokens exceeds hard cap of 1024 — capped or error returned","Malformed messages array (missing role or content) — validation error","Upstream model provider outage — 502 or timeout from OpenRouter"],"whenToPreferThis":"Choose this endpoint when an AI agent needs access to a frontier model (GPT-4o or Claude Sonnet 5.5) without storing API credentials or maintaining a subscription — ideal for serverless or ephemeral agents that pay per inference call via x402 USDC micropayments. Prefer over self-managed OpenAI/Anthropic keys when minimizing credential management overhead matters, or when deploying agents that must be fully autonomous and self-funded.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:49:20.786Z","isFirstParty":false,"canonicalSlug":"agentbit-chat-pro-frontier-llm-chat-completion-x402-849825e8"}