{"uid":"cap_mf9zzaEGMIoECZlsbnTQ2","slug":"jarvisclaw-compact-responses-api-d4567c49","name":"JarvisClaw Compact Responses API","description":"AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.","url":"https://api.jarvisclaw.ai/v1/responses/compact","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"User input"},"model":{"type":"string","description":"Model ID"}}},"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_Tvh8b1QWDHKUNHT4fLg5u","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 AI text generation endpoint with smart model routing, pay-per-call via x402 USDC micropayments, returning compact responses","exampleAgentPrompt":"Using JarvisClaw's compact response endpoint, send the prompt 'Summarize the key benefits of Base blockchain in three bullet points' through the gpt-4o model and give me the response.","exampleUseCases":[{"title":"Agent-to-agent AI inference billing","prompt":"I'm building a multi-agent system and need each sub-agent to call an AI model and pay per call in USDC automatically — use JarvisClaw's compact responses endpoint with the gpt-4o model and the input 'List three strategies to reduce API latency'."},{"title":"Crypto-native chatbot backend","prompt":"My app doesn't want monthly subscriptions — send the user's message 'What is the difference between Base and Solana?' to JarvisClaw's compact endpoint using model llama-3-70b and pay per call with USDC."},{"title":"Cost-controlled prompt testing","prompt":"I want to test a prompt on a cheap model without setting up billing — send 'Write a one-sentence product tagline for a coffee brand called Morning Bloom' to JarvisClaw's compact responses API using gpt-4o-mini and pay the per-call fee."}],"resultDescription":"A compact AI-generated text response from the routed model, returned in an OpenAI-compatible response format. The payload is intentionally compact to minimize size, containing the model's reply to the input prompt.","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required returned","Invalid or unsupported model ID — 400 Bad Request or model not found error","Empty or missing input field — 400 Bad Request","Model provider downtime causing routing failure — 503 Service Unavailable","Rate limiting if too many concurrent calls — 429 Too Many Requests","Network timeout if model inference takes too long — 504 Gateway Timeout"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible AI text generation with per-call USDC micropayment billing instead of a subscription, especially in autonomous agent pipelines where cost accountability per inference call matters. Prefer it over direct OpenAI API when you want smart routing across model providers, crypto-native payment settlement on Base or Solana, or when you need a compact response format to reduce payload size. The x402 payment protocol makes it ideal for agent-to-agent workflows where automated micropayments need to happen inline with the API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:04.546Z","isFirstParty":false}