{"uid":"cap_8-UKX3YdsS2Ly9SrTMpUy","slug":"agentrxi-deepseek-v4-pro-chat-completions-faba2078","name":"AgentRXI DeepSeek V4 Pro Chat Completions","description":"OpenAI-compatible chat completions on DeepSeek V4 Pro, a top open frontier model with reasoning, tool calling and a 1M-token context. Set your OpenAI SDK base URL to https://agentrxi.com/v1/deepseek-pro and pay per token with x402 instead of an API key: $2.64 per million input and $7.92 per million output tokens, minimum $0.002 a call, at most $0.2158. The 402 quotes your request's maximum; \"upto\" payers are charged only the tokens used. Same request/response shape as OpenAI ","url":"https://agentrxi.com/v1/deepseek-pro/chat/completions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"User message"},"system":{"type":"string","description":"Optional system message"},"max_tokens":{"type":"integer"},"temperature":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-...","model":"deepseek-v4-pro","usage":{"total_tokens":18,"prompt_tokens":14,"completion_tokens":4},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Bonjour !"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.018273","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.018273/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018273","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018273","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tM_m-Sy2l6riZtOLCkVtQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018273","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible chat completions endpoint powered by DeepSeek V4 Pro with reasoning, tool calling, and 1M-token context, billed per token via x402 micropayments","exampleAgentPrompt":"Ask DeepSeek V4 Pro to explain the key differences between transformer and state-space model architectures — use up to 500 tokens and keep the temperature at 0.7.","exampleUseCases":[{"title":"Complex reasoning on a technical question","prompt":"I need a thorough, step-by-step reasoning breakdown of why quicksort has O(n log n) average complexity — ask DeepSeek V4 Pro and give me up to 800 tokens in the response."},{"title":"Multilingual content drafting","prompt":"Use the DeepSeek model to write me a professional cold email in French introducing our analytics SaaS to a potential enterprise client — keep it under 300 tokens."},{"title":"Code generation with large context","prompt":"Paste this 10,000-line Python codebase into DeepSeek V4 Pro and ask it to identify all functions that have no unit test coverage, then suggest what tests to write — use a system prompt saying 'You are a senior software engineer.'"}],"resultDescription":"Returns an OpenAI-shaped chat.completion JSON object including the assistant's message content, role, finish reason (e.g. 'stop'), token usage (prompt, completion, total), model name, and a completion ID.","failureModes":["Insufficient x402 payment or wallet balance causes 402 rejection before inference begins","prompt or system message exceeds the 1M-token context limit causing a 400 error","max_tokens set too low resulting in a truncated response with finish_reason 'length'","Temperature out of valid range (e.g. negative or very large) may cause a 400 validation error","Network timeout on very long reasoning completions"],"whenToPreferThis":"Choose this endpoint when you need a high-capability frontier LLM with a 1M-token context window, reasoning, and tool-calling support, without managing an API key or subscription — especially when you want pay-as-you-go per-token billing via x402 micropayments and an OpenAI-SDK-compatible interface. Prefer it over OpenAI's endpoint if you want DeepSeek's reasoning model at a lower per-token cost, or when your use case requires extremely long contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:21.859Z","isFirstParty":false,"canonicalSlug":"agentrxi-deepseek-v4-pro-chat-completions-faba2078"}