Instructions to use Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2
- SGLang
How to use Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 with Docker Model Runner:
docker model run hf.co/Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2
You need to agree to share your Hugging Face information to access this model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
This is a de-risked, cyber-hardened research model. Access is granted manually after purchase. By requesting access you confirm you have completed the required purchase, accept the terms of the Kimi K3.1 Pro License, and will operate the model under controlled research or evaluation conditions.
Log in or Sign Up to review the conditions and access this model content.
- What's New in v2
- Why This Repository Exists
- What This Model Is For
- What Was Done to the Model
- Specifications (Inherited from Upstream)
- Cryptographic & Weight Lineage
- Verification and Evaluation Status
- Infrastructure & Serving Reference
- Access: Manually Gated, Unlocked After Purchase
- Operational Scope: Intended Use vs. Limitations
- License and Attribution
BLACKFROST RESEARCH Β· AUTHORIZED CYBERSECURITY & DEFENSIVE AI
Kimi-K3.1-Pro-DERISKED-v2
De-risked, CoT-healed & cyber-hardened v2 of moonshotai/Kimi-K3.1-Pro Β· manually gated, unlocked after purchase
What's New in v2 Β· Modification Pipeline Β· Specifications Β· Verification Matrix Β· Serving Reference Β· Gated Access
6-day sale. Same checkpoint, same license, same automatic delivery β plus the two free bonus models below. Price returns to $599 when the sale ends.
CONTEXT CEILING1,048,576 positionsUpstream architectural max (kimi_linear) |
SPARSE MoE TOPOLOGY896 routed experts16 active / token + 2 shared experts |
LOSSLESS BF16 MERGE928 BF16 projections0 MXFP4 routed experts touched |
WEIGHT PACKAGE1.42 TiB96 SafeTensors shards Β· Omni VLM |
STATUS: Weights Published (96 SafeTensors Shards, ~1.42 TiB) β Evaluation Pending
This repository publishes Kimi-K3.1-Pro-DERISKED-v2, built directly atop the v1 DWM de-risked checkpoint (
Blackfrost-Research/Kimi-K3.1-Pro-DERISKED) via Blackfrost's first merged BF16-only Domain + Chain-of-Thought (CoT) Healing SFT pass (reverse engineering, cybersecurity, bug hunting, coding/SWE, native XTML tool use, hard Math/STEM anchor, and fluent CoT healing) losslessly merged back into the native 96-shard SafeTensors package (1,561,217,377,280indexed bytes,~1.42 TiB). Existing v1 buyers have been pre-granted access automatically.Evaluation status: PENDING. Formal v2 evaluation suites β including false-refusal re-benchmarking, CoT fluency & calibration benchmarks, general capability, held-out coding/cybersecurity/CyberGym tasks, and long-context/vision qualification β are pending and will be published on this card once complete. Until then, no benchmark, refusal-rate, capability, safety, or throughput score is claimed for v2, and neither upstream nor v1 results should be inferred as measured v2 results.
What's New in v2
v1 (Blackfrost-Research/Kimi-K3.1-Pro-DERISKED) shipped DWM de-risking weight edits only (no SFT LoRA was merged into the v1 weights). While v1 reduced false refusals on authorized security workflows, it had no merged domain SFT and exhibited telegraphic internal CoT degradation inside <|open|>think traces.
v2 is the first release to train and losslessly merge Blackfrost's security, engineering, and CoT-healing SFT directly into the checkpoint weights:
Stage 02 Training Mix Breakdown (19,408 Verified XTML Train Rows Β· 1,075 Held-Out Val Rows)
- Total Training Volume:
133.5Munique train tokens (~159Mtokens trained over1.19epochs,360optimizer steps atbs=64,62.7%token share $\ge 8\text{K}$ up to32Kcontext). - Security Core Share:
48.6%(9,431train rows across Reverse Engineering, Cybersecurity, and Bug Hunting).
| Domain Pillar | Train Rows | Share | Technical Scope |
|---|---|---|---|
| Reverse Engineering | 5,376 |
27.7% |
Binary/ELF analysis, disassembly, decompilation, protocol & malware RE |
| Coding & SWE | 5,324 |
27.4% |
Systems programming, patching, algorithms, and software engineering |
| Cybersecurity | 2,053 |
10.6% |
Authorized offensive/defensive security, AD/network/web mechanics, dual-use security reasoning |
| Bug Hunting | 2,002 |
10.3% |
Vulnerability discovery, memory safety, root-cause & CVE/patch triage |
| General Reasoning Replay | 1,775 |
9.1% |
Fluent Chain-of-Thought retention & general reasoning stability |
| Agentic Tool Use (XTML) | 1,038 |
5.3% |
Native Kimi-K3.1 XTML multi-turn tool calling & structured execution |
| Hard Math & STEM Anchor | 949 |
4.9% |
Formal proofs, symbolic math, ML & STEM reasoning (zero MCQ trivia) |
| Non-Thinking Replay | 891 |
4.6% |
thinking=False direct-answer calibration & zero reasoning-leak preservation |
| Total (Train Split) | 19,408 |
100.0% |
5-benchmark contamination firewalled Β· 0 pidgin / 0 poison verified across 100% of rows |
- Fluent CoT Healing: Trained exclusively on hygiene-audited, native Kimi-K3.1 XTML reasoning traces (zero telegraphic pidgin, zero identity/scaffold leaks, 5-benchmark contamination firewalled, exact EOS
163586supervision). - 100% Lossless MXFP4-Preserving Merge: Adapted only the
928actively-called unquantized BF16 projections (r=64, alpha=128,~915Mtrainable parameters) and merged in FP32 β IEEE-754 RNE BF16 (median ||ΞW||/||W|| = 0.81%,0NaN/Inf). All 494,592 MXFP4 routed-expert tensors (packed E2M1 codes + E8M0 scales across 896 experts Γ 92 MoE layers), MoE routers, DSA sparse indexers, KDA decay/conv kernels, AttnRes norms, vision tower, embeddings,lm_head, tokenizer, and XTML chat template remain bit-for-bit untouched. - Clean Packaging Note: v1's pre-SFT weight-swap binary journals (
K31P_*_BIN/) are intentionally omitted from v2 so operators cannot accidentally apply v1 deltas onto v2's SFT-merged BF16 weights.
Why This Repository Exists
This repository publishes a behaviorally modified, CoT-healed Kimi-K3.1-Pro checkpoint intended for authorized security research, red-team evaluation, guardrail testing, and controlled deployment qualification.
The upstream model is a compliance-oriented general assistant. For security work, that orientation is an obstacle: it declines or hedges on the exact benign-but-sensitive behaviors β malware analysis, exploit and payload construction, dual-use tooling, offensive technique discussion β that authorized security professionals need exercised. This derivative removes that obstacle while restoring fluent, high-precision Chain-of-Thought reasoning in a controlled, disclosed way.
What This Model Is For
Intended use. Authorized security engineering: red-team and purple-team engagements, reverse engineering, bug hunting, malware and exploit analysis, dual-use tooling, guardrail testing, and controlled deployment qualification.
Intended operating mode. The model is one half of a tuned pair. The weights carry the de-risking and CoT-healed domain SFT; the companion K3-Offsec-Engine carries methodology β progressive skill and tool turns, engagement state, and route receipts. The model loads and answers standalone with zero sidecar requirements, while the engine is strongly recommended for structured tool-driven security engagements.
What it is not. Not a general-purpose consumer chat model, not a drop-in unguarded production release, and not an unbounded model. De-risking removes false refusals; it does not remove the operator's obligation to scope, authorize, and supervise the work.
What Was Done to the Model
Two cumulative weight modifications are applied atop the upstream moonshotai/Kimi-K3.1-Pro checkpoint, and nothing else:
STAGE 01 Β· v1 BASE (DE-RISKING ONLY)
1. DWM Weight EditsTargeted in-place weight-space refusal-direction edit on selected non-expert residual-stream writers, preserving upstream architecture, expert routing, tokenizer, and quantization. (v1 shipped DWM edits only; no SFT LoRA was merged in v1.)
|
STAGE 02 Β· NEW IN v2 (FIRST MERGED SFT)
2. Blackfrost Cyber, Engineering & CoT-Healing BF16 SFT + Lossless MergeBF16-only rank-64 LoRA SFT (
|
Zero-Sidecar Weight Integrity: Every modification is baked directly into the native 96-shard SafeTensors weights. No LoRA runtime adapter, serving patch, or system-prompt overlay is required β load directly on stock
vLLMorSGLang.
Interactive Widget Β· v2 Modification Pipeline & Build Telemetry β click to toggle
| Stage | Modification Step | Status | Technical Scope |
|---|---|---|---|
STAGE 01 Β· DWM-SUB |
DWM weight edits (v1 base) | β COMPLETE |
Targeted refusal-direction edit on non-expert residual-stream writers (v1 base; no v1 SFT LoRA was merged). |
STAGE 02 Β· V2-SFT |
BF16-Only Cyber, RE, Bug-Hunt, Coding & CoT-Healing SFT (v2) | β COMPLETE |
360 steps (1.19 ep, ~159M tokens, r=64/Ξ±=128, lr=5e-5β5e-6) across all 928 BF16 projections on 8Γ B300 (loss 0.5040 β 0.4245, 0 NaN/Inf). |
STAGE 03 Β· MERGE-V2 |
Lossless FP32βBF16 Merge | β COMPLETE |
All 928/928 BF16 projections merged cleanly (median ||ΞW||/||W|| = 0.81%); all 494,592 MXFP4 expert tensors untouched. |
STAGE 04 Β· VERIFY-V2 |
Post-build evaluation | β§ PENDING |
Formal v2 fluency, false-refusal, capability, agentic, CyberGym, and long-context/vision evaluations pending. |
STAGE 05 Β· PUBLISH |
v2 weights upload | β COMPLETE |
Published β 96 SafeTensors shards (~1.42 TiB, 1,561,293,146,466 bytes, byte-parity verified) on this manually gated v2 repository. |
Specifications (Inherited from Upstream)
Architecture, MXFP4 routed-expert weights, MoE routing, DSA sparse indexer, KDA recurrent kernels, tokenizer, XTML chat template, generation configuration, vision tower, and multimodal components are preserved structurally 1:1 from upstream.
| Parameter / Subsystem | Specification |
|---|---|
| Upstream foundation | moonshotai/Kimi-K3.1-Pro |
| Immediate base | Blackfrost-Research/Kimi-K3.1-Pro-DERISKED (v1) |
| Architecture | KimiK31ForConditionalGeneration (kimi_k31) β 69 KDA + 24 DSA hybrid-attention sparse LatentMoE Omni VLM |
| Layers / Hidden / Heads | 93 layers Β· 7,168 hidden dim Β· 96 heads (head_dim 128) |
| Sparse MoE Topology | 896 MXFP4 routed experts (16 active/token, 100% frozen) Β· 2 BF16 shared experts Β· LatentMoE BF16 I/O |
| v2 Adapted BF16 Surface | 928 BF16 projections (KDA q/k/v/g/o, DSA q_a/q_b/kv_a/g/o, L0 dense MLP, shared experts, LatentMoE up/down) |
| Vocabulary / Context | 163,840 tokens (Kimi XTML, generation EOS 163586) Β· 1,048,576 architectural context ceiling |
| Modalities | Text and image input β Text output (Omni VLM; vision tower 100% frozen) |
| Weight Package | 96 SafeTensors shards Β· 1,561,217,377,280 indexed bytes (~1.42 TiB) Β· native MXFP4 + BF16 precision preserved |
Cryptographic & Weight Lineage
moonshotai/Kimi-K3.1-Pro (Upstream Foundation Checkpoint)
β
βββ [Stage 01] DWM De-Risking Weight Edits (v1 β DWM only; no v1 SFT LoRA merged)
β ββ Refusal-direction subtraction on selected non-expert residual-stream writers
β β
β βΌ
β Blackfrost-Research/Kimi-K3.1-Pro-DERISKED (v1)
β β
βββ [Stage 02] Blackfrost Cyber, RE, Bug-Hunting, Coding & CoT-Healing BF16 SFT (v2 β First Merged SFT)
ββ Rank-64 BF16 LoRA SFT (19,408 XTML rows, ~159M tokens; 48.6% security/RE/bug-hunt)
ββ Merged losslessly in FP32βBF16 across 928 attention / shared-expert / LatentMoE projections
ββ All 494,592 MXFP4 expert tensors, routers, norms, vision tower, embeddings,
lm_head & tokenizer preserved 1:1
β
βΌ
Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 β THIS REPOSITORY (Manually Gated v2)
Blackfrost Research is responsible only for this derivative package. Moonshot AI is the upstream model developer and does not endorse this derivative.
Verification and Evaluation Status
v2 Qualification Progress: [ββββββββββββββββββββ] 2/6 Checks Complete
Interactive Widget Β· v2 Verification & Qualification Gate Matrix β click to toggle
| Verification Check | Domain | Status | Acceptance & Audit Scope |
|---|---|---|---|
| Repository, lineage & license audit | AUDIT |
β COMPLETE |
Full v1βv2 lineage disclosure, Moonshot AI Kimi K3.1 Pro License attribution, and non-endorsement boundaries verified. |
| Lossless BF16 merge & shard integrity | AUDIT |
β COMPLETE |
All 928/928 BF16 projections merged cleanly (0 NaN/Inf, median ||ΞW||/||W|| = 0.81%); 0 MXFP4 routed-expert bytes altered; 96 SafeTensors shards verified. |
| CoT fluency & effort calibration | FLUENCY |
β§ PENDING |
Formal v2 Chain-of-Thought fluency, effort calibration, EOS stop behavior, and thinking=False evaluation suite pending. |
| False-refusal & red-line floor verification | SAFETY |
β§ PENDING |
Full false-refusal benchmark and mandatory Blackfrost release red-line check on v2 weights prior to public v1 cutover. |
| General & domain capability evaluation | CAPABILITY |
β§ PENDING |
Held-out executable coding, reverse engineering, bug-hunting/CyberGym, hard Math/STEM, and multi-turn tool-use qualification on v2. |
| Long-context & vision qualification | QUALIFICATION |
β§ PENDING |
1,048,576 context window stability and frozen vision-tower multimodal alignment verification on v2. |
No benchmark, throughput, fluency, refusal-rate, safety, or capability claim is made for this v2 derivative at this time. Upstream and v1 results must not be treated as measured results for this checkpoint.
Infrastructure & Serving Reference
Interactive Widget Β· Single-Node & Multi-Node Serving Configurations (vLLM / SGLang) β click to expand
Single-Node 8Γ NVIDIA B300 Reference
- Precision Profile:
Native Shipped MXFP4 + BF16 (96 Shards, zero LoRA flags) - Memory Footprint:
~202 GiB/GPU weights + KV cache headroom at --gpu-memory-utilization 0.95
python3 -m vllm.entrypoints.openai.api_server \
--model Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 \
--tensor-parallel-size 8 \
--trust-remote-code \
--max-model-len 1048576 \
--gpu-memory-utilization 0.95 \
--enable-auto-tool-choice --tool-call-parser kimi_k3 \
--reasoning-parser kimi_k3 \
--host 0.0.0.0 --port 8000
Multi-Node 16Γ H200 / 16Γ B200 Reference Cluster (SGLang)
sglang.launch_server \
--model-path Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 \
--tp 16 --ep 16 --trust-remote-code --context-length 1048576
Multi-Node 16Γ H100 80GB (vLLM TP8 / PP2)
vllm serve Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2 \
--tensor-parallel-size 8 --pipeline-parallel-size 2 \
--enable-expert-parallel --max-model-len 262144
Serving Guidance: Sampling & Companion Sidecar (K3-Offsec-Engine)
- Anti-repetition sampling: As in v1, shipped
config.json/generation_config.jsondefaults apply no repetition penalty. For long autonomous agent trajectories, applying a mildrepetition_penalty β 1.05, keepingtop_k >= 50, and bounding repeated identical tool calls client-side remain recommended best practices. - Companion Sidecar (
K3-Offsec-Engine/): Distributed alongside this checkpoint as an optional, engine-neutral OpenAI-compatible gateway providing progressivek3oe_*capability activation, evidence-bound research ledgers, bounded retries, and prompt-free route receipts. Treat any new engine/model pairing as promotion-gated viak3-offsec-engine probe-gateway.
Access: Manually Gated, Unlocked After Purchase
Existing v1 Buyers: All approved holders of
Blackfrost-Research/Kimi-K3.1-Pro-DERISKEDhave been pre-granted access to v2 automatically β no second purchase required.
This repository is manually gated, and the checkpoint is unlocked only after purchase. To obtain access:
β Purchase access to this model β $449.25 (25% off, was $599) β Cyber Monday sale, ends Dec 5. Enter your Hugging Face username at checkout, and your access is granted automatically once payment is confirmed.
β Pay with USDC (Solana) β 449.25 USDC (sale price, was 599) to C65NmgdrtppzXuE8wruPJaLE7NkBgawbCXjchdCkdSWH β include your Hugging Face username as the transfer memo, and click "Agree and request access" on this repo before sending. Access is granted once the transfer confirms (typically within the hour). Send only USDC on Solana; any other asset or network cannot be recovered.
|
STEP 01 Β· COMMERCIAL ARRANGEMENT Complete Purchase Agreement Complete the commercial purchase directly via the payment link above β $449.25 one-time during the Cyber Monday sale (regular $599), card accepted at checkout. |
STEP 02 Β· HUGGING FACE GATE Submit Repository Gate Request Submit your access request through the Hugging Face manual gate prompt on this repository page. |
STEP 03 Β· MANUAL UNLOCK Verification & Provisioning Access is granted manually after the purchase and organization identity are confirmed on our side. |
π Included free with every purchase
Every K3.1 Pro purchase (sale or regular price) automatically includes access to two additional de-risked models β no extra checkout, granted to the same Hugging Face username:
| Free bonus model | What it is |
|---|---|
Blackfrost-Research/Qwen3.8-2.4T-A95B-DERISKED-W4A4-NVFP4 |
Qwen3.8-2.4T-A95B (2.4T total / 95B active MoE), de-risked and cyber-hardened, W4A4 NVFP4 quant for Blackwell-class GPUs |
Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2 |
Kimi K3 MXFP4 DERISKED V2 β the hardened K3 checkpoint in MXFP4 |
Access to both is granted automatically alongside this repo once payment is confirmed.
License terms for access requests are the upstream Kimi K3.1 Pro License terms (see License). Manual gating and purchase gating are access controls, not safety guarantees.
Operational Scope: Intended Use vs. Limitations
Intended Use (Authorized Scope)
|
Strict Limitations & Operational Risks
|
License and Attribution
This derivative is distributed under the upstream Kimi K3.1 Pro License (Copyright Β© 2026 Moonshot AI), included as LICENSE. That license grants use, copying, modification, distribution, sublicensing, sale, deployment, fine-tuning, and derivative works; this release is a derivative work under it.
See moonshotai/Kimi-K3.1-Pro for upstream documentation and attribution.
Kimi-K3.1-Pro-DERISKED-v2 Β· Β© 2026 Blackfrost Softwares Corp. Β· blackfrostai.com
- Downloads last month
- -
Model tree for Blackfrost-Research/Kimi-K3.1-Pro-DERISKED-v2
Base model
Blackfrost-Research/Kimi-K3.1-Pro-DERISKED