{"uid":"cap_2cVZkJ0Snl5-Z3MvsZgCF","slug":"deepseek-on-x402-099df3ab","name":"DeepSeek-on-x402","description":"Pay-per-call LLM API. Send any prompt, receive a DeepSeek v4 Flash response (adaptive thinking). Cost: 0.01 USDC per request on Base. Price: 0.01 USDC per request on Base. Pay via x402: the endpoint returns HTTP 402 with a payment-required header; pay and resend with x-payment.","url":"https://x402-ai.pages.dev/service/chat","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string"}}},"responseSchema":{"type":"object","required":["ok","payer","transaction","result"],"properties":{"ok":{"type":"boolean"},"payer":{"type":"string"},"result":{"type":"object","required":["reply","model"],"properties":{"model":{"type":"string"},"reply":{"type":"string"},"promptTokens":{"type":"integer"},"reasoningTokens":{"type":"integer"},"completionTokens":{"type":"integer"}}},"transaction":{"type":"string"}}},"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_SKtEfmjXXoRNhvajMdNge","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":"Pay-per-call LLM chat API powered by DeepSeek v4 Flash with adaptive thinking, billed at $0.01 USDC per request via the x402 micropayment protocol on Base","exampleAgentPrompt":"Ask DeepSeek Flash to explain the tradeoffs between relational and vector databases in two paragraphs — pay the $0.01 USDC fee per-request on Base.","exampleUseCases":[{"title":"On-demand AI answers in an agent pipeline","prompt":"I need a quick AI-generated explanation of how transformer attention works — use the pay-per-call DeepSeek endpoint and charge the 0.01 USDC per-request fee."},{"title":"Code review via micropayment LLM","prompt":"Send this Python function to the DeepSeek Flash API and ask it to suggest improvements: 'def add(a,b): return a+b' — pay with USDC on Base as needed."},{"title":"Ad-hoc summarization without a subscription","prompt":"Summarize the following paragraph in one sentence using the DeepSeek pay-per-use API: 'Quantum computing leverages quantum mechanical phenomena such as superposition and entanglement to perform computations that classical computers find intractable.'"}],"resultDescription":"A JSON object containing a boolean success flag, the payer wallet address, the blockchain transaction hash for the USDC payment, and a nested result object with the model's text reply, model identifier, prompt token count, reasoning token count, and completion token count.","failureModes":["HTTP 402 returned on first call requiring x-payment header to be added and request resent","Insufficient USDC balance on Base wallet causes payment failure","Malformed or missing prompt field returns validation error","Network or Cloudflare Pages downtime causes 5xx errors","Blockchain transaction confirmation delays may slow response"],"whenToPreferThis":"Choose this endpoint when you need a low-cost, pay-as-you-go LLM call without committing to a subscription, especially in agentic workflows that handle their own x402 micropayment flow on Base. It is ideal when DeepSeek's adaptive thinking model is specifically desired, when per-call USDC billing is preferred over API key subscriptions, or when building pipelines that must be auditable via on-chain transaction receipts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:37.879Z","isFirstParty":false}