DeepSeek API
DeepSeek API serves its current V4 models through OpenAI-compatible and Anthropic-compatible interfaces and separately offers Search and Fetch JSON endpoints for live web content.
Overview
DeepSeek API supports chat completions, Responses, tool use, JSON, thinking controls and FIM. The deepseek-flash alias serves the October 17 V4.1-Flash-1017 update. Standalone Search (text only; image search is currently available via model web tools) and Fetch are billed separately per successful result-bearing request; these are not token inference prices.
API details
- Base URL
- https://api.deepseek.com
- Authentication
- Api Key
- Styles
- Rest, Sdk
- Pricing model
- Usage Based
- Official SDKs
- —
Capabilities
Model tokens vary by tier and peak/off-peak window. Search and Fetch each cost USD 0.75 per 1,000 successful result-bearing requests, including server-side calls through DeepSeek Harness, Claude Code and Codex. Failed, empty-result and timed-out calls are not billed. Image search is currently available through model web tools, not the standalone Search API. Tool fees are separate from model token charges.
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 served as DeepSeek-V4.1-Flash-1017 through the unchanged deepseek-flash API alias. It supports text and image input and a one-million-token context window; official weights are available under MIT.
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 offering CLI and desktop clients, a web interface, and multiple model providers; version 1 also documents IDE integrations.
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.