Baltor Get started

Models

DeepSeek V4 Flash Vision Exp

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

Facts

Released
2026-08-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.6 billion counted from the safetensors weight files Hugging Face, read
Active parameters
34.1 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
  • 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, image in, text out Hugging Face, read
Good for
  • Vision: Hugging Face files it under image-text-to-text Hugging Face, read
  • Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
DeepInfra through OpenRouter0.216 USD0.647 USD1,048,576OpenRouter endpoints, read
Fireworks through OpenRouter0.220 USD0.660 USD1,048,576OpenRouter endpoints, read
Deep Infra direct0.440 USD1.32 USD1,048,576models.dev, read
GMICloud through OpenRouter0.440 USD1.32 USD1,048,575OpenRouter endpoints, read
Hugging Face direct0.440 USD1.32 USD1,048,576models.dev, read
Novita through OpenRouter0.440 USD1.32 USD1,048,576OpenRouter endpoints, read
SiliconFlow direct0.440 USD1.32 USD1,000,000models.dev, read
SiliconFlow through OpenRouter0.440 USD1.32 USD1,048,576OpenRouter 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.

QuantizationWeightsMemory at 8,192 tokensMemory at 32,768 tokens
Q3_K126 GiB133 GiB136 GiB
Q4_K141 GiB149 GiB151 GiB

Start it with a local runtime

  • Ollama
    ollama run hf.co/huihui-ai/Huihui-DeepSeek-V4-Flash-Vision-Exp-abliterated-GGUF:Q3_K
  • LM Studio
    lms get huihui-ai/Huihui-DeepSeek-V4-Flash-Vision-Exp-abliterated-GGUF
    lms server start
  • llama.cpp server
    llama-server -hf huihui-ai/Huihui-DeepSeek-V4-Flash-Vision-Exp-abliterated-GGUF:Q3_K --jinja
  • vLLM
    vllm serve deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
  • SGLang
    sglang serve --model-path deepseek-ai/DeepSeek-V4-Flash-Vision-Exp --port 30000

Use it from your harness

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

From Pi documentation, read .

Codex

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

Put this in ~/.claude/settings.json, or variables in your shell:

export ANTHROPIC_BASE_URL="https://api.deepinfra.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="$DEEPINFRA_TOKEN"
export ANTHROPIC_MODEL="deepseek-ai/DeepSeek-V4-Flash-Vision-Exp"
claude
  • 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

  • Hugging Face, model deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
  • SiliconFlow, model deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
  • OpenRouter, model deepseek/deepseek-v4-flash-vision-exp

Published results

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