# DeepSeek V3.1

DeepSeek's V3.1 is a hybrid model that switches between thinking and non-thinking responses, aimed at tool calling and agent tasks. It was post-trained from the V3.1 base and is released under the MIT License.

- **Model id:** `opencheap/deepseek-chat-v3.1`
- **Price per 1M tokens:** $0.26 input / $1.00 output
- **Cached input:** $0.14 per 1M tokens
- **Context:** 163K tokens, 147K max output

## Providers

3 providers. Prices are per 1M tokens. As of 2026-12-04 11:57 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| DeepInfra · fp4 | $0.26 | $0.14 | $1.00 | 0.44 s | 46 tok/s | 99.5 % | 163K | 147K |
| SiliconFlow · fp8 | $0.28 | $0.28* | $1.05 | 1.34 s | 18 tok/s | 99.7 % | 163K | 147K |
| CoreWeave · fp8 | $0.53 | $0.21 | $1.57 | 0.25 s | 91 tok/s | 100 % | 161K | 144K |

\* No cache discount from this provider: cached tokens cost the input price.

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **DeepInfra:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **SiliconFlow:** `temperature`, `top_p`, `top_k`, `frequency_penalty`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (stop not confirmed)
- **CoreWeave:** `temperature`, `top_p`, `top_k`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/deepseek-chat-v3.1#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/deepseek-chat-v3.1`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/deepseek-chat-v3.1", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/deepseek-chat-v3.1",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/deepseek-chat-v3.1",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About DeepSeek V3.1

DeepSeek V3.1 costs from $0.26 per 1M input tokens and $1.00 per 1M output tokens on OpenCheap, with cached input at $0.14 per 1M tokens. Its list price is $0.25 per 1M input tokens and $0.95 per 1M output tokens; on a typical 1 : 3 input-to-output mix it costs 5 % more here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0036, and 1,000 such requests about $3.62. Prices as of 2026-12-04 11:48 UTC.

3 providers serve DeepSeek V3.1 on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 163K tokens (163,840), room for roughly 120,000 words of English in one request.

DeepSeek V3.1 is one of [58 DeepSeek models](https://opencheap.si/models/lab/deepseek) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the DeepSeek V3.1 API cost per 1M tokens?

DeepSeek V3.1 costs from $0.26 per 1M input tokens and $1.00 per 1M output tokens on OpenCheap, with cached input at $0.14 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one DeepSeek V3.1 request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0036, and 1,000 such requests about $3.62. Every answer reports its own cost in usage.cost.

### Is DeepSeek V3.1 cheaper on OpenCheap than its list price?

Its list price is $0.25 per 1M input tokens and $0.95 per 1M output tokens; on a typical 1 : 3 input-to-output mix it costs 5 % more here.

### Which providers serve DeepSeek V3.1?

3 providers serve DeepSeek V3.1 on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of DeepSeek V3.1?

Its context window is 163K tokens (163,840), room for roughly 120,000 words of English in one request.

### How do I call the DeepSeek V3.1 API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/deepseek-chat-v3.1. One OpenCheap key works for every model; the rest of your code stays the same.

## More from DeepSeek

- [deepseek-v4-flash](https://opencheap.si/models/deepseek-v4-flash) (`deepseek-v4-flash`): $0.073 / $0.15 per 1M · 1M context
- [DeepSeek V4 Pro](https://opencheap.si/models/deepseek-v4-pro) (`deepseek-v4-pro`): $0.40 / $0.79 per 1M · 1M context
- [DeepSeek V4.1 Flash](https://opencheap.si/models/deepseek-v4.1-flash) (`deepseek-v4.1-flash`): $0.0073 / $0.029 per 1M · 1M context
- [DeepSeek V3.2](https://opencheap.si/models/deepseek-v3.2) (`deepseek-v3.2`): $0.22 / $0.34 per 1M · 163K context
- [deepseek-r1](https://opencheap.si/models/deepseek-r1) (`deepseek-r1`): $0.74 / $2.52 per 1M · 163K context
- [DeepSeek V3-0324](https://opencheap.si/models/deepseek-chat) (`deepseek-chat`): $0.32 / $0.89 per 1M · 163K context
- [DeepSeek V3 0324](https://opencheap.si/models/deepseek-chat-v3-0324) (`deepseek-chat-v3-0324`): $0.26 / $1.05 per 1M · 163K context
- [DeepSeek Latest](https://opencheap.si/models/deepseek-latest) (`deepseek-latest`): $0.66 / $2.50 per 1M · 1M context

[All 58 DeepSeek models](https://opencheap.si/models/lab/deepseek)

## Similar models

- [Kimi K3.1 Pro](https://opencheap.si/models/kimi-k3.1-pro): Moonshot · 1M context · $0.21 / $1.07 per 1M · [Compare with DeepSeek V3.1](https://opencheap.si/compare/deepseek-chat-v3.1-vs-kimi-k3.1-pro)
- [Kimi K2.6](https://opencheap.si/models/kimi-k2.6): Moonshot · 262K context · $0.32 / $1.57 per 1M · [Compare with DeepSeek V3.1](https://opencheap.si/compare/deepseek-chat-v3.1-vs-kimi-k2.6)
- [GLM 5 Turbo](https://opencheap.si/models/glm-5-turbo): Zhipu · 204K context · $0.36 / $1.20 per 1M · [Compare with DeepSeek V3.1](https://opencheap.si/compare/deepseek-chat-v3.1-vs-glm-5-turbo)
- [GLM 5.1](https://opencheap.si/models/glm-5.1): Zhipu · 204K context · $0.16 / $0.49 per 1M, 50 % cheaper · [Compare with DeepSeek V3.1](https://opencheap.si/compare/deepseek-chat-v3.1-vs-glm-5.1)
- [Pokee-Isaac 28B](https://opencheap.si/models/pokee-isaac): Pokee AI · 250K context · $0.15 / $1.00 per 1M · [Compare with DeepSeek V3.1](https://opencheap.si/compare/deepseek-chat-v3.1-vs-pokee-isaac)
- [Doubao Seed 1.6](https://opencheap.si/models/doubao-seed-1.6): ByteDance · 256K context · $0.11 / $1.10 per 1M · [Compare with DeepSeek V3.1](https://opencheap.si/compare/deepseek-chat-v3.1-vs-doubao-seed-1.6)

[Compare DeepSeek V3.1 with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/deepseek-chat-v3.1 · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
