{"uid":"cap_MfsBtoBBPXoMupBW1wmpp","slug":"api-wild-llm-chat-completions-ec278945","name":"API WILD LLM Chat Completions","description":"API WILD inference — OpenAI-compatible chat completions","url":"https://api.techswitch.ca/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string"},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qNIZ7y63yfHQpWc3L-MNB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-call LLM chat completions endpoint using the OpenAI-compatible API, billed in USDC on Base via x402 protocol with no signup required.","exampleAgentPrompt":"Using the API WILD chat completions endpoint, send a conversation with the message 'Summarize the concept of blockchain in two sentences' to the gpt-3.5-turbo model and return the reply.","exampleUseCases":[{"title":"Crypto-native LLM for autonomous agents","prompt":"I'm building an AI agent that needs to call an LLM on the fly without managing API keys or subscriptions — just pay per call in USDC from a wallet. Can you send this conversation history to the API WILD chat completions endpoint using the gpt-3.5-turbo model and get the next response?"},{"title":"No-signup text generation for a prototype","prompt":"I want to test an LLM-powered feature for my app without signing up for anything — just pay per request with crypto. Use the API WILD completions endpoint with the messages array I have here and the gpt-4 model, and show me the generated text."},{"title":"Agent reasoning step via wallet-funded LLM","prompt":"My agent needs to reason about this problem and I want it to call an LLM mid-task, paying in USDC automatically. Send these messages to the API WILD chat endpoint with the llama-3 model and return the assistant's reply so the agent can continue."}],"resultDescription":"Returns a JSON object in OpenAI chat completions format, including the generated assistant message content, model used, token usage counts, finish reason, and a unique completion ID.","failureModes":["Insufficient USDC balance — payment fails and request is rejected with 402","Invalid or unsupported model name returns a 400 or 404 error","Malformed messages array (missing required fields) causes a 422 validation error","Network or provider outage results in a 503 or timeout","x402 payment flow not completed by client leads to unauthenticated 402 response"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible LLM inference without a subscription or API key account, want to pay per call in USDC on Base via x402, or are building crypto-native agents that need autonomous, wallet-driven LLM access with no prior signup friction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T12:30:52.745Z","isFirstParty":false,"canonicalSlug":"api-wild-llm-chat-completions-ec278945"}