DeepSeek R1 Distill (Qwen-32B) — Cloudflare Workers AI

DeepSeek R1 Distill (Qwen-32B) free on Cloudflare Workers AI — 10,000 Neurons/day, no credit card. Note: distilled 32B, not full R1.

Updated 7/2/2026Provider trust 99/1002 code examples

About the Model

DeepSeek R1 is a reasoning model built for math, code, and multi-step problem solving. It is slower than small chat models, but it is the better choice when the answer needs planning or careful verification.

Why choose it?

  • Reasoning-first output: useful for proofs, debugging, and structured problem solving.
  • Multiple free routes: available through GitHub Models and Vercel AI Gateway, with a smaller distilled version on Cloudflare Workers AI.
  • OpenAI-compatible options: easy to swap into existing chat completions clients.

Free access options

  • GitHub Models: free, rate-limited access to DeepSeek R1 with a GitHub token.
  • Vercel AI Gateway: monthly gateway credits for deepseek/deepseek-r1.
  • Cloudflare Workers AI: free daily Neurons for a distilled R1 model, not the full model.

Pick DeepSeek R1 for hard prompts where a small model gives shallow answers. Use GPT-4o mini when speed matters more.

How to Access for Free (via Cloudflare Workers AI)

Cloudflare hosts a distilled DeepSeek R1 model, not the full R1. The advantage is deployment: you can call it from Workers AI close to your Cloudflare app and use the daily free Neurons quota.

Choose this endpoint when Cloudflare deployment and low integration friction matter more than matching the full DeepSeek R1 model.

Try it in your browser

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Code Examples

curl
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b \
  -H "Authorization: Bearer $CF_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"messages":[{"role":"user","content":"Explain the Monty Hall problem."}]}'
python
import os, requests

acct = os.environ["CF_ACCOUNT_ID"]
url = f"https://api.cloudflare.com/client/v4/accounts/{acct}/ai/run/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b"
r = requests.post(
    url,
    headers={"Authorization": f"Bearer {os.environ['CF_API_TOKEN']}"},
    json={"messages": [{"role": "user", "content": "Explain the Monty Hall problem."}]},
)
print(r.json()["result"]["response"])
DeepSeek R1 Distill (Qwen-32B) — Cloudflare Workers AI - Free API, Quota & Code | Free AI API