# DeepSeek V4.1 Flash 1017 (TEE)

DeepSeek V4.1 Flash 1017 (TEE) is a language model based on a DeepSeek model.

- **Model id:** `opencheap/deepseek-v4.1-flash-1017:tee`
- **Price per 1M tokens:** $0.32 input / $1.26 output
- **Cached input:** $0.0063 per 1M tokens
- **Context:** 1M tokens, 943K max output

## Providers

1 provider. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Near AI · quantization unknown | $0.32 | $0.0063 | $1.26 | 3.09 s | 62 tok/s | 94.4 % | 1M | 943K |

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)

- **Near AI:** `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature, stop not confirmed)

## 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-v4.1-flash-1017:tee#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/deepseek-v4.1-flash-1017:tee`; 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-v4.1-flash-1017:tee", "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-v4.1-flash-1017:tee",
    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-v4.1-flash-1017:tee",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About DeepSeek V4.1 Flash 1017 (TEE)

DeepSeek V4.1 Flash 1017 (TEE) costs from $0.32 per 1M input tokens and $1.26 per 1M output tokens on OpenCheap, with cached input at $0.0063 per 1M tokens. Its list price is $0.30 per 1M input tokens and $1.20 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.0044, and 1,000 such requests about $4.41. Prices as of 2026-12-04 12:06 UTC.

One provider serves DeepSeek V4.1 Flash 1017 (TEE) on OpenCheap today. 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 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.

DeepSeek V4.1 Flash 1017 (TEE) 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 V4.1 Flash 1017 (TEE) API cost per 1M tokens?

DeepSeek V4.1 Flash 1017 (TEE) costs from $0.32 per 1M input tokens and $1.26 per 1M output tokens on OpenCheap, with cached input at $0.0063 per 1M tokens. Prices as of 2026-12-04 12:06 UTC.

### What does one DeepSeek V4.1 Flash 1017 (TEE) request cost?

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

### Is DeepSeek V4.1 Flash 1017 (TEE) cheaper on OpenCheap than its list price?

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

### Which providers serve DeepSeek V4.1 Flash 1017 (TEE)?

One provider serves DeepSeek V4.1 Flash 1017 (TEE) on OpenCheap today. 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 V4.1 Flash 1017 (TEE)?

Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.

### How do I call the DeepSeek V4.1 Flash 1017 (TEE) API?

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

## More from DeepSeek

- [DeepSeek V4.1 Flash 1017](https://opencheap.si/models/deepseek-v4.1-flash-1017) (`deepseek-v4.1-flash-1017`): $0.015 / $0.055 per 1M · 1M context
- [deepseek-v4.1-flash-1017:eu](https://opencheap.si/models/deepseek-v4.1-flash-1017:eu) (`deepseek-v4.1-flash-1017:eu`): $0.51 / $1.54 per 1M · 1M context
- [DeepSeek V4.1 Flash 1017 Thinking](https://opencheap.si/models/deepseek-v4.1-flash-1017:thinking) (`deepseek-v4.1-flash-1017:thinking`): $0.062 / $0.23 per 1M · 1M context
- [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.02 / $0.079 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

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

## Similar models

- [MiniMax M3](https://opencheap.si/models/minimax-m3): MiniMax · 1M context · $0.24 / $1.01 per 1M, 20 % cheaper · [Compare with DeepSeek V4.1 Flash 1017 (TEE)](https://opencheap.si/compare/deepseek-v4.1-flash-1017%3Atee-vs-minimax-m3)
- [GLM 5.3 Flashx](https://opencheap.si/models/glm-5.3-flashx): Zhipu · 1M context · $0.35 / $1.18 per 1M, 5 % cheaper · [Compare with DeepSeek V4.1 Flash 1017 (TEE)](https://opencheap.si/compare/deepseek-v4.1-flash-1017%3Atee-vs-glm-5.3-flashx)
- [Gemini 3.7 Flash](https://opencheap.si/models/gemini-3.7-flash): Google · 1M context · $0.33 / $1.34 per 1M · [Compare with DeepSeek V4.1 Flash 1017 (TEE)](https://opencheap.si/compare/deepseek-v4.1-flash-1017%3Atee-vs-gemini-3.7-flash)
- [GLM 5.3 FlashX Legal](https://opencheap.si/models/glm-5.3-flashx-legal): Zhipu · 1M context · $0.35 / $1.18 per 1M, 5 % cheaper · [Compare with DeepSeek V4.1 Flash 1017 (TEE)](https://opencheap.si/compare/deepseek-v4.1-flash-1017%3Atee-vs-glm-5.3-flashx-legal)
- [reflection/Beam-1.0-501B-A23B](https://opencheap.si/models/beam-1.0-501b-a23b): Reflection AI · 1M context · $0.25 / $1.00 per 1M, 21 % cheaper · [Compare with DeepSeek V4.1 Flash 1017 (TEE)](https://opencheap.si/compare/deepseek-v4.1-flash-1017%3Atee-vs-beam-1.0-501b-a23b)
- [GPT 4.1 Mini](https://opencheap.si/models/gpt-4.1-mini): OpenAI · 1M context · $0.40 / $1.60 per 1M · [Compare with DeepSeek V4.1 Flash 1017 (TEE)](https://opencheap.si/compare/deepseek-v4.1-flash-1017%3Atee-vs-gpt-4.1-mini)

[Compare DeepSeek V4.1 Flash 1017 (TEE) with any model](https://opencheap.si/compare)

---

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