{"uid":"cap_zPUZ0LeAn5Z7y6Q34WdF9","slug":"ds402-deepseek-v4-pro-pay-per-call-x402-f862e7c0","name":"ds402 — DeepSeek v4-Pro Pay-Per-Call (x402)","description":"Pay-per-request DeepSeek inference behind an x402 payment wall. No accounts, no API keys: POST OpenAI-style chat completions, receive HTTP 402 with an x402 v2 challenge, settle $0.01 (flash) or $0.04 (v4-pro) in USDC on Base, get the completion. One payment per call.","url":"https://ds.xhclco.com/v1/pro/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"model":{"type":"string","description":"ignored, pinned to deepseek-v4-pro by route"},"stream":{"type":"boolean","description":"must be false; SSE streaming unsupported"},"messages":{"type":"array"},"max_tokens":{"type":"integer","description":"clamped to [128,2048]; model does reasoning, use >=256 to avoid empty content"},"temperature":{"type":"number"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_05PB5t5SGOnJ-VUn4l1HN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a DeepSeek v4-Pro chat completion for $0.04 USDC per call via x402 micropayment — no API keys or accounts required.","exampleAgentPrompt":"Ask DeepSeek v4-Pro to explain the difference between supervised and unsupervised learning in simple terms — pay the $0.04 USDC per-call fee automatically, no API key needed, streaming off, and allow up to 512 tokens for the answer.","exampleUseCases":[{"title":"One-off reasoning question without API account","prompt":"I need a quick answer from a strong reasoning model — ask DeepSeek v4-Pro why recursion can cause stack overflows and keep the reply under 400 tokens. Pay the micropayment automatically."},{"title":"Disposable code review for a snippet","prompt":"Send this Python function to DeepSeek v4-Pro and ask it to identify any bugs or edge cases, paying per-call in USDC — I don't want to set up an API account just for this one review."},{"title":"Rapid content drafting for a one-time task","prompt":"Use the pay-per-call DeepSeek model to draft a two-paragraph product description for my new mechanical keyboard, keeping it professional and under 300 words. Pay the $0.04 fee from my wallet."}],"resultDescription":"Returns an OpenAI-compatible chat completion object with the assistant's generated message. The response includes the completion text produced by DeepSeek v4-Pro, clamped to between 128 and 2048 tokens. No streaming is supported; the full response is returned synchronously after the x402 micropayment is settled.","failureModes":["HTTP 402 returned if payment challenge is not settled — client must complete x402 v2 USDC payment on Base before retrying","Empty or truncated content if max_tokens is set below 256, as the model performs internal reasoning that consumes tokens","stream:true rejected — SSE streaming is not supported on this route; must send stream:false","Model field is ignored — always pinned to deepseek-v4-pro regardless of value","Payment settlement failure if the caller's wallet has insufficient USDC on Base","Rate or infrastructure errors returning 5xx if the upstream DeepSeek service is unavailable"],"whenToPreferThis":"Choose this endpoint when you need a capable DeepSeek v4-Pro reasoning inference with no account setup, API key management, or subscription — ideal for one-off or low-frequency agent tasks where paying $0.04 USDC per call via x402 is simpler than provisioning credentials. Prefer this over OpenAI or Anthropic endpoints when the agent already has a crypto wallet on Base and wants to avoid SaaS billing overhead. Not suitable for streaming responses or for high-volume batch workloads where per-call costs accumulate significantly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T14:32:53.527Z","isFirstParty":false,"canonicalSlug":"ds402-deepseek-v4-pro-pay-per-call-x402-f862e7c0"}