modelname = "deepseek-ai/deepseek-moe-16b-base" tokenizer = AutoTokenizer.frompretrained(modelname) model = AutoModelForCausalLM.frompretrained(modelname, torchdtype=torch.bfloat16, devicemap="auto") model.generationconfig = GenerationConfig.frompretrained(modelname) model.generationconfig.padtokenid = model.generationconfig.eostokenid
Specifications
| Parameters | 16B |
|---|---|
| Context window | 4,096 tokens |
| Minimum VRAM | 38 GB |
| Architecture | DeepseekForCausalLM (vLLM) |
| License | other |
| Modality | text->text |
| Released | January 2024 |
| Publisher | deepseek-ai (Hugging Face) |
Pricing
| Input (per 1M tokens) | € 0.15 |
|---|---|
| Output (per 1M tokens) | € 0.25 |
Shared EU router, pay-per-token, scale-to-zero. Dedicated GPU deployments are billed hourly — see pricing.
Call it now
Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.
curl https://hostyourai.com/api/v1/chat/completions \
-H "Authorization: Bearer hyai-..." \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-ai/deepseek-moe-16b-base",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Frequently asked questions
Can I run deepseek moe 16b base in the EU?
Yes. HostYourAI runs deepseek moe 16b base on GPUs in European datacenters via vLLM. Prompts and outputs never leave the EU and there is no US cloud provider in the chain.
Is hosting deepseek moe 16b base GDPR-compliant?
Yes. All processing happens inside the EU, a Data Processing Agreement (DPA) is available and the subprocessor list is public. Open-source weights also mean: no training on your data.
How much does deepseek moe 16b base cost?
Via the shared EU router you pay €0.15 per million input tokens and €0.25 per million output tokens, with no fixed costs. For high volume or isolation you can also run deepseek moe 16b base as a dedicated hourly GPU instance.
Is the API OpenAI-compatible?
Yes. You use the standard OpenAI SDKs with a custom base URL (https://hostyourai.com/api/v1). The Anthropic Messages API is supported as a drop-in as well.
Creating an account takes a minute. Test deepseek moe 16b base straight away in the playground.
Start for free