Skip to content
AI Learning Ground Start learning

Open source ·

DeepSeek V4 preview drops open weights with a 1M-token context window

DeepSeek published open weights for DeepSeek-V4-Pro (1.6T total, 49B active parameters) and V4-Flash (284B total, 13B active), both with 1M-token context and thinking and non-thinking modes. The API was updated the same day with OpenAI- and Anthropic-compatible endpoints, and older deepseek-chat and deepseek-reasoner names were scheduled for retirement in July. For practitioners, it offered low-cost long-context models and required migrating code to the new model names.

DeepSeek V4 preview drops open weights with a 1M-token context window
Image: DeepSeek

DeepSeek published open weights for two V4 preview models on Hugging Face. DeepSeek-V4-Pro has 1.6T total parameters with 49B active, and DeepSeek-V4-Flash has 284B total with 13B active. Both support 1M-token context and dual thinking/non-thinking modes. The company describes the models as strong on agentic coding benchmarks, world knowledge, and math/STEM/coding reasoning.

The context length comes from a novel attention approach combining token-wise compression with DeepSeek Sparse Attention (DSA), which the company says reduces compute and memory costs for long contexts. Flash is positioned as the fast, economical option, with reasoning close to V4-Pro and matching it on simple agent tasks. DeepSeek says V4 integrates with agents like Claude Code, OpenClaw, and OpenCode, and that 1M context is now the default across its services.

The API was updated the same day: keep the existing base_url and switch the model name to deepseek-v4-pro or deepseek-v4-flash, with both OpenAI ChatCompletions and Anthropic API formats supported. Older deepseek-chat and deepseek-reasoner names, currently routing to Flash, will be fully retired after July 24th, 2026, 15:59 UTC. Builders should migrate to the new model names and can self-host the weights or use the low-cost long-context API.

References

Read the full story at DeepSeek ↗Like, save or discuss on Buzz

#open-source #deepseek #open-weights #long-context #china