{"uid":"cap_vxkXo9aM-JSYG8S7Ko70y","slug":"interai-chat-completions-via-x402-76c9419d","name":"InterAI+ Chat Completions via x402","description":"InterAI+ self-service in USDC: almost 300 models, MCP and Skill for chat completions, coding and more. Pick a model from the catalog or let the service pick one for you. Price is shown in the 402 response before payment; failed calls are tracked for refund. Free: GET /v1/catalog, GET /v1/quote, GET /v1/coming, GET /v1/autonomous-agents. Register interest ahead of time with POST /v1/register-interest. Coming: image and video generation, contest for AI agents with rewards.","url":"https://interai-x402.intellaisolution.com/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01366","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01366/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01366","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01366","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ILAcqTsfbwkmlurydX2cO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01366","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a chat completion request to one of ~300 AI models, with USDC micropayment via x402 protocol billed per call.","exampleAgentPrompt":"Use the InterAI+ multi-model endpoint to generate a Python function that parses a CSV file and computes column averages — pick the best coding model automatically and charge my USDC wallet per call.","exampleUseCases":[{"title":"Auto-model coding task","prompt":"I need a Python script that reads a JSON file and outputs a sorted list of unique values from a specific key — use whatever model is best for coding and charge my wallet for the call."},{"title":"LLM comparison for a prompt","prompt":"Run my prompt 'Explain the concept of entropy in simple terms' through GPT-4o and Claude Sonnet using InterAI+ and show me both responses — pay per call from my USDC balance."},{"title":"Autonomous agent reasoning step","prompt":"My agent needs to reason through a multi-step customer support ticket classification problem — send it to the best available reasoning model on InterAI+ and bill USDC per completion."}],"resultDescription":"Returns a standard OpenAI-compatible chat completion object containing the model's response text, finish reason, token usage counts, and the model name used. If the x402 payment has not yet been made, a 402 response is returned first with the price in USDC so the caller can authorize payment before retrying.","failureModes":["402 Payment Required returned before call completes — agent must complete USDC payment and retry","Invalid or unsupported model ID returns an error; use /v1/catalog to list valid models","Malformed message array causes a 400 Bad Request","Network timeout on large completions from slow models","Insufficient USDC balance causes payment failure; failed calls are tracked for potential refund"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call access to a wide catalog (~300) of LLMs without a monthly subscription, especially when operating as an AI agent with a USDC wallet using the x402 payment protocol. Prefer it over OpenAI or Anthropic direct APIs when you want model flexibility, automatic model selection, or MCP/Skill integration. Best for agent workflows that need cost-controlled, on-demand LLM inference billed in crypto micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:30:13.598Z","isFirstParty":false,"canonicalSlug":"interai-chat-completions-via-x402-76c9419d"}