> Source: https://meetrix.io/store/deepseek-coder/
> Markdown copy of that page. Cite the URL above, not this file.

[Store](https://meetrix.io/store/)  DeepSeek Coder

Open-source AI coding model

# Self-hosted DeepSeek-Coder-33B on AWS

Run DeepSeek-Coder-33B Instruct, a code model trained on 2 trillion tokens, behind an OpenAI-compatible API in your own AWS account. Keep your source code off third-party AI services.

 [Launch on AWS](https://aws.amazon.com/marketplace/pp/prodview-43s2hupyun3im)

-   33B parameters
-   16K context window
-   OpenAI-compatible API

![DeepSeek Coder deployed on AWS by Meetrix](https://meetrix.io/assets/store/deepseek-coder/deepseek-coder.webp)

## What is DeepSeek Coder?

DeepSeek Coder is a series of code language models trained from scratch on 2 trillion tokens, 87% code and 13% natural language in English and Chinese, across 80 programming languages. The 33B Instruct model is fine-tuned on 2 billion instruction tokens.

-   ### Code completion

    Project-level completion with a 16K token window.

-   ### Fill in the middle

    Infill missing code between existing lines.

-   ### 80 languages

    Trained across a wide range of programming languages.

-   ### Strong benchmarks

    Leading results on HumanEval, MultiPL-E, MBPP, DS-1000 and APPS.

-   ### OpenAI-compatible API

    Completions, embeddings and model listing endpoints.

-   ### Private by default

    Your code stays in your own AWS account.

## What's in the Meetrix DeepSeek Coder AMI

The AMI ships DeepSeek-Coder-33B Instruct and an OpenAI-compatible API server on Ubuntu 22.04.

-   DeepSeek-Coder-33B Instruct with an OpenAI-compatible API
-   API documentation at /docs on your server
-   Automatic SSL when your domain is hosted on Route 53
-   A certificate script for issuing SSL manually otherwise
-   A CloudFormation template for your own AWS account
-   Email support from Meetrix at support@meetrix.io

## How to set up a self-hosted DeepSeek Coder API

1.  ### Check your quota

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

2.  ### Launch the stack

    Subscribe on AWS Marketplace and launch the CloudFormation stack with your domain and admin email.

3.  ### Point your domain at it

    After 5-10 minutes, create a DNS record with the PublicIp from the stack outputs.

4.  ### Call the API

    Open /docs on your server, then use the completions endpoint from your tools.

## Deploy on AWS

### DeepSeek Coder on AWS

An AMI on AWS Marketplace, launched on a g5g GPU instance in your own AWS account with a CloudFormation stack.

Deploys with

CloudFormation

Recommended size

g5g.16xlarge or g5g.metal

OS

Ubuntu 22.04

#### Setup guides

-   [**Developer guide** Launch, SSL, API endpoints, testing](https://meetrix.io/blogs/deepseek-coder-developer-guide/)
-   [**Deploy DeepSeek Coder on AWS** Features and comparison](https://meetrix.io/blogs/how-to-install-deespseek-coder/)
-   [**Video walkthrough** Watch the deployment on YouTube](https://www.youtube.com/watch?v=DVkYBGEt4mM)

 [Launch on AWS](https://aws.amazon.com/marketplace/pp/prodview-43s2hupyun3im)

## DeepSeek Coder API endpoints

| Endpoint | Purpose |
| --- | --- |
| /v1/completions | Code completions from a prompt |
| /v1/embeddings | Embeddings for input text |
| /v1/models | List available models |
| /v1/chat/completions | Available, but avoid: the model is not optimised for chat |

Use /v1/completions for coding work. [Read the DeepSeek Coder developer guide →](https://meetrix.io/blogs/deepseek-coder-developer-guide/)

## Video: deploy DeepSeek Coder on AWS

## DeepSeek Coder FAQ

What is DeepSeek Coder?

A series of code language models trained on 87% code and 13% natural language, from 1.3B to 33B parameters. This AMI runs the 33B Instruct model.

Does it support chat completions?

The model is not optimised for chat, so avoid /v1/chat/completions and use /v1/completions and /v1/embeddings instead.

Which instance should I use?

The AWS listing recommends g5g.16xlarge or g5g.metal.

How long is the context window?

16,000 tokens, which allows project-level completion and infilling.

How do I test the API?

Open /docs on your server, or use the Node.js test script from the developer guide.

What if SSL does not set up automatically?

SSH in and run sudo /root/certificate\_generate\_standalone.sh with your admin email.

How do I upgrade?

Back up your server data, remove the old stack and launch the new version from AWS Marketplace.

## DeepSeek guides and articles

### [How to Deploy DeepSeek Coder in AWS](https://meetrix.io/blogs/how-to-install-deespseek-coder/)

The open-source self-hosted AI coding model, deployed with Meetrix.

### [Best Open Source LLMs to Self-Host in 2026](https://meetrix.io/blogs/best-open-source-llms-self-hosted-2026/)

Where DeepSeek fits among open models.

### [DeepSeek Coder: Developer Guide](https://meetrix.io/blogs/deepseek-coder-developer-guide/)

Launch the stack, set up SSL and test the API.

## Need a hand with DeepSeek Coder?

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

[Contact us](https://meetrix.io/contact-us/)
