Cybersecurity & Authorized Red-Teaming LLM API
Run DeepSeek V4.1 Flash 1017 Cyber (deepseek-v4.1-flash-1017-cyber) on Inference.net for authorized AppSec code auditing, pentesting, red teaming, CTF workflows, vulnerability triage, and SOC automation. Combine a 1M-token full-repository context window and $0.007/1M cached input reads with 500 RPM Free-tier limits, US-pinned residency (us.api.inference.net), and Zero Data Retention by default.
- `deepseek-v4.1-flash-1017-cyber` tuned for authorized AppSec auditing, pentesting, red teaming, CTF, and SOC triage without false-positive refusals
- 1M-token context window for full-repository static analysis paired with $0.007/1M automatic cached input reads ($0.30/1M input, $1.00/1M output)
- Zero Data Retention enabled by default, SOC 2 Type II certification, and US-only residency via `https://us.api.inference.net/v1`
- 500 RPM Free-tier (1,000 RPM Paid) behind drop-in OpenAI and Anthropic wire endpoints for OpenCode, Cline, and custom security agents
Built for production reliability
| Capability | Specification | How it helps |
|---|---|---|
| Security-research model | `deepseek-v4.1-flash-1017-cyber` | Abliterated DeepSeek V4.1 Flash checkpoint built for authorized AppSec, pentesting, red teaming, CTF, and SOC triage. |
| Catalog pricing & caching | $0.30/1M in · $1.00/1M out · $0.007/1M cached | Automatic prefix caching on byte-identical prefixes reduces repeated large-repo audit reads by ~98%. |
| Context window | 1M input tokens | Ingest entire microservices, IAM policies, SAST findings, and packet/log traces in one prompt. |
| Rate limits | 500 RPM Free-tier · 1,000 RPM Paid | Headroom for concurrent vulnerability scanners and SOC automation pipelines out of the box. |
| Privacy & US residency | Default ZDR · SOC 2 Type II · us.api.inference.net | Prompts, completions, and tool outputs are purged after processing and pinned to US infrastructure on us.api.inference.net. |
| Wire APIs & tooling | /v1/chat/completions · /v1/responses · /v1/messages | Drop-in support for OpenAI/Anthropic SDKs, OpenCode, Cline, and custom tool-calling security agents. |
Run an authorized AppSec audit over the US ZDR endpoint
Requires approved team-scoped Privileged Model Access (/privileged-access/) before calling deepseek-v4.1-flash-1017-cyber. Keep repository files and system rubrics at the front of the prompt so automatic prefix caching hits $0.007/1M cached reads, and do not pass prompt_cache_key on DeepSeek routes.
from openai import OpenAI
import os
# Pin confidential AppSec & authorized red-team traffic to US ZDR infrastructure
client = OpenAI(
base_url="https://us.api.inference.net/v1",
api_key=os.environ["INFERENCE_API_KEY"],
)
stream = client.chat.completions.create(
model="deepseek-v4.1-flash-1017-cyber",
messages=[
{
"role": "system",
"content": "You are an authorized AppSec reviewer. Keep this prefix static to maximize $0.007/1M cached reads.",
},
{
"role": "user",
"content": "Audit this auth middleware for IDOR, JWT validation flaws, and SSRF sinks.",
},
],
stream=True,
stream_options={"include_usage": True},
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)Guides and references
Live pricing, context specs, capabilities, and API details for deepseek-v4.1-flash-1017-cyber.
View model DeepSeek V4.1 Flash Cyber API GuideEnd-to-end Python, cURL, OpenCode, Cline, tool-calling, and prompt-caching guide for security teams.
Read guide DeepSeek Cyber vs DeepSeek V4.1 FlashWhen to use the abliterated Cyber variant ($0.30/$1.00) vs standard DeepSeek V4.1 Flash ($0.103/$0.60).
Read comparison DeepSeek Cyber: Direct vs OpenRouterDirect US B300 API with default ZDR and single-hop latency vs multi-provider marketplace routing.
Read comparison DeepSeek Cyber vs Claude Opus 5Refusal ergonomics, 1M context, $0.007/1M cache reads, and throughput vs Claude Opus 5.
Read comparison Prompt Cache CalculatorModel exact monthly savings from $0.007/1M cached reads across 50%, 75%, and 90% cache hit rates.
Explore Live LLM BenchmarksRolling 15-minute ClickHouse production TTFT and output tok/s telemetry across Inference.net.
Explore Zero Data Retention PolicyBinding policy detailing what Inference.net purges under default Zero Data Retention.
Explore Privileged Model Access docsHow team-scoped approval, terms acceptance, and GET /v1/models status work for privileged models.
Open docsFrequently asked questions.
Quick answers to help you get started
DeepSeek V4.1 Flash 1017 Cyber (`deepseek-v4.1-flash-1017-cyber`) is an abliterated security-research variant tuned to avoid false-positive refusals on authorized AppSec auditing, penetration testing, red-team exercises, CTF problem solving, vulnerability triage, and SOC alert investigation. It is a privileged model and requires approved team-scoped Privileged Model Access (/privileged-access/) before your team's API keys can invoke it (unapproved calls return HTTP 403 `model_access_required`).
Catalog pricing for `deepseek-v4.1-flash-1017-cyber` is $0.30/1M input tokens, $1.00/1M output tokens, and $0.007/1M cached input reads across its 1M-token context window. Prefix caching runs automatically on byte-identical prefixes (do not send `prompt_cache_key`), so keeping repository context and system instructions static at the top of your prompt slashes repeated multi-turn audit costs.
Yes. New teams start with Zero Data Retention (ZDR) enabled by default and SOC 2 Type II compliance — prompts, source code, exploit proofs-of-concept, tool schemas, and error payloads are purged after processing and never used for training. Route requests to https://us.api.inference.net/v1 to pin traffic strictly to US-hosted serving infrastructure.
Standard accounts start at 500 RPM on the Free tier and 1,000 RPM on Paid tiers, with custom enterprise rate limits and dedicated GPU capacity available through sales. The endpoint supports standard OpenAI `/v1/chat/completions`, `/v1/responses`, and Anthropic `/v1/messages` with tool calling and streaming.
Ship on Inference.net today
Start self-serve with an API key, explore live model pricing, or talk with our team about dedicated capacity and custom SLAs.