Open-source reasoning model

Self-hosted DeepSeek-R1 7B on AWS

Run DeepSeek-R1 7B, a distilled model built on Qwen-7B, behind an OpenAI-compatible API on a GPU instance in your own AWS account.

  • OpenAI-compatible API
  • Strong in Chinese and multilingual
  • Pay per hour
Self-hosted open-source LLMs on AWS by Meetrix

What is DeepSeek-R1 7B?

DeepSeek-R1 7B is a distilled version of DeepSeek R1 built on the Qwen-7B architecture. It is efficient to run, strong at Chinese-language tasks and capable across other languages.

What's in the Meetrix DeepSeek-R1 AMI

The AMI ships the model and an OpenAI-compatible API server on Ubuntu 22.04.

How to set up a self-hosted DeepSeek-R1 API

  1. Check your quota

    Make sure your account has vCPU quota for g4dn instances in your region.

  2. Launch the stack

    Subscribe on AWS Marketplace, accept the terms and launch the CloudFormation stack.

  3. Point your domain at it

    Create a DNS record for your domain with the server's public IP.

  4. Call the API

    Open /docs on your domain or IP, then point your OpenAI client at your server.

Deploy on AWS

DeepSeek-R1 7B API

The server follows the OpenAI API, so clients only need a new base URL.

FeatureSupported
Chat and text completionsYes
Model listingYes
EmbeddingsNo
Interactive docs at /docsYes

DeepSeek-R1 7B FAQ

What is DeepSeek-R1 7B?

A distilled DeepSeek R1 model built on the Qwen-7B architecture, optimised for Chinese with strong multilingual ability.

Is it OpenAI API compatible?

Yes. Browse the API at /docs on your domain or public IP and use OpenAI SDKs against your server. Embeddings are not supported.

Which instances can I use?

g4dn instances, from g4dn.xlarge up to g4dn.metal.

How is it billed?

Per hour of software use, which varies by instance type, plus the EC2 instance. A 365-day contract is also available.

How do I SSH into the server?

Use your key pair with the ubuntu username.

What if SSL does not set up automatically?

That happens when the domain is not on Route 53. Run the certificate script on the server manually.

Self-hosted LLM guides

Need a hand with DeepSeek?

We build and run self-hosted AI infrastructure every day, from model selection to GPU sizing. Tell us what you need.

Contact us