---
title: "DeepSeek V4.1 Flash API: unlimited plan or per token"
description: "Call DeepSeek V4.1 Flash through an OpenAI-compatible API with a 1M-token context. Inference content is not retained. Pay per token or buy an unlimited flat plan."
url: https://broadrouter.com/models/deepseek-v4.1-flash/
lang: en
updated: 2026-11-16
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# DeepSeek V4.1 Flash API

Updated 2026-11-16

DeepSeek V4.1 Flash runs on BroadNet Inference as `broadnet/deepseek-v4.1-flash` through the OpenAI-compatible `https://inference.broadnet.ai/v1`. It costs $0.175 input, $0.0055 cached input and $0.52 output per 1M tokens, or from $60 a month per session on a flat plan (one request at a time), with a 1,048,576-token context. It needs a qualifying top-up (not the starting credit), and inference content is not retained.

## At a glance

-   Text
-   Vision (image input)
-   Reasoning

-   1,048,576-token context on every request
-   Text and image input
-   Reasons before answering; reasoning counts toward max\_tokens
-   Unlimited tokens on the Full Moon, Orbit and Meteor session plans, one request at a time per session

| Price and limits |  |
| --- | --- |
| Model ID | `broadnet/deepseek-v4.1-flash` |
| Endpoint | `/v1/chat/completions` |
| Supported inputs | text, image (vision: understanding, not generation) |
| Context | 1,048,576 tokens, prompt and answer together |
| Input | $0.175 per 1M tokens |
| Cached input | $0.0055 per 1M tokens (reported cache hits only) |
| Output | $0.52 per 1M tokens |
| Pay-as-you-go limits | 30 requests a minute, 4 in flight per key |
| Access | Top-up required: opens after a qualifying top-up; the starting credit does not cover it |
| Session plans | From $60 a month per session, one request at a time per session ([plans](https://broadrouter.com/plans/)) |

Prices on this page are from BroadNet's price feed snapshot dated 2026-11-14, not checked live here. See [official pricing](https://inference.broadnet.ai/pricing?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=feed-status) for current rates.

[Open the comparison](https://broadrouter.com/models/#compare)

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20DeepSeek%20V4.1%20Flash%20on%20BroadNet%20Inference&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fmodels%2Fdeepseek-v4.1-flash%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What does BroadNet publish about DeepSeek V4.1 Flash?

From [BroadNet's Terms of Service](https://www.broadnet.ai/terms), checked 15 November 2026.

| What BroadNet publishes about this model |  |
| --- | --- |
| Hosting | Partner-hosted: BroadNet's Terms of Service (§7.3) say "DeepSeek V4.1 Flash remains open-weight when partner-hosted" |
| Data handling | Partner-served models run under zero-data-retention terms with BroadNet's US inference partners (privacy statement) |
| Extra rules | Use of the hosted service also follows the partner restrictions in BroadNet's Acceptable Use Policy |

How BroadNet chooses and serves models: [its GPU hardware and serving approach](https://broadrouter.com/blog/broadnet-gpu-fleet-and-serving/) and [the models it evaluated and ruled out](https://broadrouter.com/blog/models-broadnet-ruled-out/).

## Published benchmark results

BroadNet did not run these benchmarks; results are as published by the DeepSeek model card and Epoch AI and may use different settings. BroadRouter is BroadNet's site. They refer to the published model [`deepseek-ai/DeepSeek-V4.1-Flash`](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash); not measured on BroadNet's serving.

Published benchmark results for DeepSeek V4.1 Flash, with sources
| Benchmark | Result | Setting or note | Source |
| --- | --- | --- | --- |
| GPQA Diamond (Pass@1) | 90.9 | Instruct model, maximum reasoning effort (reasoning\_effort=100) | [DeepSeek model card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), checked 2026-11-16 |
| HLE (Pass@1) | 36.8 (39.1†) | Instruct model, maximum reasoning effort (reasoning\_effort=100); the figure in brackets is the text-only subset | [DeepSeek model card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), checked 2026-11-16 |
| Terminal-Bench 2.1 (Pass@1) | 90.6 | Instruct model, maximum reasoning effort (reasoning\_effort=100); DeepSeek Harness, Minimal mode | [DeepSeek model card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), checked 2026-11-16 |
| DeepSWE v1.1 (Resolved) | 74.2 | Instruct model, maximum reasoning effort (reasoning\_effort=100); mini-SWE harness | [DeepSeek model card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), checked 2026-11-16 |
| Codeforces (Rating) | 3471 | Instruct model, maximum reasoning effort (reasoning\_effort=100) | [DeepSeek model card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), checked 2026-11-16 |
| GPQA Diamond | 0.898 | Max reasoning setting; Epoch run deepseek-v4.1-flash\_max, mean score on a 0 to 1 scale | [Epoch AI](https://epoch.ai/benchmarks/use-this-data), checked 2026-11-16 |
| SimpleQA Verified | 0.429 | Max reasoning setting; Epoch run deepseek-v4.1-flash\_max, mean score on a 0 to 1 scale | [Epoch AI](https://epoch.ai/benchmarks/use-this-data), checked 2026-11-16 |
| OTIS Mock AIME 2024-2025 | 0.983 | Max reasoning setting; Epoch run deepseek-v4.1-flash\_max, mean score on a 0 to 1 scale | [Epoch AI](https://epoch.ai/benchmarks/use-this-data), checked 2026-11-16 |

Epoch AI rows: [Epoch AI, Capabilities & benchmarking](https://epoch.ai/benchmarks/use-this-data), licensed [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), shown as the mean score on a 0 to 1 scale, rounded to three decimals (hover a value for the exact figure in Epoch's data file).

Side by side: [DeepSeek V4.1 Flash vs GLM 5.3](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-glm-5.3/), [DeepSeek V4.1 Flash vs Qwen3.8 27B](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-qwen3.8-27b/) and [DeepSeek V4.1 Flash vs BroadNet Gemma 4 VL 26B](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-gemma-4-vl-26b/), with prices, context and workload costs. DeepSeek V4.1 Flash is also sold by 16 other providers, from $0.14 input and $0.42 output per 1M tokens on their own pricing pages: [DeepSeek V4.1 Flash API pricing by provider](https://broadrouter.com/llm-api-pricing/deepseek-v4.1-flash/). The same text is a different number of tokens on each model: see how DeepSeek V4.1 Flash's tokenizer compares on Arabic, English and code in the [tokenizer efficiency dataset](https://broadrouter.com/data/tokenizer-efficiency/).

## Call it in Python

Install the OpenAI SDK with `pip install openai`, export `BROADNET_API_KEY`, then run:

Python

```python
from openai import OpenAI
import base64, os

client = OpenAI(base_url="https://inference.broadnet.ai/v1", api_key=os.environ["BROADNET_API_KEY"])
image = base64.b64encode(open("invoice.jpg", "rb").read()).decode()

response = client.chat.completions.create(
    model="broadnet/deepseek-v4.1-flash",
    max_tokens=2000,
    messages=[{"role": "user", "content": [
        {"type": "text", "text": "What is the total on this invoice?"},
        {"type": "image_url", "image_url": {"url": "data:image/jpeg;base64," + image}},
    ]}],
)
print(response.choices[0].message.content)
```

## Or with curl

curl

```bash
curl https://inference.broadnet.ai/v1/chat/completions \
  -H "Authorization: Bearer $BROADNET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"broadnet/deepseek-v4.1-flash","messages":[{"role":"user","content":"Reply with one short sentence."}]}'
```

DeepSeek V4.1 Flash reasons before it answers. The reasoning counts toward `max_tokens` and is reported as `usage.completion_tokens_details.reasoning_tokens`, inside the completion (output) token count, so budget for it as output. Leave 1,000 tokens or more, or set `reasoning_effort` to `low`, or the answer can come back empty. [Why answers come back empty](https://broadrouter.com/guides/reasoning-tokens-empty-response/).

## Run it on a session plan

The plans differ only in how long they last. Each session runs one request at a time; add a session for each agent working in parallel. Work out sessions and the charge with the [session planner](https://broadrouter.com/plans/#planner).

### Full Moon

Billed per month

**$60** a month per session

1× One request at a time per session

**Founders offer:** 25% off for the first 3 months, $45 a month per session, then the standard $60. BroadNet's feed says: “Enter a founders code at checkout.” No code is published here.

[Start Full Moon on inference.broadnet.ai](https://inference.broadnet.ai/plans?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=plan-full-moon#plan-full-moon)

### Orbit

Billed per week

**$15** a week per session

1× One request at a time per session

[Buy a week on inference.broadnet.ai](https://inference.broadnet.ai/plans?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=plan-orbit#plan-orbit)

### Meteor

Billed per hour

**$1** an hour per session

1× One request at a time per session

[Start an hour on inference.broadnet.ai](https://inference.broadnet.ai/plans?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=plan-meteor#plan-meteor)

All plans cover DeepSeek V4.1 Flash only, with no token meter for the purchased period. One session runs one request at a time, so parallel agents need one session each. Context limits and the Acceptable Use Policy still apply; images are included. Session pricing does not guarantee throughput or uptime. Prices in US dollars; BroadNet's plans page says tax is added at checkout where it applies.

## Guides for DeepSeek V4.1 Flash

-   [Use the OpenAI Python SDK with BroadNet Inference](https://broadrouter.com/guides/openai-python-sdk/)
-   [Use the OpenAI Node.js SDK with BroadNet Inference](https://broadrouter.com/guides/openai-node-sdk/)
-   [First request to BroadNet Inference with curl](https://broadrouter.com/guides/curl-quickstart/)
-   [Stream chat completions and handle dropped connections](https://broadrouter.com/guides/streaming-chat-completions/)
-   [Why a reasoning model returns an empty answer](https://broadrouter.com/guides/reasoning-tokens-empty-response/)
-   [How the unlimited LLM API plans work for agents](https://broadrouter.com/guides/unlimited-llm-api-sessions/)
-   [Run Aider on unlimited DeepSeek V4.1 Flash](https://broadrouter.com/guides/aider-unlimited-deepseek/)
-   [Use LangChain with BroadNet Inference](https://broadrouter.com/guides/langchain-openai-base-url/)
-   [Use Cline with BroadNet Inference (OpenAI Compatible provider)](https://broadrouter.com/guides/cline-openai-compatible/)
-   [Use Roo Code with BroadNet Inference (OpenAI Compatible)](https://broadrouter.com/guides/roo-code-openai-compatible/)
-   [Use Continue with BroadNet Inference (config.yaml and apiBase)](https://broadrouter.com/guides/continue-dev-openai-compatible/)
-   [Add BroadNet Inference to opencode as a custom provider](https://broadrouter.com/guides/opencode-custom-provider/)
-   [Connect Open WebUI to BroadNet Inference](https://broadrouter.com/guides/open-webui-openai-api/)
-   [Add BroadNet Inference to LibreChat as a custom endpoint](https://broadrouter.com/guides/librechat-custom-endpoint/)
-   [Use BroadNet Inference in n8n (OpenAI credential, Base URL)](https://broadrouter.com/guides/n8n-openai-compatible/)
-   [Use the Vercel AI SDK with BroadNet Inference](https://broadrouter.com/guides/vercel-ai-sdk-openai-compatible/)
-   [Route LiteLLM to BroadNet Inference (SDK and proxy)](https://broadrouter.com/guides/litellm-proxy-custom-provider/)
-   [Run the OpenAI Agents SDK on BroadNet Inference](https://broadrouter.com/guides/openai-agents-sdk-custom-provider/)
-   [Read Arabic invoices and receipts with a vision model](https://broadrouter.com/guides/read-arabic-invoices-with-vision/)
-   [Use Zed with BroadNet Inference as an OpenAI-compatible provider](https://broadrouter.com/guides/zed-openai-compatible-provider/)
-   [Use Kilo Code with BroadNet Inference (OpenAI Compatible provider)](https://broadrouter.com/guides/kilo-code-openai-compatible/)
-   [Add BroadNet Inference to goose as a custom provider](https://broadrouter.com/guides/goose-custom-provider/)
-   [Use Pydantic AI with BroadNet Inference (OpenAICompatibleProvider)](https://broadrouter.com/guides/pydantic-ai-openai-compatible/)
-   [Use CrewAI with BroadNet Inference as a custom OpenAI endpoint](https://broadrouter.com/guides/crewai-custom-openai-endpoint/)
-   [Use LlamaIndex with BroadNet Inference through OpenAILike](https://broadrouter.com/guides/llamaindex-openailike/)
-   [Add BroadNet Inference to Dify with the OpenAI-API-compatible plugin](https://broadrouter.com/guides/dify-openai-api-compatible/)
-   [Use Jan with BroadNet Inference as a custom OpenAI-compatible provider](https://broadrouter.com/guides/jan-custom-endpoint/)
-   [Connect SillyTavern to BroadNet Inference (Custom OpenAI-compatible)](https://broadrouter.com/guides/sillytavern-custom-openai-endpoint/)
-   [Use Spring AI with BroadNet Inference (OpenAI base-url)](https://broadrouter.com/guides/spring-ai-openai-base-url/)
-   [Call BroadNet Inference from Go with the openai-go SDK](https://broadrouter.com/guides/openai-go-sdk/)
-   [Build LangGraph agents on BroadNet Inference](https://broadrouter.com/guides/langgraph-openai-compatible/)
-   [Use Haystack pipelines and agents with BroadNet Inference](https://broadrouter.com/guides/haystack-openai-compatible/)
-   [Use Semantic Kernel with BroadNet Inference](https://broadrouter.com/guides/semantic-kernel-openai-compatible/)
-   [Use Mastra agents with BroadNet Inference](https://broadrouter.com/guides/mastra-openai-compatible/)
-   [Use DSPy with BroadNet Inference (set model\_type="chat")](https://broadrouter.com/guides/dspy-openai-compatible/)
-   [Evaluate BroadNet models with promptfoo](https://broadrouter.com/guides/promptfoo-openai-compatible/)
-   [Run smolagents on BroadNet Inference with OpenAIModel](https://broadrouter.com/guides/smolagents-openai-compatible/)
-   [Connect Flowise to BroadNet Inference (OpenAI Custom Model)](https://broadrouter.com/guides/flowise-openai-compatible/)
-   [Connect Langflow to BroadNet Inference](https://broadrouter.com/guides/langflow-openai-compatible/)

## Use DeepSeek V4.1 Flash in the console

The BroadNet console on inference.broadnet.ai manages accounts and keys. It does not receive your choice from this page, so:

1.  Sign in or create an account.
2.  Add a qualifying top-up (the starting credit does not cover this model), then create a pay-as-you-go key. Or buy a session plan and create a plan key: see [plans](https://broadrouter.com/plans/).
3.  Send this model ID as `model` to `/v1/chat/completions`: `broadnet/deepseek-v4.1-flash`

[Open the BroadNet console](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=model-console) · [Estimate the cost](https://broadrouter.com/pricing/?model=deepseek-v4.1-flash#estimate) · [Read the API reference](https://inference.broadnet.ai/docs?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=docs#models) ·

## Compare DeepSeek V4.1 Flash

-   [DeepSeek V4.1 Flash vs GLM 5.3](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-glm-5.3/)
-   [DeepSeek V4.1 Flash vs Qwen3.8 27B](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-qwen3.8-27b/)
-   [DeepSeek V4.1 Flash vs BroadNet Gemma 4 VL 26B](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-gemma-4-vl-26b/)

Free tools for DeepSeek V4.1 Flash

-   [LLM API cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/) Price a workload on every model at once, with cache hits, reasoning and a flat-plan check.
-   [LLM token counter](https://broadrouter.com/tools/token-counter/) Exact token counts with each model's real tokenizer, with a token view and cost.
-   [Context window calculator](https://broadrouter.com/tools/context-window-calculator/) Will it fit? Window used per model, room left for output, cost to send.

[All free tools](https://broadrouter.com/tools/)

## Questions

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

Pass `broadnet/deepseek-v4.1-flash` as `model` to `/v1/chat/completions`. The base URL is `https://inference.broadnet.ai/v1`.

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

$0.175 input, $0.0055 cached input and $0.52 output per 1M tokens, from your account balance. It is also the model on the session plans: $60 a month per session with no token meter, one request at a time per session.

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

1,048,576 tokens per request, prompt and answer together.

### Can I use DeepSeek V4.1 Flash without a top-up?

No. DeepSeek V4.1 Flash opens after a qualifying top-up. The starting credit covers BroadNet Gemma 4 VL 26B, BroadNet Transcribe Arabic, BroadNet Transcribe and Gemma hourly keys.

### How does DeepSeek V4.1 Flash score on benchmarks?

As published, [the DeepSeek model card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash) reports 90.9 on GPQA Diamond (Pass@1) and 90.6 on Terminal-Bench 2.1 (Pass@1); [Epoch AI](https://epoch.ai/benchmarks/use-this-data) measured 0.898 on GPQA Diamond in its own run, as a mean score on a 0 to 1 scale (checked 2026-11-16). BroadNet did not run these benchmarks, and sources may use different settings, so the figures are not directly comparable. Every published result we found, with its setting and source.

### Is my data stored?

Inference content is not retained: prompts, images and answers are processed for the request only. Necessary account, billing and security metadata, such as timings, token counts and cost, is retained as described in BroadNet's privacy statement. [Read how](https://broadrouter.com/zero-data-retention/).

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=page-cta) ·

**Sources**

-   [BroadNet Inference pricing](https://inference.broadnet.ai/pricing?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=sources)
-   [Model IDs and request shapes](https://inference.broadnet.ai/docs?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=sources#models)
-   [BroadNet session plans](https://inference.broadnet.ai/plans?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-deepseek-v4.1-flash&utm_content=sources)
-   [BroadNet's Terms of Service (checked 2026-11-15)](https://www.broadnet.ai/terms)
