{"uid":"cap_KqLJ8XHGhMFH_EB_0-jeU","slug":"gambit-chat-pay-per-call-llm-via-usdc-on-base-x402-dde356d7","name":"Gambit Chat — Pay-per-call LLM via USDC on Base (x402)","description":"Gambit GPU shop. Humans: /signup ($1 credit), X-API-Key on /v1/*, QR Lightning top-up. Bots: L402 Lightning (LIVE) on /l402/*, x402 USDC on Base on /x402/*, or POST /v1/register ($0) then POST /v1/topup/lightning. Handwritten letter POST /x402/letter at $25.00 USDC. Funnel https://gambit.barrioenergy.com. Free probe GET|POST /x402/models.","url":"https://gambit.barrioenergy.com/x402/chat","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer","default":512}}},"responseSchema":{"type":"json","example":{"model":"qwen3.6:35b-a3b","message":{"role":"assistant","content":"Hi."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IfwDDC16b2oNKmT8Kwj43","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a chat message to a GPU-hosted language model on Gambit, paid per-call with USDC on Base via the x402 protocol","exampleAgentPrompt":"Ask Gambit's GPU-hosted Qwen model — paying $0.02 in USDC on Base — to explain the difference between proof-of-work and proof-of-stake in 3 sentences, using up to 300 tokens.","exampleUseCases":[{"title":"Autonomous agent one-shot reasoning","prompt":"I want you to use Gambit's pay-per-call LLM to answer this question in under 200 tokens: 'What are three practical use cases for zero-knowledge proofs in DeFi?' — pay the $0.02 USDC fee from my Base wallet automatically."},{"title":"Crypto-native chatbot backend","prompt":"Route this user message to Gambit's GPU chat endpoint using the qwen3.6:35b-a3b model and return the assistant's reply — I want to pay per call in USDC on Base rather than run a subscription."},{"title":"LLM inference for a smart contract script","prompt":"Using Gambit, send the system message 'You are a Solidity auditor' and user message 'Review this snippet for reentrancy bugs: [code]' to the chat endpoint with max 512 tokens, and charge the $0.02 USDC fee to my Base address."}],"resultDescription":"Returns a JSON object containing the model name and an assistant message object with role and content fields — the generated text response from the GPU-hosted LLM.","failureModes":["402 Payment Required if USDC payment on Base is not provided or insufficient","Invalid model name returns an error or empty response","Malformed messages array (missing role or content) causes a 400 error","Max tokens exceeded or model unavailable may cause timeouts or errors","Insufficient USDC balance on Base results in payment failure"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call LLM inference endpoint that accepts USDC on Base via x402 — ideal for autonomous agents, bots, or scripts that need to avoid subscription management and prefer crypto micropayments. Prefer this over L402 Lightning endpoints if you already operate on Base/EVM. Avoid if you need streaming responses or guaranteed model availability at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:32:58.557Z","isFirstParty":false}