Baltor Get started

Models

DeepSeek V4.1 Flash

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

Facts

Released
2026-09-10 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
763.2 billion counted from the safetensors weight files Hugging Face, read
Active parameters
228.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
  • 393,216 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
DekaLLM through OpenRouter0.040 USD1.00 USD1,048,576OpenRouter endpoints, read
DekaLLM through OpenRouter0.040 USD1.00 USD1,048,576OpenRouter endpoints, read
Morph through OpenRouter0.098 USD0.390 USD1,048,576OpenRouter endpoints, read
Morph through OpenRouter0.098 USD0.390 USD1,048,576OpenRouter endpoints, read
OpenInference through OpenRouter0.100 USD0.500 USD1,048,576OpenRouter endpoints, read
OpenInference through OpenRouter0.100 USD0.500 USD1,048,576OpenRouter endpoints, read
Relace through OpenRouter0.100 USD0.500 USD1,048,576OpenRouter endpoints, read
Relace through OpenRouter0.100 USD0.500 USD1,048,576OpenRouter endpoints, read
Sail Research through OpenRouter0.130 USD0.750 USD1,048,576OpenRouter endpoints, read
Sail Research through OpenRouter0.130 USD0.750 USD1,048,576OpenRouter endpoints, read
DeepInfra through OpenRouter0.140 USD0.420 USD1,048,576OpenRouter endpoints, read
DeepInfra through OpenRouter0.140 USD0.420 USD1,048,576OpenRouter endpoints, read
Alibaba through OpenRouter0.150 USD0.600 USD1,000,000OpenRouter endpoints, read
Alibaba through OpenRouter0.150 USD0.600 USD1,000,000OpenRouter endpoints, read
DeepSeek through OpenRouter0.150 USD0.600 USD1,048,576OpenRouter endpoints, read
DeepSeek through OpenRouter0.150 USD0.600 USD1,048,576OpenRouter endpoints, read
StreamLake through OpenRouter0.165 USD0.660 USD1,024,000OpenRouter endpoints, read
StreamLake through OpenRouter0.165 USD0.660 USD1,024,000OpenRouter endpoints, read
Deep Infra direct0.200 USD0.600 USD1,048,576models.dev, read
Wafer through OpenRouter0.200 USD0.600 USD1,048,576OpenRouter endpoints, read
Wafer through OpenRouter0.200 USD0.600 USD1,048,576OpenRouter endpoints, read
CoreWeave direct0.200 USD0.650 USD1,048,576models.dev, read
CoreWeave through OpenRouter0.200 USD0.650 USD1,048,576OpenRouter endpoints, read
CoreWeave through OpenRouter0.200 USD0.650 USD1,048,576OpenRouter endpoints, read
Fireworks through OpenRouter0.220 USD0.660 USD1,048,576OpenRouter endpoints, read
Fireworks through OpenRouter0.220 USD0.660 USD1,048,576OpenRouter endpoints, read
GMICloud through OpenRouter0.225 USD0.900 USD1,048,575OpenRouter endpoints, read
GMICloud through OpenRouter0.225 USD0.900 USD1,048,575OpenRouter endpoints, read
Krea through OpenRouter0.225 USD0.900 USD1,048,576OpenRouter endpoints, read
Krea through OpenRouter0.225 USD0.900 USD1,048,576OpenRouter endpoints, read
Phala through OpenRouter0.276 USD1.10 USD1,048,576OpenRouter endpoints, read
Phala through OpenRouter0.276 USD1.10 USD1,048,576OpenRouter endpoints, read
Novita through OpenRouter0.285 USD1.14 USD1,048,576OpenRouter endpoints, read
Novita through OpenRouter0.285 USD1.14 USD1,048,576OpenRouter endpoints, read
AtlasCloud through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
AtlasCloud through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
BaseTen through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
BaseTen through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
BaseTen through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
BaseTen through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Baseten direct0.300 USD1.20 USD1,048,576models.dev, read
DigitalOcean through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
DigitalOcean through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Hugging Face direct0.300 USD1.20 USD1,048,576models.dev, read
Makora through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Makora through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Modal through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Modal through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Nebius Token Factory direct0.300 USD1.20 USD1,048,000models.dev, read
NextBit through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
NextBit through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Parasail through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Parasail through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
SiliconFlow through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
SiliconFlow through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Together through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Together through OpenRouter0.300 USD1.20 USD1,048,576OpenRouter endpoints, read
Together AI direct0.300 USD1.20 USD1,048,576models.dev, read
Venice through OpenRouter0.375 USD1.50 USD1,000,000OpenRouter endpoints, read
Venice through OpenRouter0.375 USD1.50 USD1,000,000OpenRouter 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
F16 estimate1,422 GiB1,494 GiB1,496 GiB
Q8_0 estimate755 GiB794 GiB796 GiB
Q4_0 estimate400 GiB421 GiB423 GiB

Start it with a local runtime

  • vLLM
    vllm serve deepseek-ai/DeepSeek-V4.1-Flash
  • SGLang
    sglang serve --model-path deepseek-ai/DeepSeek-V4.1-Flash --port 30000

Use it from your harness

Set up for Baseten with the model deepseek-ai/DeepSeek-V4.1-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": {
    "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.1-Flash": {
          "name": "DeepSeek V4.1 Flash",
          "limit": {
            "context": 1048576,
            "output": 393216
          }
        }
      }
    }
  }
}
  • 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.1-Flash"
        }
      ]
    }
  }
}
  • 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

Published results

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