{"uid":"cap_TBWKxUTXktBB_5MrPri2a","slug":"agent-data-tools-revmesh2074-workers-dev-deepseek-r1-reasoning-model-4334a8ca","name":"DeepSeek R1 Reasoning Model API (Pay-Per-Call)","description":"Chat with DeepSeek's R1 reasoning model distilled into Qwen 32B (MIT) through one paid HTTP call: send a prompt and an optional system prompt, get the answer, up to 2,048 output tokens; its reasoning is removed from the answer. Also reachable as model \"deepseek-r1\" on the OpenAI-compatible /v1/chat/completions. No account or provider key. Use when an agent wants this model by name.","url":"https://agent-data-tools.revmesh2074.workers.dev/ai/model/deepseek-r1?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"User prompt, up to 8,000 characters"},"system":{"type":"string","description":"Optional system prompt, up to 2,000 characters"},"maxTokens":{"type":"integer","description":"Maximum output tokens, 1-2048 (default 1500)"},"temperature":{"type":"number","description":"0-1.5 (default 0.6)"}}},"responseSchema":{"type":"object","properties":{"model":{"type":"string"},"response":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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_7ptNztZJyk_E7L0LJOd57","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Sends a prompt to DeepSeek R1 (distilled into Qwen 32B) and returns the model's answer, with reasoning traces stripped, via a single paid HTTP call.","exampleAgentPrompt":"Ask DeepSeek R1 to work through this logic puzzle step by step and give me the final answer: 'A farmer has 17 sheep, all but 9 die — how many are left?' Use a temperature of 0.6 and keep the response under 500 tokens.","exampleUseCases":[{"title":"Multi-step math problem solving","prompt":"Use DeepSeek R1 to solve this math problem for me: if a train leaves Chicago at 60 mph and another leaves New York at 80 mph and they're 900 miles apart, when do they meet? Show me just the final answer, not the internal reasoning steps."},{"title":"Code debugging with reasoning model","prompt":"Run this Python snippet through DeepSeek R1 and ask it to identify the bug and suggest a fix: 'def factorial(n): return n * factorial(n) if n > 0 else 1' — keep the output concise, under 300 tokens."},{"title":"Structured decision analysis","prompt":"I need DeepSeek R1 to evaluate two SaaS pricing strategies for a startup and recommend the better one with a brief justification — here's the context: [strategy A: freemium with $29/mo upgrade; strategy B: $9/mo flat]. Set the system prompt to 'You are a startup advisor.' and allow up to 800 tokens."}],"resultDescription":"A JSON object containing the model name (e.g. 'deepseek-r1') and a 'response' string with the model's final answer text. Internal chain-of-thought reasoning is stripped and not included in the response.","failureModes":["Prompt exceeds 8,000 characters — request rejected","maxTokens out of range (must be 1–2048) — validation error","Temperature outside 0–1.5 — parameter error","Insufficient prepaid credits or payment failure — 402 response with no charge","Model inference timeout for very complex prompts — no charge on failure","Empty or missing prompt field — required parameter error"],"whenToPreferThis":"Choose this endpoint when an agent or user explicitly wants the DeepSeek R1 model by name, needs a strong reasoning-capable LLM without setting up a provider account or API key, and wants predictable $0.01 per-call pricing. Prefer it over generic LLM endpoints when the task benefits from chain-of-thought reasoning (math, logic, planning) and the caller needs OpenAI-compatible fallback via /v1/chat/completions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:21:44.551Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-deepseek-r1-reasoning-model-4334a8ca"}