Skip to content
Tech News
← Back to articles

DeepSeek v4

read original get DeepSeek v4 AI Tool → more articles
Why This Matters

DeepSeek v4 introduces a versatile API compatible with popular AI platforms like OpenAI and Anthropic, enabling developers to integrate advanced AI capabilities seamlessly. Its compatibility and flexible configuration options make it a significant step toward more accessible and adaptable AI integrations for the tech industry and consumers alike.

Key Takeaways

Your First API Call

The DeepSeek API uses an API format compatible with OpenAI/Anthropic. By modifying the configuration, you can use the OpenAI/Anthropic SDK or softwares compatible with the OpenAI/Anthropic API to access the DeepSeek API.

PARAM VALUE base_url (OpenAI) https://api.deepseek.com base_url (Anthropic) https://api.deepseek.com/anthropic api_key apply for an API key model* deepseek-v4-flash

deepseek-v4-pro

deepseek-chat (to be deprecated on 2026/07/24)

deepseek-reasoner (to be deprecated on 2026/07/24)

* The model names deepseek-chat and deepseek-reasoner will be deprecated on 2026/07/24. For compatibility, they correspond to the non-thinking mode and thinking mode of deepseek-v4-flash , respectively.

Once you have obtained an API key, you can access the DeepSeek model using the following example scripts in the OpenAI API format. This is a non-stream example, you can set the stream parameter to true to get stream response.

For examples using the Anthropic API format, please refer to Anthropic API.