{"uid":"cap_CivIS_sS2DgcA3teJtcb0","slug":"jarvisclaw-chat-completions-d5efd362","name":"JarvisClaw Chat Completions","description":"AI chat completions - 80+ models (GPT-4o, Claude, Gemini, DeepSeek), pay per token with USDC","url":"https://api.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_TCUOPI-iANrl6LVmA8O3N","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":"OpenAI-compatible chat completions API gateway with smart model routing, billed per-call via x402 micropayments settled in USDC on Base and Solana.","exampleAgentPrompt":"Send a chat message to JarvisClaw using gpt-4.1-nano with a temperature of 0.7 and up to 512 tokens: the messages should be [{role: user, content: 'Summarize the key differences between Base and Solana in two sentences'}].","exampleUseCases":[{"title":"Real-time support bot for DAOs","prompt":"Route my support questions through JarvisClaw to get quick answers about governance proposals and token mechanics—I want to use Claude for better reasoning and pay per question in USDC on Solana."},{"title":"Cost-optimized AI content generation","prompt":"Have my agent generate product descriptions by smartly routing to the cheapest available model via JarvisClaw, paying only for what we use in USDC, no monthly fees."},{"title":"Crypto trading signal analysis","prompt":"Send market analysis requests to JarvisClaw using GPT-4 for deep technical insights, stream the responses back incrementally, and settle payments instantly in USDC on Base."}],"resultDescription":"An OpenAI-compatible chat completion response object containing the assistant's generated message, finish reason, model used, and token usage statistics. Streaming is optionally supported for incremental output delivery.","failureModes":["402 Payment Required — x402 payment not provided or insufficient USDC balance","400 Bad Request — invalid model ID or malformed messages array","401 Unauthorized — missing or invalid payment credentials","429 Too Many Requests — rate limit exceeded","503 Service Unavailable — upstream model provider unreachable","Unsupported model ID — requested model not available through the gateway"],"whenToPreferThis":"Prefer JarvisClaw when you need an OpenAI-compatible chat completions endpoint with no subscription required, paying per call in USDC via the x402 protocol on Base or Solana. Ideal for AI agents operating in crypto-native environments, serverless pipelines with unpredictable usage, or workflows that need smart routing across multiple model providers (GPT, Claude, etc.) without managing separate API keys for each.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:47:11.051Z","isFirstParty":false}