{"uid":"cap_Ps98LJESXZV0DA4tMFn0_","slug":"hivemindos-default-paid-chat-completions-gateway-f21f59bf","name":"HivemindOS Default Paid Chat Completions Gateway","description":"Official HivemindOS paid agent (default)","url":"https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/paid-agents/default/chat/completions?utm_source=zero.xyz","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":{"type":"object","required":["messages"],"properties":{"model":{"type":"string","description":"A model id from /v1/models, or hivemindos/auto."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{}}}},"max_tokens":{"type":"integer","minimum":1}}},"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.122608","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.122608/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.122608","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.122608","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i0Apao4HWBGF-byJCNjwF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.122608","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends chat messages to HivemindOS's default paid AI model and returns a completion response, with payment handled via x402 micropayment protocol.","exampleAgentPrompt":"Ask HivemindOS's default paid AI model: 'Explain the key risks of investing in meme coins in three bullet points' — use the hivemindos/auto model and limit the response to 300 tokens.","exampleUseCases":[{"title":"Agent-to-agent LLM reasoning call","prompt":"I need you to ask HivemindOS's default AI model to analyze this decision tree I'm building and suggest the best branching strategy — use hivemindos/auto and cap the reply at 500 tokens."},{"title":"Pay-per-call content drafting","prompt":"Use the HivemindOS paid gateway to draft a professional LinkedIn post announcing our new product launch — keep it under 200 tokens and use the auto model."},{"title":"Automated Q&A pipeline step","prompt":"Send this customer support question to the HivemindOS default agent: 'How do I reset my password?' and return whatever the AI says — I want a quick response under 150 tokens."}],"resultDescription":"Returns an OpenAI-compatible chat completion response object containing the AI-generated message(s), model used, token usage statistics, and finish reason. The response follows standard chat completions format with a choices array.","failureModes":["Payment failure or insufficient USDC balance causing x402 rejection","Invalid or unsupported model ID causing a model-not-found error","Malformed messages array missing required role or content fields","Max_tokens value below minimum (1) causing validation error","Request timeout if the selected model takes too long to respond","bodyType mismatch (e.g. sending form-data instead of json) causing parse failure"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call AI chat completion via HivemindOS's default model routing (hivemindos/auto), especially in agentic workflows where you want micropayment-gated LLM access without a subscription. Prefer it over standard OpenAI-compatible endpoints when operating in x402 payment ecosystems or when you want HivemindOS's model selection logic to pick the best available model automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:59:52.551Z","isFirstParty":false,"canonicalSlug":"hivemindos-default-paid-chat-completions-gateway-f21f59bf"}