DeepSeek V4 Flash 0731
By DeepSeek. 304.2 billion parameters, a context window of 1,310,720 tokens and the licence mit.
Facts
- Released
- 2026-07-31 the day the repository was first published on Hugging Face Hugging Face, read
- Licence
- mit the licence the model card declares Hugging Face, read
- Open weights
- Yes the weights are published in this Hugging Face repository Hugging Face, read
- Parameters
- 304.2 billion counted from the safetensors weight files Hugging Face, read
- Active parameters
- 33.6 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
- Knowledge cutoff
- Unknown
- Context window
- 1,048,576 tokens the maximum position embeddings in the model configuration model configuration, read
- 1,310,720 tokens the context length OpenRouter lists OpenRouter, read
- Longest output
- 943,718 tokens the largest output OpenRouter's first provider allows OpenRouter, read
- Tool calling
- Yes OpenRouter lists tools among the supported parameters OpenRouter, read
- Structured output
- Yes OpenRouter lists structured outputs among the supported parameters OpenRouter, read
- Reasoning controls
- Yes OpenRouter lists reasoning controls, with the efforts max, high, low OpenRouter, read
- Inputs and outputs
- text in, text out Hugging Face, read
- Good for
- Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read
Prices
| Provider | Input | Output | Context | As of | Source |
|---|---|---|---|---|---|
| Nvidia direct | 0 USD | 0 USD | 1,000,000 | older than 30 days; check the provider | models.dev, read |
| Relace through OpenRouter | 0.030 USD | 0.320 USD | 1,048,576 | OpenRouter endpoints, read | |
| Sail Research through OpenRouter | 0.038 USD | 0.550 USD | 1,048,576 | OpenRouter endpoints, read | |
| StreamLake through OpenRouter | 0.053 USD | 0.158 USD | 1,024,000 | OpenRouter endpoints, read | |
| Deep Infra direct | 0.060 USD | 0.180 USD | 1,048,576 | older than 30 days; check the provider | models.dev, read |
| DeepInfra through OpenRouter | 0.060 USD | 0.180 USD | 1,048,576 | OpenRouter endpoints, read | |
| Wafer through OpenRouter | 0.080 USD | 0.350 USD | 1,048,576 | OpenRouter endpoints, read | |
| Inceptron through OpenRouter | 0.083 USD | 0.414 USD | 1,048,576 | OpenRouter endpoints, read | |
| Reka through OpenRouter | 0.088 USD | 0.528 USD | 262,144 | OpenRouter endpoints, read | |
| Makora through OpenRouter | 0.090 USD | 0.195 USD | 1,000,000 | OpenRouter endpoints, read | |
| DigitalOcean through OpenRouter | 0.119 USD | 0.238 USD | 1,048,576 | OpenRouter endpoints, read | |
| BaseTen through OpenRouter | 0.130 USD | 0.260 USD | 1,048,576 | OpenRouter endpoints, read | |
| BaseTen through OpenRouter | 0.130 USD | 0.260 USD | 1,048,576 | OpenRouter endpoints, read | |
| Baseten direct | 0.130 USD | 0.260 USD | 1,048,576 | older than 30 days; check the provider | models.dev, read |
| RunInfra direct | 0.130 USD | 0.270 USD | 1,048,576 | older than 30 days; check the provider | models.dev, read |
| CoreWeave direct | 0.130 USD | 0.280 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| CoreWeave through OpenRouter | 0.130 USD | 0.280 USD | 262,144 | OpenRouter endpoints, read | |
| Inceptron direct | 0.130 USD | 0.280 USD | 1,048,576 | older than 30 days; check the provider | models.dev, read |
| OpenReason direct | 0.137 USD | 0.274 USD | 1,000,000 | older than 30 days; check the provider | models.dev, read |
| Cohere through OpenRouter | 0.140 USD | 0.280 USD | 1,048,576 | OpenRouter endpoints, read | |
| Hugging Face direct | 0.140 USD | 0.280 USD | 1,048,576 | older than 30 days; check the provider | models.dev, read |
| Nebius through OpenRouter | 0.140 USD | 0.280 USD | 1,024,000 | OpenRouter endpoints, read | |
| Nebius Token Factory direct | 0.140 USD | 0.280 USD | 1,024,000 | older than 30 days; check the provider | models.dev, read |
| Parasail through OpenRouter | 0.140 USD | 0.280 USD | 1,048,576 | OpenRouter endpoints, read | |
| Together through OpenRouter | 0.140 USD | 0.280 USD | 1,048,576 | OpenRouter endpoints, read | |
| Together AI direct | 0.140 USD | 0.280 USD | 1,048,576 | older than 30 days; check the provider | models.dev, read |
| OpenInference through OpenRouter | 0.140 USD | 0.700 USD | 1,048,576 | OpenRouter endpoints, read | |
| Morph through OpenRouter | 0.142 USD | 0.400 USD | 1,048,576 | OpenRouter endpoints, read | |
| Venice through OpenRouter | 0.175 USD | 0.350 USD | 1,000,000 | OpenRouter endpoints, read | |
| Alibaba through OpenRouter | 0.176 USD | 0.528 USD | 1,000,000 | OpenRouter endpoints, read | |
| Mancer 2 through OpenRouter | 0.200 USD | 0.600 USD | 1,048,576 | OpenRouter endpoints, read | |
| Fireworks through OpenRouter | 0.220 USD | 0.660 USD | 1,048,576 | OpenRouter endpoints, read | |
| SiliconFlow direct | 0.220 USD | 0.660 USD | 1,000,000 | older than 30 days; check the provider | models.dev, read |
| SiliconFlow through OpenRouter | 0.220 USD | 0.660 USD | 1,048,576 | OpenRouter endpoints, read | |
| GMICloud through OpenRouter | 0.286 USD | 0.858 USD | 1,048,575 | OpenRouter endpoints, read | |
| Phala through OpenRouter | 0.308 USD | 0.924 USD | 1,048,576 | OpenRouter endpoints, read | |
| NextBit through OpenRouter | 0.352 USD | 1.06 USD | 1,048,576 | OpenRouter endpoints, read | |
| Novita through OpenRouter | 0.409 USD | 1.23 USD | 1,048,576 | OpenRouter endpoints, read | |
| AtlasCloud through OpenRouter | 0.440 USD | 1.32 USD | 1,048,576 | OpenRouter endpoints, read | |
| Baidu through OpenRouter | 0.440 USD | 1.32 USD | 1,048,576 | OpenRouter endpoints, read | |
| Cloudflare through OpenRouter | 0.440 USD | 1.32 USD | 1,310,720 | OpenRouter endpoints, read |
Run it on your own hardware
Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.
| Quantization | Weights | Memory at 8,192 tokens | Memory at 32,768 tokens |
|---|---|---|---|
| Q2_K | 90.9 GiB | 96.6 GiB | 98.6 GiB |
| MXFP4 | 145 GiB | 154 GiB | 156 GiB |
| Q4_K | 153 GiB | 162 GiB | 164 GiB |
Start it with a local runtime
- Ollama
ollama run hf.co/huihui-ai/Huihui-DeepSeek-V4-Flash-0731-abliterated-GGUF:Q2_K - LM Studio
lms get huihui-ai/Huihui-DeepSeek-V4-Flash-0731-abliterated-GGUF lms server start - llama.cpp server
llama-server -hf huihui-ai/Huihui-DeepSeek-V4-Flash-0731-abliterated-GGUF:Q2_K --jinja - vLLM
vllm serve deepseek-ai/DeepSeek-V4-Flash-0731 - SGLang
sglang serve --model-path deepseek-ai/DeepSeek-V4-Flash-0731 --port 30000
Use it from your harness
Set up for Baseten with the model deepseek-ai/DeepSeek-V4-Flash-0731. Each endpoint page has the same setup for its own address.
OpenCode
Put this in opencode.json in your project folder:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"baseten": {
"npm": "@ai-sdk/openai-compatible",
"name": "Baseten",
"options": {
"baseURL": "https://inference.baseten.co/v1",
"apiKey": "{env:BASETEN_API_KEY}"
},
"models": {
"deepseek-ai/DeepSeek-V4-Flash-0731": {
"name": "DeepSeek V4 Flash 0731",
"limit": {
"context": 1310720,
"output": 943718
}
}
}
}
}
}- OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.
From OpenCode documentation, read .
Pi
Put this in ~/.pi/agent/models.json:
{
"providers": {
"baseten": {
"baseUrl": "https://inference.baseten.co/v1",
"api": "openai-completions",
"apiKey": "$BASETEN_API_KEY",
"models": [
{
"id": "deepseek-ai/DeepSeek-V4-Flash-0731"
}
]
}
}
}- The apiKey field can name an environment variable as $NAME.
From Pi documentation, read .
Codex
Codex speaks only the Responses API, and Baseten documents no Responses address. A gateway that offers one can sit in between.
- Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.
From Codex documentation, read .
Claude Code
Claude Code sends Anthropic Messages requests, and Baseten documents no such address. A gateway that translates to that API can sit in between.
- Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.
From Claude Code documentation, read .
Other ways to reach it
- DeepInfra, model
deepseek-ai/DeepSeek-V4-Flash-0731 - Hugging Face, model
deepseek-ai/DeepSeek-V4-Flash-0731 - Inceptron, model
deepseek-ai/DeepSeek-V4-Flash-0731 - Nebius Token Factory, model
deepseek-ai/DeepSeek-V4-Flash-0731 - Nvidia, model
deepseek-ai/deepseek-v4-flash-0731 - OpenReason, model
deepseek-ai/deepseek-v4-flash-0731 - RunInfra, model
deepseek-ai/DeepSeek-V4-Flash-0731 - SiliconFlow, model
deepseek-ai/DeepSeek-V4-Flash-0731 - Together AI, model
deepseek-ai/DeepSeek-V4-Flash-0731 - CoreWeave, model
deepseek-ai/DeepSeek-V4-Flash-0731 - OpenRouter, model
deepseek/deepseek-v4-flash-0731
Published results
These are results other people published. Baltor did not run them and does not rank models by them.
- Results the maker published on the model card published by deepseek-ai Hugging Face, read
- Artificial Analysis Intelligence Index: 34.3 published by Artificial Analysis OpenRouter, read
- Artificial Analysis Coding Index: 69.1 published by Artificial Analysis OpenRouter, read
- Artificial Analysis Agentic Index: 41 published by Artificial Analysis OpenRouter, read
Sources of this page
- huggingface.co/api/models/deepseek-ai/DeepSeek-V4-Flash-0731, read
- huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731/raw/main/config.json, read
- huggingface.co/api/models/huihui-ai/Huihui-DeepSeek-V4-Flash-0731-abliterated-GGUF/tree/main, read
- openrouter.ai/api/v1/models/deepseek/deepseek-v4-flash-20260731/endpoints, read
- openrouter.ai/api/v1/models, read
- models.dev/api.json, read
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.