inference-providers

DeepSeek

first_party

DocsConsole

Getting credentials

api-key

api_key via header (header Authorization: Bearer)

Environment: DEEPSEEK_API_KEY

Create a key at platform.deepseek.com. Works in Claude Code, Copilot, OpenCode via the Anthropic-compatible endpoint.

Credentials docs

Endpoints

IDURLProtocolAuth
chat-completionshttps://api.deepseek.com/chat/completionsopenai-chatany
anthropichttps://api.deepseek.com/anthropicanthropic-messagesany

API surfaces

textstreaming

Quirks

Models offered

ModelWire IDEndpointStatusReasoning
deepseek/deepseek-v4-flashdeepseek-v4-flashanthropicgatoggle · default on · returns reasoning_content · round-trips reasoning_content
deepseek/deepseek-v4-flashdeepseek-v4-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
deepseek/deepseek-v4-prodeepseek-v4-proanthropicgatoggle · default on · returns reasoning_content · round-trips reasoning_content
deepseek/deepseek-v4-prodeepseek-v4-prochat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content