> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# DeepSeek V4 Flash 0731 API

> DeepSeek V4 Flash 0731 API on Venice: 1M context, $0.13 input and $0.26 output per 1M tokens. Private, with zero data retention.



## DeepSeek V4 Flash 0731 API

DeepSeek V4 Flash 0731 is a large language model by DeepSeek, available on the Venice API as `deepseek-v4-flash-0731`. This model is private and no prompt data is stored in any capacity.

DeepSeek V4 Flash 0731 follows the 0423 release of DeepSeek V4 Flash, an efficiency-optimized 284B-parameter Mixture-of-Experts model with 13B active parameters and a 1M-token context window. Tuned for fast inference and high-throughput workloads while maintaining strong reasoning and coding performance.

### DeepSeek V4 Flash 0731 API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `deepseek-v4-flash-0731` | Standard | Private | $0.13 / $0.26 per 1M |
| `deepseek-v4-flash-0731-fast` | Fast | Private | $0.35 / $0.70 per 1M |

### DeepSeek V4 Flash 0731 specifications

| Spec | Value |
| - | - |
| Provider | DeepSeek |
| Released | Jul 31, 2026 |
| Privacy | Private |
| Status | Stable |
| Open weights | [deepseek-ai/DeepSeek-V4-Flash-0731](https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731) |
| Context window | 1M tokens |
| Max output | 256K tokens |
| Reasoning effort | none, low, high, max |
| [GPQA Diamond](https://docs.venice.ai/models/methodology.md#benchmarks) | 86.4% ±4.8 (95% interval), run by Venice through the API at its default reasoning on Nov 19, 2026 |

### How to use the DeepSeek V4 Flash 0731 API

Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "deepseek-v4-flash-0731"` and your API key.

```bash theme={"system"}
curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash-0731",
    "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
    "reasoning_effort": "high"
  }'
```

### Related models

* [DeepSeek V4.1 Flash API](https://docs.venice.ai/models/deepseek-v4-1-flash.md): $0.30 / $1.20 per 1M
* [DeepSeek V4 Flash 0423 API](https://docs.venice.ai/models/deepseek-v4-flash-0423.md): $0.138 / $0.275 per 1M
* [Google Gemma 4 31B Instruct API](https://docs.venice.ai/models/google-gemma-4-31b-instruct.md): $0.12 / $0.36 per 1M
* [GPT-6 Luna API](https://docs.venice.ai/models/gpt-6-luna.md): $0.10 / $0.50 per 1M
* [Claude Haiku 5.5 API](https://docs.venice.ai/models/claude-haiku-5-5.md): $0.10 / $0.50 per 1M
* [GLM 4.7 Flash Heretic API](https://docs.venice.ai/models/glm-4-7-flash-heretic.md): $0.07 / $0.40 per 1M


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.