> ## Documentation Index
> Fetch the complete documentation index at: https://veniceai-feat-models-redesign.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepSeek V4.1 Flash API

> DeepSeek V4.1 Flash API on Venice: 1M context, $0.38 input and $1.50 output per 1M tokens. Private, with zero data retention. Pricing, specs and code examples.

export const HubMount = ({view, children, ...props}) => {
  const [hub, setHub] = useState(null);
  const [failed, setFailed] = useState(false);
  useEffect(() => {
    let alive = true;
    const w = window;
    if (!w.__veniceModelHub) {
      const urls = w.location.hostname === 'localhost' ? ['http://localhost:3333/data/model-hub.bundle.json', '/data/model-hub.bundle.json'] : ['/data/model-hub.bundle.json'];
      const load = i => fetch(urls[i], {
        cache: 'no-cache'
      }).then(res => {
        if (!res.ok) throw new Error(`bundle ${res.status}`);
        return res.json();
      }).catch(err => i + 1 < urls.length ? load(i + 1) : Promise.reject(err));
      const Frag = <></>.type;
      const h = (type, props, ...kids) => {
        const T = type;
        const {key, ...rest} = props || ({});
        if (!kids.length) return <T key={key} {...rest} />;
        if (kids.length === 1) return <T key={key} {...rest}>{kids[0]}</T>;
        return <T key={key} {...rest}>{kids.map((kid, i) => <Frag key={i}>{kid}</Frag>)}</T>;
      };
      w.__veniceModelHub = load(0).then(bundle => new Function(`return (${bundle.code})`)()({
        h,
        Fragment: Frag,
        useState,
        useEffect,
        useRef,
        useMemo,
        useCallback
      }));
    }
    w.__veniceModelHub.then(instance => {
      if (alive) setHub(instance);
    }).catch(() => {
      w.__veniceModelHub = null;
      if (alive) setFailed(true);
    });
    return () => {
      alive = false;
    };
  }, []);
  const View = hub ? hub[view] : null;
  if (View) return <View {...props}>{children}</View>;
  if (failed) {
    return <div className="vx-mount is-failed">
        <p className="vx-mount-note">The interactive model catalog could not load. The full data is below.</p>
        {children}
      </div>;
  }
  return <div className="vx-mount" aria-busy="true">
      <div className="vx-mount-skeleton" aria-hidden="true"><span /><span /><span /></div>
      <div className="vx-mount-source">{children}</div>
    </div>;
};

<HubMount view="ModelPage" data={{"family":{"slug":"deepseek-v4-1-flash","name":"DeepSeek V4.1 Flash","modality":"text","task":"chat","provider":"deepseek","description":"DeepSeek V4.1 Flash is a multimodal Mixture-of-Experts model with 552B backbone parameters (8B active on input, 16B on output) and a 1M-token context window. It natively processes images and text, with strong reasoning, coding, and agentic performance.","primary":"deepseek-v4-1-flash","variants":["deepseek-v4-1-flash"],"created":1788998400,"updated":1788998400,"privacy":["private"],"openWeights":true,"sets":["venice_recommendations"]},"models":[{"id":"deepseek-v4-1-flash","name":"DeepSeek V4.1 Flash","type":"text","modality":"text","task":"chat","variant":"standard","provider":"deepseek","created":1788998400,"description":"DeepSeek V4.1 Flash is a multimodal Mixture-of-Experts model with 552B backbone parameters (8B active on input, 16B on output) and a 1M-token context window. It natively processes images and text, with strong reasoning, coding, and agentic performance.","source":"https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash","privacy":"private","sets":["venice_recommendations"],"openWeights":true,"text":{"context":1000000,"maxOutput":131072,"quantization":"fp8","reasoning":{"supported":true,"effort":["none","low","high","max"],"defaultEffort":"high"},"caps":{"tools":true,"structured":true,"vision":true,"maxImages":10,"webSearch":true,"code":true}},"pricing":{"input":0.375,"output":1.5,"cacheRead":0.0075,"blended":0.65625},"headline":{"value":0.65625,"unit":"per 1M tokens","basis":"blended"},"endpoints":[{"id":"chat","method":"POST","path":"/chat/completions","name":"Chat Completions","status":"stable","recommended":true},{"id":"responses","method":"POST","path":"/responses","name":"Responses","status":"alpha"}],"family":"deepseek-v4-1-flash"}],"related":{"similar":[{"slug":"gpt-5-6-luna","name":"GPT-5.6 Luna","provider":"openai","modality":"text","privacy":["anonymized"],"created":1783555200,"headline":{"value":0.5625,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"gpt-5-6-luna-pro","name":"GPT-5.6 Luna Pro","provider":"openai","modality":"text","privacy":["anonymized"],"created":1783555200,"headline":{"value":0.5625,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"minimax-m2-7","name":"MiniMax M2.7","provider":"minimax","modality":"text","privacy":["private"],"created":1773792000,"headline":{"value":0.65625,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"mimo-v2-5","name":"MiMo-V2.5","provider":"xiaomi","modality":"text","privacy":["private"],"created":1781136000,"headline":{"value":0.8,"unit":"per 1M tokens","basis":"blended"},"variants":1}],"versions":[{"slug":"deepseek-v4-flash-0731","name":"DeepSeek V4 Flash 0731","provider":"deepseek","modality":"text","privacy":["private"],"created":1785456000,"headline":{"value":0.21875,"unit":"per 1M tokens","basis":"blended"},"variants":2},{"slug":"deepseek-v4-flash-0423","name":"DeepSeek V4 Flash 0423","provider":"deepseek","modality":"text","privacy":["private","e2ee"],"created":1776988800,"headline":{"value":0.17225,"unit":"per 1M tokens","basis":"blended"},"variants":2}]},"providers":{"deepseek":{"slug":"deepseek","name":"DeepSeek","logo":"/images/icons/models/deepseek.svg"},"openai":{"slug":"openai","name":"OpenAI","logo":"/images/icons/models/openai.svg"},"minimax":{"slug":"minimax","name":"MiniMax","logo":"/images/icons/models/minimax.svg"},"xiaomi":{"slug":"xiaomi","name":"Xiaomi","logo":"/images/icons/models/text.svg"}},"faq":[{"q":"How much does the DeepSeek V4.1 Flash API cost?","a":"$0.38 per 1M input tokens and $1.50 per 1M output tokens, with cached input at $0.0075 per 1M. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the DeepSeek V4.1 Flash model ID?","a":"Use `deepseek-v4-1-flash` as the `model` parameter."},{"q":"Is the DeepSeek V4.1 Flash API private?","a":"DeepSeek V4.1 Flash is private: requests run on infrastructure Venice controls with zero data retention, and prompts and outputs are never stored or used for training."},{"q":"What is the context window of DeepSeek V4.1 Flash?","a":"1M tokens of context, with up to 128K output tokens per response."},{"q":"What does DeepSeek V4.1 Flash support?","a":"DeepSeek V4.1 Flash supports function calling, structured outputs, reasoning, image input, web search and prompt caching. Reasoning effort is adjustable with `reasoning_effort`: none, low, high and max (default high)."},{"q":"Which endpoint does the DeepSeek V4.1 Flash API use?","a":"Call `POST /chat/completions`. `/responses` (Alpha) is also supported."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # DeepSeek V4.1 Flash API

    DeepSeek V4.1 Flash is a large language model by DeepSeek, available on the Venice API as `deepseek-v4-1-flash`. It runs privately, with zero data retention.

    DeepSeek V4.1 Flash is a multimodal Mixture-of-Experts model with 552B backbone parameters (8B active on input, 16B on output) and a 1M-token context window. It natively processes images and text, with strong reasoning, coding, and agentic performance.

    ## DeepSeek V4.1 Flash API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `deepseek-v4-1-flash` | Standard | Private | $0.38 input / $1.50 output per 1M tokens |

    ## DeepSeek V4.1 Flash specifications

    | Spec | Value |
    | - | - |
    | Provider | DeepSeek |
    | Released | Sep 10, 2026 |
    | Privacy | Private |
    | Open weights | Yes |
    | Context window | 1M tokens |
    | Max output | 128K tokens |
    | Reasoning effort | none, low, high, max |
    | Served precision | FP8 |

    ## How to use the DeepSeek V4.1 Flash API

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

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

    ## DeepSeek V4.1 Flash API FAQ

    ### How much does the DeepSeek V4.1 Flash API cost?

    $0.38 per 1M input tokens and $1.50 per 1M output tokens, with cached input at \$0.0075 per 1M. Prices are in USD and can be paid in DIEM at parity.

    ### What is the DeepSeek V4.1 Flash model ID?

    Use `deepseek-v4-1-flash` as the `model` parameter.

    ### Is the DeepSeek V4.1 Flash API private?

    DeepSeek V4.1 Flash is private: requests run on infrastructure Venice controls with zero data retention, and prompts and outputs are never stored or used for training.

    ### What is the context window of DeepSeek V4.1 Flash?

    1M tokens of context, with up to 128K output tokens per response.

    ### What does DeepSeek V4.1 Flash support?

    DeepSeek V4.1 Flash supports function calling, structured outputs, reasoning, image input, web search and prompt caching. Reasoning effort is adjustable with `reasoning_effort`: none, low, high and max (default high).

    ### Which endpoint does the DeepSeek V4.1 Flash API use?

    Call `POST /chat/completions`. `/responses` (Alpha) is also supported.

    ## Related models

    * [DeepSeek V4 Flash 0731 API](/models/deepseek-v4-flash-0731): $0.17 input / $0.35 output per 1M tokens
    * [DeepSeek V4 Flash 0423 API](/models/deepseek-v4-flash-0423): $0.14 input / $0.28 output per 1M tokens
    * [GPT-5.6 Luna API](/models/gpt-5-6-luna): $0.25 input / $1.50 output per 1M tokens
    * [GPT-5.6 Luna Pro API](/models/gpt-5-6-luna-pro): $0.25 input / $1.50 output per 1M tokens
    * [MiniMax M2.7 API](/models/minimax-m2-7): $0.38 input / $1.50 output per 1M tokens
    * [MiMo-V2.5 API](/models/mimo-v2-5): $0.40 input / $2.00 output per 1M tokens
  </Accordion>
</div>


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