DeepSeek has updated its API to be fully compatible with the OpenAI and Anthropic API formats. This means developers can now use existing OpenAI or Anthropic SDKs, or any software that supports those APIs, to access DeepSeek's models with minimal configuration changes.
As part of the update, the model names deepseek-chat and deepseek-reasoner will be deprecated on July 24, 2026, at 15:59 UTC. For backward compatibility, these names currently map to the non-thinking and thinking modes of the deepseek-v4-flash model, respectively. Users are encouraged to switch to the new model names.
The DeepSeek API is now supported by popular AI agent and coding assistant tools, including Claude Code, GitHub Copilot, and OpenCode. Users can configure these tools to use DeepSeek as the backend model directly without writing any code. Detailed integration guides are available in the Agent Integrations Guide.
To get started, obtain an API key and use the provided example scripts in the OpenAI API format. For non-streaming requests, set the stream parameter to false; for streaming, set it to true. Examples using the Anthropic API format are also available.