DeepSeek has announced support for the Anthropic API format, enabling developers to leverage DeepSeek models within the Anthropic ecosystem. The new endpoint is available at https://api.deepseek.com/anthropic.
With a simple configuration change—updating the base URL and API key—users can integrate DeepSeek's capabilities into tools and applications built for Anthropic's API. This move aims to meet the demand for using the Anthropic API ecosystem while offering DeepSeek's models as an alternative.
When an unsupported model name is passed to DeepSeek's Anthropic API, the backend automatically maps it to the deepseek-v4-flash model. For Claude model names, the mapping is as follows:
- Models starting with claude-opus are mapped to deepseek-v4-pro.
- Models starting with claude-haiku or claude-sonnet are mapped to deepseek-v4-flash.
This compatibility allows users of the new Claude Desktop App (developer mode) to bypass model name restrictions by simply changing the base URL and API key to connect to DeepSeek models.