# 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.

- Page: https://models.litellm.ai/models/deepseek-r1-8b
- Lab: DeepSeek
- LiteLLM model name: `llamagate/deepseek-r1-8b`
- Context window: 65,536 tokens
- Max output: 16,384 tokens
- Added to LiteLLM: January 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| LlamaGate | `llamagate/deepseek-r1-8b` | $0.10 | $0.20 | – | – | – | 64K |

## Cost examples

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

- LlamaGate: $0.30

## Features

Supported: Function calling, Structured output, Reasoning.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="llamagate/deepseek-r1-8b",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
