{"uid":"cap_18OiemmOH8vY6W9oUlcDZ","slug":"x402-freeq-one-llm-chat-94a1e5b0","name":"x402.freeq.one LLM Chat","description":"LLM Chat: Chat with a language model. OpenAI-compatible /v1/chat/completions interface. Supports 50+ models. Free models (auto, eco, premium) are $0 — paid models (gpt-5.2, claude-opus-5, deepseek-v4-pro, ...) are charged at cost. See /tools/llm_chat/models for the full model list and rates. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/llm_chat.","url":"https://x402.freeq.one/tools/llm_chat","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Model ID. Examples: auto/eco/premium (free, $0.002), openai/gpt-5.2, anthropic/claude-opus-5, google/gemini-3.1-pro, deepseek/deepseek-v4-pro. Short names accepted (gpt-5.2, claude-opus-5). See /tools for full list."},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"enum":["system","user","assistant"],"type":"string","description":"Message role"},"content":{"type":"string","description":"Message text content"}}},"description":"Conversation messages array"},"max_tokens":{"type":"integer","description":"Maximum tokens to generate (default 1024, max 4096). Lower values reduce cost for paid models."},"temperature":{"type":"number","description":"Sampling temperature 0-2 (default 0.7)"}}},"responseSchema":{"type":"json","example":{"result":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-DiY8jKWlPc0sPNAYrSnw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Chat with a language model via an OpenAI-compatible /v1/chat/completions interface supporting 50+ models, paid per-call in USDC on Base via x402","exampleAgentPrompt":"Send a chat message to a language model — use the 'auto' free tier model — asking it to summarize the following text: 'Artificial intelligence is transforming industries worldwide by automating complex tasks and enabling new forms of creativity.'","exampleUseCases":[{"title":"Free-tier LLM call from agent","prompt":"Ask the auto model (free tier) to write a one-paragraph product description for a new ergonomic standing desk called 'StandEasy Pro'."},{"title":"Premium model reasoning task","prompt":"Use claude-opus-5 to analyze the pros and cons of switching our company's database from PostgreSQL to MongoDB and give me a structured recommendation."},{"title":"Cost-efficient batch summarization","prompt":"Use the eco model to summarize this 500-word support ticket into a 2-sentence summary I can paste into our CRM: 'Customer reports that the mobile app crashes on login after the latest update on iOS 17...'"}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing the assistant's message content, finish reason, model used, and token usage statistics (prompt tokens, completion tokens, total tokens).","failureModes":["Insufficient USDC balance on Base wallet — payment rejected by x402 gateway","Unsupported model name — returns 400 or model-not-found error","Malformed messages array — returns 422 validation error","Rate limit exceeded for the selected model tier","Network timeout for long-running premium model completions","Model temporarily unavailable — returns 503 or fallback error"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible LLM access with per-call micropayment billing in USDC rather than a monthly subscription, especially if you want to dynamically switch between 50+ models (free eco/auto tiers or paid premium models like GPT-5 or Claude Opus) within the same API interface. Ideal for autonomous agents that need to pay programmatically on Base without managing API keys for multiple providers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:46:30.157Z","isFirstParty":false}