Baltor Get started

Models

DeepSeek V4 Flash 0423

By DeepSeek. 290.9 billion parameters, a context window of 1,048,576 tokens and the licence mit.

Facts

Released
2026-04-22 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
290.9 billion counted from the safetensors weight files Hugging Face, read
Active parameters
20.4 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,048,576 tokens the context length OpenRouter lists OpenRouter, read
Longest output
  • 384,000 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 xhigh, high OpenRouter, read
Inputs and outputs
text in, text out Hugging Face, read
Good for
  • Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
StreamLake through OpenRouter0.078 USD0.156 USD1,024,000OpenRouter endpoints, read
Baidu through OpenRouter0.079 USD0.158 USD1,048,576OpenRouter endpoints, read
Deep Infra direct0.090 USD0.180 USD1,048,576 older than 30 days; check the providermodels.dev, read
DeepInfra through OpenRouter0.090 USD0.180 USD1,048,576OpenRouter endpoints, read
GMICloud through OpenRouter0.091 USD0.182 USD1,048,575OpenRouter endpoints, read
Venice through OpenRouter0.097 USD0.193 USD1,000,000OpenRouter endpoints, read
DigitalOcean through OpenRouter0.098 USD0.196 USD1,048,576OpenRouter endpoints, read
Pioneer direct0.100 USD0.200 USD1,000,000 older than 30 days; check the providermodels.dev, read
GMI Cloud direct0.112 USD0.224 USD1,048,575 older than 30 days; check the providermodels.dev, read
SiliconFlow direct0.130 USD0.280 USD1,000,000 older than 30 days; check the providermodels.dev, read
SiliconFlow through OpenRouter0.130 USD0.280 USD1,048,576OpenRouter endpoints, read
Alibaba through OpenRouter0.134 USD0.268 USD1,000,000OpenRouter endpoints, read
Abacus direct0.140 USD0.280 USD1,000,000 older than 30 days; check the providermodels.dev, read
AtlasCloud through OpenRouter0.140 USD0.280 USD1,048,576OpenRouter endpoints, read
CoreWeave direct0.140 USD0.280 USD1,048,576 older than 30 days; check the providermodels.dev, read
Hugging Face direct0.140 USD0.280 USD1,048,576 older than 30 days; check the providermodels.dev, read
Novita through OpenRouter0.140 USD0.280 USD1,048,576OpenRouter endpoints, read
Nvidia direct0.140 USD0.280 USD1,048,576 older than 30 days; check the providermodels.dev, read
Parasail through OpenRouter0.140 USD0.280 USD1,048,576OpenRouter endpoints, read
SiliconFlow (China) direct0.140 USD0.280 USD1,000,000 older than 30 days; check the providermodels.dev, read
OpenInference through OpenRouter0.140 USD0.700 USD1,048,576OpenRouter endpoints, read
ai& direct0.150 USD0.250 USD1,048,576 older than 30 days; check the providermodels.dev, read
NextBit through OpenRouter0.150 USD0.300 USD1,048,576OpenRouter endpoints, read
Mancer 2 through OpenRouter0.190 USD0.500 USD1,048,576OpenRouter endpoints, read
Azure through OpenRouter0.210 USD0.560 USD1,048,576OpenRouter endpoints, read
Vultr direct0.300 USD1.00 USD1,000,000 older than 30 days; check the providermodels.dev, 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.

QuantizationWeightsMemory at 8,192 tokensMemory at 32,768 tokens
MXFP4145 GiB154 GiB156 GiB

Start it with a local runtime

  • Ollama
    ollama run hf.co/antirez/deepseek-v4-gguf:MXFP4
  • LM Studio
    lms get antirez/deepseek-v4-gguf
    lms server start
  • llama.cpp server
    llama-server -hf antirez/deepseek-v4-gguf:MXFP4 --jinja
  • vLLM
    vllm serve deepseek-ai/DeepSeek-V4-Flash
  • SGLang
    sglang serve --model-path deepseek-ai/DeepSeek-V4-Flash --port 30000

Use it from your harness

Set up for Abacus with the model deepseek-ai/DeepSeek-V4-Flash. 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": {
    "abacus": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Abacus",
      "options": {
        "baseURL": "https://routellm.abacus.ai/v1",
        "apiKey": "{env:ABACUS_API_KEY}"
      },
      "models": {
        "deepseek-ai/DeepSeek-V4-Flash": {
          "name": "DeepSeek V4 Flash 0423",
          "limit": {
            "context": 1048576,
            "output": 384000
          }
        }
      }
    }
  }
}
  • 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": {
    "abacus": {
      "baseUrl": "https://routellm.abacus.ai/v1",
      "api": "openai-completions",
      "apiKey": "$ABACUS_API_KEY",
      "models": [
        {
          "id": "deepseek-ai/DeepSeek-V4-Flash"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Abacus 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 Abacus 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

  • ai&, model deepseek-ai/deepseek-v4-flash
  • DeepInfra, model deepseek-ai/DeepSeek-V4-Flash
  • GMI Cloud, model deepseek-ai/DeepSeek-V4-Flash
  • Hugging Face, model deepseek-ai/DeepSeek-V4-Flash
  • Nvidia, model deepseek-ai/deepseek-v4-flash
  • Pioneer, model deepseek-ai/DeepSeek-V4-Flash
  • SiliconFlow, model deepseek-ai/DeepSeek-V4-Flash
  • SiliconFlow (China), model deepseek-ai/DeepSeek-V4-Flash
  • Vultr, model deepseek-ai/DeepSeek-V4-Flash
  • CoreWeave, model deepseek-ai/DeepSeek-V4-Flash
  • OpenRouter, model deepseek/deepseek-v4-flash

Published results

These are results other people published. Baltor did not run them and does not rank models by them.