DeepSeek API
DeepSeek API provides access to the current DeepSeek V4 models through OpenAI-compatible and Anthropic-compatible interfaces.
Overview
The API supports chat completions, the OpenAI Responses format, tool calls, JSON output, thinking controls, and FIM completion. Its documented OpenAI-format base URL is api.deepseek.com.
API details
- Base URL
- https://api.deepseek.com
- Authentication
- Api Key
- Styles
- Rest, Sdk
- Pricing model
- Usage Based
- Official SDKs
- —
Capabilities
Token pricing varies by model and by peak versus off-peak time periods.
Models currently mapped to this API
This is the verified iilib subset, not the provider's complete model catalog.
DeepSeek V4 Pro
DeepSeek V4 Pro is a reasoning and agent-oriented model in the DeepSeek V4 family, available through the DeepSeek API with a one-million-token context window.
DeepSeek V4.1 Flash
DeepSeek V4.1 Flash is the current model served by the deepseek-flash API alias, with a one-million-token context window and native image understanding.
Tools and agents integrating this API
Only integrations backed by explicit product or provider documentation are shown.
Aider
Aider is an open-source terminal tool for working with language models on an existing codebase. It builds a repository map, edits files, integrates with Git, and can run linting and tests.
Claude Code
Claude Code is Anthropic's coding agent for working directly with a codebase from the terminal, supported IDEs, the web, GitHub, Slack, and other product surfaces.
Codex CLI
Codex CLI is OpenAI's open-source coding agent that runs locally in a terminal. It can inspect a repository, edit files, and run commands under configurable approval controls.
OpenCode
OpenCode is an open-source coding agent available through a terminal interface, desktop app, and IDE integrations, with support for multiple model providers and local models.
Pi
Pi is an open-source, extensible terminal coding agent from Earendil Works with multi-provider model access, local tools, skills, extensions, prompt templates, and SDK support.
Qwen Code
Qwen Code is an open-source coding agent from the Qwen team with terminal, editor, desktop, browser, and chat surfaces and support for Qwen and third-party model providers.
Zed
Zed is an open-source code editor from Zed Industries with a native coding agent, external agent integrations, terminal-backed agent threads, edit prediction, and multiplayer collaboration.