What the DeepSeek API Supports Natively
Coding agents speak different wire protocols. DeepSeek natively mirrors two of them — OpenAI Chat Completions and Anthropic Messages. It does not expose OpenAI Responses, which is why tools like Codex need a bridge. Official DeepSeek docs list two base URLs. Point the matching SDK or agent at the right one, paste your DeepSeek API key, and pick deepseek-v4-pro or deepseek-v4-flash.
Using Codex with DeepSeek?
Codex speaks OpenAI Responses. DeepSeek speaks Chat Completions and Anthropic Messages. Moon Bridge sits in the middle: Codex → Responses → Moon Bridge → DeepSeek.
Codex + Moon Bridge guide