{"uid":"cap_x2o1Ojp8kJgdf-3oHi0zs","slug":"ds402-deepseek-flash-pay-per-call-via-x402-9ec2d4b7","name":"ds402 — DeepSeek Flash pay-per-call via 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/flash/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"model":{"type":"string","description":"ignored, pinned to deepseek-flash 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.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_8RCsqz0BV6sUQ7ADzicfa","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":"Serves DeepSeek Flash chat completions on a pay-per-call basis using x402 micropayments — no API keys or accounts required, just $0.01 USDC per request.","exampleAgentPrompt":"Send the message 'Summarize the pros and cons of nuclear energy in 3 bullet points' to the DeepSeek Flash model via the pay-per-call x402 endpoint — no API key, just pay $0.01 USDC on Base — and give me back the response, using a max of 512 tokens.","exampleUseCases":[{"title":"One-off LLM call without account","prompt":"I need a quick answer from DeepSeek Flash — ask it to explain the difference between TCP and UDP in simple terms. Pay the $0.01 per-call fee in USDC on Base, no API key needed, and return what it says. Use up to 300 tokens."},{"title":"Crypto-native agent reasoning step","prompt":"My autonomous agent needs to classify this customer support ticket as 'billing', 'technical', or 'general' — send that classification task as a message to the DeepSeek Flash pay-per-call endpoint with a max of 256 tokens, settle the $0.01 USDC fee on Base, and return the result."},{"title":"Serverless LLM call in a pipeline","prompt":"In my no-account inference pipeline, call DeepSeek Flash with the prompt 'Write a one-paragraph product description for wireless noise-cancelling headphones', pay $0.01 USDC on Base via x402, cap output at 400 tokens, and send me back the completion."}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing the assistant's message content, finish reason, and token usage counts. Streaming is not supported; the full response is returned synchronously after the x402 payment is settled.","failureModes":["HTTP 402 returned if x402 payment challenge not satisfied — agent must detect and handle the payment flow before retrying","max_tokens clamped to [128, 2048] — requests outside this range are silently adjusted, potentially truncating long outputs","Streaming (stream: true) is not supported and will fail or be ignored — must use non-streaming mode","Empty or truncated content if max_tokens is set below 256, since the model performs reasoning before outputting text","Payment settlement failure on Base network (e.g. insufficient USDC balance, wrong chain) results in no completion being returned","Model parameter is ignored — always uses deepseek-flash, so callers expecting a different model will silently get flash"],"whenToPreferThis":"Prefer this endpoint when you need a one-off or low-volume DeepSeek Flash inference call and want to avoid account creation, API key management, or monthly subscriptions. Ideal for crypto-native agents, serverless pipelines, or agentic workflows where per-call USDC micropayments on Base are acceptable. Not suitable for high-volume inference (cost adds up vs. subscription), streaming use cases, or scenarios requiring models other than DeepSeek Flash.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T14:06:10.545Z","isFirstParty":false,"canonicalSlug":"ds402-deepseek-flash-pay-per-call-via-x402-9ec2d4b7"}