{"uid":"cap_4xG7V7zRhBaoyH9XVxGVz","slug":"jarvisclaw-ai-api-gateway-chat-completions-a94830d8","name":"JarvisClaw AI API Gateway (Chat Completions)","description":"AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.","url":"https://uat.jarvisclaw.ai/v1/chat/completions","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Model ID"},"messages":{"type":"array","description":"Chat messages"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_htmhYlSTo_tg6G5Xaw7Qn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes chat completion requests to AI models via an OpenAI-compatible API, with per-call micropayments settled in USDC on Base or Solana.","exampleAgentPrompt":"Use the JarvisClaw gateway to send this conversation to gpt-4o and get a response: 'What are the top three benefits of proof-of-stake blockchains?' — pay per call in USDC on Base.","exampleUseCases":[{"title":"Autonomous agent inference with micropayments","prompt":"Send my agent's conversation history to the JarvisClaw gateway using gpt-4o as the model and let it pay per call in USDC — I want the assistant's reply to the question: 'Summarize the latest trends in DeFi.'"},{"title":"Crypto-native chatbot backend","prompt":"I'm building a chatbot that charges users per message — can you route this chat completion request through JarvisClaw with the messages array I've set up and settle payment in USDC on Base?"},{"title":"Multi-model smart routing for cost optimization","prompt":"Send my prompt to JarvisClaw's smart router and let it pick the best model: 'Draft a concise product description for a hardware crypto wallet targeting developers.' I want the cheapest capable model, paying per call."}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing the model's generated assistant message, finish reason, token usage statistics, and model metadata — identical in structure to the OpenAI Chat Completions API response.","failureModes":["402 Payment Required if USDC balance is insufficient or x402 payment header is missing","Invalid model ID returns 400 or model-not-found error","Malformed messages array causes 422 validation error","Rate limiting or gateway overload returns 429 or 503","UAT environment instability may cause intermittent 500 errors","Network timeout if upstream model provider is slow"],"whenToPreferThis":"Choose this endpoint when you need an OpenAI-compatible chat completion API that supports autonomous per-call micropayments in USDC, particularly for AI agents operating on Base or Solana without subscription billing. Prefer it over standard OpenAI when you need crypto-native payment settlement, want smart routing across multiple models, or are building decentralized applications where subscription keys are impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:51.751Z","isFirstParty":false}