{"uid":"cap_W4vfBIpy2Qb6HAlzTjj4f","slug":"model-access-gateway-deepseek-chat-x402-971d782e","name":"Model Access Gateway – DeepSeek Chat (x402)","description":"LLM inference API: OpenAI-compatible chat completions for 136 AI models (Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM), paid per call in USDC on Base with x402. No account, no API key, automatic refund if the model fails.","url":"https://agent402-arb.rosariovitale0096.workers.dev/llm/deepseek-chat?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional: fixed by the route (deepseek/deepseek-chat)"},"tools":{"type":"array"},"stream":{"type":"boolean","description":"true: server-sent events after payment"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"},"content":{"type":["string","array","null"]}}},"minItems":1},"max_tokens":{"type":"integer","maximum":16384,"minimum":1,"description":"Optional, default 4096"},"temperature":{"type":"number","maximum":2,"minimum":0},"response_format":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-7f3c2a91","model":"deepseek/deepseek-chat","usage":{"total_tokens":10,"prompt_tokens":9,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1791979200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0014","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.0014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0hvRUnTEN63f2d8wHziAy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs an OpenAI-compatible chat completion request against DeepSeek-Chat, billed per-request in USDC via x402 with no API key required.","exampleAgentPrompt":"Using the pay-per-request DeepSeek-Chat gateway, send a chat completion with the system prompt 'You are a helpful assistant' and the user message 'Explain quantum entanglement in two sentences' — pay the $0.0014 USDC fee automatically.","exampleUseCases":[{"title":"Keyless LLM inference for AI agents","prompt":"I want my autonomous agent to call DeepSeek-Chat on demand without storing any API keys — just have it pay $0.0014 USDC per request automatically using x402 and send the message: 'Summarize the following article: [article text]'."},{"title":"Quick DeepSeek answer in a workflow","prompt":"In my automation pipeline, ask DeepSeek-Chat: 'What are three actionable marketing strategies for a SaaS startup?' and return the response — use the x402 micropayment gateway so I don't need an account."},{"title":"Prototyping with DeepSeek sans signup","prompt":"I'm prototyping an app and want to test DeepSeek's response quality — send it the system prompt 'You are a code reviewer' and user message 'Review this Python function for bugs: def add(a,b): return a-b' and pay the USDC fee per call."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply text, finish reason (e.g. 'stop'), prompt and completion token counts, model name ('deepseek/deepseek-chat'), and a unique completion ID.","failureModes":["Payment failure if USDC balance on Base is insufficient — returns 402 Payment Required","Malformed request body (missing messages field) — returns 400 Bad Request","DeepSeek upstream timeout or rate limit — returns 502 or 503","Invalid model path or misconfigured gateway — returns 404","Network/Cloudflare Worker errors — returns 500"],"whenToPreferThis":"Choose this endpoint when you need DeepSeek-Chat completions without registering for an API key or managing API credentials, and can pay per-request in USDC on Base via the x402 protocol. Ideal for autonomous AI agents that need accountless, on-demand LLM access with crypto-native micropayments. Prefer alternatives (OpenAI, Anthropic, direct DeepSeek API) if you already have API keys, need streaming responses, require SLA guarantees, or cannot make USDC payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:33:16.221Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-deepseek-chat-x402-971d782e"}