Deepseek Open-Sources DeepInfer Framework to Lower AI Compute Costs
Deepseek releases its internal inference engine under Apache 2.0, aiming to reduce energy use and pricing pressure on Western AI providers.

Key points
- Deepseek open-sourced DeepInfer, the framework behind its V4.1-Flash model, under the Apache License 2.0.
- The system builds on vLLM with optimized kernels and distributed processing to cut compute costs and energy consumption.
- The release includes deepseek-recipe to replicate official API token processing for self-hosted environments.
Deepseek has open-sourced DeepInfer, its internal inference framework, under the Apache License 2.0, according to a report by The Decoder. This software enables the company’s V4.1-Flash model to handle requests and generate responses quickly at scale. The move makes the specific serving software that powers one of the industry’s fastest and cheapest models available to the broader community.
The framework builds on the existing vLLM system, adding optimized compute kernels, distributed processing across multiple chips, and faster text generation techniques. Deepseek stated that code for future models will also ship as open source. The company is also releasing a tool called deepseek-recipe, which replicates the token processing of the official Deepseek API. This allows self-hosted setups to behave identically to the commercial service.
Context and Background
Inference is the process by which a trained AI model handles requests and generates responses, distinct from the training phase. DeepInfer serves as the underlying serving software that allows Deepseek’s models to produce answers efficiently. By open-sourcing this engine, Deepseek addresses the final gap in running its models at the lowest possible cost. The company said on X that the goal is to help the community lower compute costs, reduce energy use, and make AI more affordable.
The Decoder reports that Deepseek’s models are already considered very cheap in the market. The release of DeepInfer is designed to fill the last remaining barrier to running these models even more cheaply. This technical release adds significant pricing pressure on Western providers such as OpenAI and Anthropic. The article notes that the move could also be politically motivated given the ongoing AI race between China and the US.
Who Is Affected
Western AI providers like OpenAI and Anthropic face increased competition as Deepseek lowers the barrier to entry for efficient AI deployment. The Decoder suggests that if Western AI companies miss their growth targets due to this pricing pressure, it poses a risk for the US economy and beyond. Organizations looking to self-host AI models can now access the same token processing logic as the official API through the released deepseek-recipe tool.
The open-source nature of the framework allows developers to inspect and modify the code that powers high-performance inference. This transparency may influence how other vendors approach their own inference engines and pricing strategies. The release signals a shift toward greater accessibility in high-performance AI infrastructure, challenging the proprietary models currently dominant in Western markets.
What should you do?
Security and technology professionals should monitor the release for any changes in how they deploy and manage AI workloads. Organizations using Deepseek models can evaluate the new open-source framework for potential integration into their infrastructure. It is important to review the Apache License 2.0 terms to ensure compliance with the new open-source distribution.
What to do and how to stay safe: Deepseek
- Review the Apache License 2.0 terms to understand compliance requirements for using the open-sourced DeepInfer framework in commercial or internal projects.
- Evaluate the deepseek-recipe tool to determine if it can standardize token processing across your self-hosted Deepseek model deployments.
- Monitor performance benchmarks of the new vLLM-based system to assess potential reductions in compute costs and energy usage for your organization.
- Assess the strategic impact of increased pricing pressure on your current contracts with Western AI providers like OpenAI and Anthropic.
Step-by-step guide: Prompt Injection Warning Signs: How to Spot AI Manipulation
General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
What license is DeepInfer released under?
DeepInfer is released under the Apache License 2.0, according to the report by The Decoder.
What model does DeepInfer power?
DeepInfer is the serving software that lets Deepseek's V4.1-Flash model produce answers quickly at scale.
Is there a tool to replicate the official API behavior?
Yes, Deepseek is releasing deepseek-recipe, which replicates the token processing of the official Deepseek API for self-hosted setups.


