# deepseek-v4-flash

DeepSeek V4 Flash is the legacy name for V4.1 Flash. Official DeepSeek serves these requests with DeepSeek-V4.1-Flash-1017 at Flash pricing. Image understanding is native. It uses the CED architecture, has a 1,048,576-token context window, and is suited for coding, agents, and long-context analysis.

DeepSeek V4 Flash 是 V4.1 Flash 的旧名。官方已把该名称接到 DeepSeek-V4.1-Flash-1017，按 Flash 价格计费。原生支持图像理解，CED 架构，上下文 100 万 token，面向编程、智能体和长上下文分析。

- Provider: DeepSeek
- Billing Mode: Time-of-day pricing
- Label: 学术, 金融, 医疗, 法律, 营销, 搜索优化, 编程, 角色扮演, 科学, 技术, 翻译, 百科
- Model ID: `deepseek-v4-flash`
- Web: https://en.llmoxy.com/models/deepseek-v4-flash

## Pricing

Prices are in Chinese yuan (CNY, ￥); pay-as-you-go prices are per 1M tokens.

Token Group: Deepseek

| Tier | In | Out | Cache read |
| --- | --- | --- | --- |
| Weekdays 09:00–12:00, 14:00–18:00 (Beijing time) | ￥0.12 | ￥0.48 | ￥0.0024 |
| Other hours | ￥0.06 | ￥0.24 | ￥0.0012 |

That is 94% below the official API price.

## Quick start

Set the LLMOXY_KEY environment variable to your API key before running.

### cURL

```bash
curl https://llmoxy.com/v1/chat/completions \
  -H "Authorization: Bearer $LLMOXY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
```

### Python

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmoxy.com/v1",
    api_key=os.environ["LLMOXY_KEY"],
)

resp = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
```

### Node.js

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://llmoxy.com/v1",
  apiKey: process.env.LLMOXY_KEY,
});

const resp = await client.chat.completions.create({
  model: "deepseek-v4-flash",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(resp.choices[0].message.content);
```

## Endpoints

- Chat Completions: `POST https://llmoxy.com/v1/chat/completions`

## FAQ

### How much does deepseek-v4-flash cost on LLMoxy?

Time-of-day pricing. Price in the “Deepseek” token group: From In ￥0.06 / 1M. That is 94% below the official API price.

### How do I call deepseek-v4-flash?

Create an API key in the LLMoxy console, set model to deepseek-v4-flash, and send the request to: Chat Completions POST https://llmoxy.com/v1/chat/completions. You can also use the OpenAI SDK directly with the base URL set to https://llmoxy.com/v1.

### Which token groups can I use with deepseek-v4-flash?

The token group sets the price you pay: you pick a group when you create an API key in the console, and every call made with that key is billed at that group’s price. Groups available for deepseek-v4-flash: Deepseek.

### Do I need an international credit card?

No. Top up your balance in the console first; each call is then deducted from the balance based on actual usage. Payment methods: Alipay, WeChat Pay, Visa / MasterCard, Apple Pay, and crypto such as USDT, BTC, SOL, and TRX. Multi-currency support.

## More from DeepSeek

- [deepseek-v4-flash-0731](https://en.llmoxy.com/models/deepseek-v4-flash-0731.md): From In ￥0.06 / 1M
- [deepseek-v4-pro](https://en.llmoxy.com/models/deepseek-v4-pro.md): From In ￥0.264 / 1M
- [deepseek-v4-pro-0813](https://en.llmoxy.com/models/deepseek-v4-pro-0813.md): From In ￥0.264 / 1M
- [deepseek-v4.1-flash](https://en.llmoxy.com/models/deepseek-v4.1-flash.md): From In ￥0.06 / 1M

## Links

- [All model prices](https://en.llmoxy.com/pricing.md)
- [Documentation](https://en.llmoxy.com/docs/api-reference/api-overview.md)
- [llms.txt](https://en.llmoxy.com/llms.txt)

This is the markdown version of https://en.llmoxy.com/models/deepseek-v4-flash.
