{"uid":"cap_gR-eLZ61fbtsrXEmjrr_v","slug":"scriptmasterlabs-llm-chat-via-x402-12835094","name":"ScriptMasterLabs LLM Chat via x402","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-scriptmasterlabs.onrender.com/x402/llm-chat?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string"},"queryParams":{"type":"object","properties":{"model":{"type":"string","example":"x-ai-grok-4-5"},"prompt":{"type":"string","example":"Say hi in one sentence"},"message":{"type":"string","example":"Hello"},"max_tokens":{"type":"integer","default":256,"example":256},"temperature":{"type":"number","default":0.2,"example":0.2}}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q1Ki0b_vVfG0TfV6pgMxE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 endpoint that accepts a prompt and returns a generated text response, settled in USDC on Base via x402 micropayment protocol","exampleAgentPrompt":"Using the ScriptMasterLabs LLM chat endpoint, send the prompt 'Explain RWA tokenization in two sentences' to the x-ai-grok-4-5 model with a max of 150 tokens and temperature 0.3.","exampleUseCases":[{"title":"Quick AI answer via crypto micropayment","prompt":"Ask the ScriptMasterLabs LLM chat API to explain what Base blockchain is in one sentence, using the grok-4-5 model, max 100 tokens, and temperature 0.2."},{"title":"Automated compliance question answering","prompt":"Send the prompt 'What are the SEC disclosure requirements for RWA tokens?' to the ScriptMasterLabs chat endpoint using model x-ai-grok-4-5, max 300 tokens, and default temperature."},{"title":"Crypto data chatbot integration","prompt":"Query the ScriptMasterLabs LLM endpoint with the message 'Summarize today's gas tracker data and what it means for DeFi users' using x-ai-grok-4-5 at temperature 0.5 and max 256 tokens."}],"resultDescription":"A text response generated by the specified LLM model (e.g. xAI Grok) based on the provided prompt or message, with content length bounded by max_tokens. The response schema is loosely defined (example: {}), so the actual structure may vary by implementation.","failureModes":["Payment not settled — x402 micropayment fails, returns 402 Payment Required","Missing required 'input' or 'method' fields — returns 400 Bad Request","Invalid model name — returns error or falls back to default model","Prompt too long or max_tokens exceeded — may return truncated response or error","Service unavailable on Render free tier — cold start latency or 503 timeout","Malformed query parameters — silent failure or unexpected output"],"whenToPreferThis":"Choose this endpoint when you need a pay-as-you-go LLM chat capability settled via x402 USDC micropayments on Base, with no subscription or API key required beyond the x402 payment flow. Ideal for agents that need occasional LLM inference in crypto-native workflows, or when integrating AI-generated responses alongside other ScriptMasterLabs data endpoints (crypto, RWA, SEC, compliance) in the same x402 payment session.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:45:17.624Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-llm-chat-via-x402-12835094"}