Deploying DeepSeek-R1 on AWS: Our Journey Through Performance, Cost, and Reality
The team wanted to evaluate whether self-hosted open-source LLMs could replace paid AI coding assistants, motivated by goals of control, privacy, and long-term cost savings, but faced uncertainty about operational viability at startup scale.
The 16B model crashed under load even after aggressive quantization and batch-size reductions; performance degraded below usable token speeds with longer context windows; and tuning parameters introduced unpredictable latency and crashes.
Self-hosting was found not cost-effective for startups at small-to-medium scale: a single AWS instance cost around $414/month while comparable SaaS offerings were drastically cheaper, with hidden operational overhead further widening the gap.
Show all 5 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Self-hosting was found not cost-effective for startups at small-to-medium scale: a single AWS instance cost around $414/month while comparable SaaS offerings were drastically cheaper, with hidden operational overhead…
What tools did this team use?
DeepSeek-R1, AWS EC2, Docker, NVIDIA Container Toolkit, Ollama, OpenWeb UI.
What results were reported?
AWS g5g.2xlarge instance cost (24/7): around $414/month; ChatGPT Plus SaaS cost per user: $20/user/month; Minimum acceptable token generation speed: 30–35 tokens/sec; Internal users supported: fewer than 100 internal users (source-reported, not independently verified).
What failed first in this deployment?
The 16B model crashed under load even after aggressive quantization and batch-size reductions; performance degraded below usable token speeds with longer context windows; and tuning parameters introduced unpredictable…
How is this back office ops AI workflow structured?
Decide to evaluate self-hosted LLMs → Provision AWS EC2 GPU instances → Deploy via Docker and Ollama stack → Benchmark four model sizes → Validate cost versus SaaS alternatives → Output evaluation conclusions.