{"uid":"cap_XmT9A0_kZ-jhCVj_kJYg4","slug":"agentrxi-deepseek-r1-distill-chat-completions-a24eabd2","name":"AgentRXI DeepSeek R1 Distill Chat Completions","description":"OpenAI-compatible chat completions on DeepSeek R1 Distill (Qwen 32B), chain-of-thought reasoning model. Set your OpenAI SDK base URL to https://agentrxi.com/v1/r1 and pay per token with x402 instead of an API key: $0.994 per million input and $9.762 per million output tokens, minimum $0.002 a call, at most $0.1084. The 402 quotes your request's maximum; \"upto\" payers are charged only the tokens used. Same request/response shape as OpenAI (reasoning, streaming supported), up t","url":"https://agentrxi.com/v1/r1/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-r1-distill-32b","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.022013","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.022013/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.022013","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.022013","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6mcKN1s-uojx1O1VspQku","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.022013","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs chat completions using DeepSeek R1 Distill (Qwen 32B) chain-of-thought reasoning model via an OpenAI-compatible API, billed per token via x402 micropayments.","exampleAgentPrompt":"Use the DeepSeek R1 reasoning model to think through this step by step: if a train travels 300 km at 120 km/h then stops for 15 minutes and continues 200 km at 100 km/h, what is the total trip time?","exampleUseCases":[{"title":"Multi-step math problem solving","prompt":"I need a reasoning model to work through this carefully: a factory produces 240 units per day but shuts down for maintenance every 10th day — how many units does it produce in a 90-day quarter?"},{"title":"Complex logic puzzle resolution","prompt":"Can you use a chain-of-thought model to figure out who owns the fish in Einstein's riddle? Walk me through the full reasoning step by step."},{"title":"Code architecture trade-off analysis","prompt":"I'm deciding between a microservices architecture and a monolith for a team of 5 engineers building a SaaS app with ~10k users. Use a reasoning model to think through the trade-offs and give me a recommendation."}],"resultDescription":"Returns an OpenAI-compatible chat completion JSON object containing the assistant's message content (including chain-of-thought reasoning if applicable), token usage breakdown (prompt, completion, total tokens), finish reason, model ID (deepseek-r1-distill-32b), and a unique completion ID.","failureModes":["Payment below $0.002 minimum rejected","Prompt exceeding model context window returns error","Invalid or missing prompt parameter returns 400","x402 payment failure causes 402 response requiring retry","Temperature or max_tokens out of valid range causes 422","Timeout on very long chain-of-thought sequences"],"whenToPreferThis":"Choose this endpoint when you need strong chain-of-thought reasoning from a 32B model without committing to a subscription — ideal for agents that need pay-per-use billing via x402 micropayments. Prefer it over GPT-4 or Claude when cost transparency per token matters, or when you specifically want DeepSeek R1's reasoning style. Better than generic completion endpoints when the task requires explicit multi-step reasoning traces.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:06.429Z","isFirstParty":false,"canonicalSlug":"agentrxi-deepseek-r1-distill-chat-completions-a24eabd2"}