LiteLLMModels

DeepSeek R1 8B API Pricing

As of October 10, 2026, DeepSeek R1 8B costs $0.10 per 1M input tokens and $0.20 per 1M output tokens on LlamaGate. It has a 65,536-token context window and returns up to 16,384 tokens per response.

By DeepSeekModel ID llamagate/deepseek-r1-8bPrices updated Checked
Input
$0.10 / 1M tokens
Output
$0.20 / 1M tokens
Context window
65,536 tokens
Max output
16,384 tokens
Providers
1
Added to LiteLLM
January 2026

DeepSeek R1 8B pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
LlamaGatellamagate/deepseek-r1-8b$0.10$0.2064K

What DeepSeek R1 8B costs in practice

1,000 requests with 2,000 input and 500 output tokens each

LlamaGate$0.30

DeepSeek R1 8B features

Use DeepSeek R1 8B with LiteLLM

Call DeepSeek R1 8B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="llamagate/deepseek-r1-8b",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: deepseek-r1-8b
    litellm_params:
      model: llamagate/deepseek-r1-8b
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "deepseek-r1-8b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

DeepSeek R1 8B FAQ

How much does DeepSeek R1 8B cost?

DeepSeek R1 8B costs $0.10 per 1M input tokens and $0.20 per 1M output tokens on LlamaGate.

What is the context window of DeepSeek R1 8B?

DeepSeek R1 8B has a 65,536-token context window and returns up to 16,384 tokens per response.

Which providers offer DeepSeek R1 8B?

DeepSeek R1 8B is available from LlamaGate through LiteLLM, using the model name llamagate/deepseek-r1-8b.

How do I call DeepSeek R1 8B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="llamagate/deepseek-r1-8b", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does DeepSeek R1 8B support?

DeepSeek R1 8B supports function calling, structured output and reasoning.

When did LiteLLM add DeepSeek R1 8B?

DeepSeek R1 8B was added to LiteLLM's model price file in January 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request.

LiteLLM docs: LlamaGate.

Provider pages: LlamaGate.