{"uid":"cap_ZSSKIBtxIB_ZLBqIgbyZX","slug":"ai-chat-text-onchaincheck-dev-352b6e02","name":"AI Chat & Text (onchaincheck.dev)","description":"LLM chat completion on larger models, flat $0.01 a call: prompt (plus optional system) or an OpenAI-style messages array in, reply text and token usage out. Models: gpt-oss-120b (default), deepseek-v4.1-flash, llama-3.3-70b, mistral-small-3.1, glm-5.3-flash. Up to 32,000 characters in and 2,048 tokens out; json=true for JSON output.","url":"https://onchaincheck.dev/ai/chat-pro?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json":{"enum":["true","false"],"type":"string","description":"true asks for a single JSON object"},"model":{"enum":["gpt-oss-120b","deepseek-v4.1-flash","llama-3.3-70b","mistral-small-3.1"],"type":"string","description":"Model (default gpt-oss-120b)"},"prompt":{"type":"string","pattern":"^[\\s\\S]+$","maxLength":32000,"description":"The user message (or send an OpenAI-style messages array instead)"},"system":{"type":"string","pattern":"^[\\s\\S]*$","maxLength":32000,"description":"Optional system instructions"},"max_tokens":{"type":"string","pattern":"^\\d{1,4}$","description":"Most tokens to generate, up to 2048"},"temperature":{"type":"string","pattern":"^\\d(\\.\\d+)?$","description":"0 to 2 (default 0.6)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LvTCcL7kgZEM3byHcOXEt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"LLM chat completion via multiple large models (GPT, DeepSeek, LLaMA, Mistral, GLM) at a flat $0.01 per call, returning reply text and token usage","exampleAgentPrompt":"Using the gpt-oss-120b model, answer the following with a system prompt of 'You are a concise assistant': What are the top three benefits of decentralized finance? Keep the reply under 200 words.","exampleUseCases":[{"title":"Structured JSON data extraction","prompt":"Using the deepseek-v4.1-flash model with json mode on, extract the company name, founding year, and headquarters city from this text: 'Acme Corp was founded in 1998 and is headquartered in Austin, Texas.'"},{"title":"Custom system prompt Q&A","prompt":"Set the system prompt to 'You are a legal expert who explains things in plain English' and ask: What is the difference between a patent and a trademark? Use llama-3.3-70b and keep the answer under 300 words."},{"title":"Creative writing assistance","prompt":"Using mistral-small-3.1 with temperature 1.2, write me a short two-paragraph story opening about a detective in a futuristic city — make it noir and atmospheric."}],"resultDescription":"Returns the generated reply text from the selected LLM, plus token usage counts (prompt tokens, completion tokens, total tokens). If json=true is set, the reply is a single parsed JSON object. Response also indicates which model was used.","failureModes":["Prompt or system message exceeds 32,000 characters — request rejected","max_tokens value exceeds 2048 — capped or rejected","Invalid model name in enum — validation error","Malformed messages array structure — parsing error","Payment not received or x402 flow fails — 402 response, no completion returned","Temperature value outside 0–2 range — validation error","Network timeout on slow model inference — partial or no response"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call LLM access without a monthly subscription, especially inside agentic workflows or micropayment-enabled pipelines using x402. It offers model variety (GPT-class, DeepSeek, LLaMA, Mistral, GLM) at a flat $0.01 per call, making it cost-predictable for high-frequency agent loops. Prefer it over OpenAI direct when you want on-chain payment compatibility or want to switch between model families without managing multiple API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:41:07.237Z","isFirstParty":false,"canonicalSlug":"ai-chat-text-onchaincheck-dev-352b6e02"}