# DeepSeek API

> DeepSeek's own API for its language models, compatible with OpenAI's and Anthropic's formats

Source: https://talira.ai/catalog/deepseek-api-sapc02q3
Every listing: https://talira.ai/catalog.md

- Kind: SaaS
- Types: API
- Categories: [ai / llm / model access](https://talira.ai/categories/ai/llm/model-access)
- Platforms: web[^2]
- Licence: proprietary[^2]
- Pricing: Usage-based[^1]
- Pricing notes: Per million tokens at peak (off-peak is half; peak is 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays): deepseek-flash $0.006 cached input, $0.3 input, $1.2 output; deepseek-v4-pro $0.044 cached input, $1.32 input, $3.96 output. Search and Fetch APIs $0.75 per 1,000 successful requests.
- Self-hostable: no[^2]
- Cloud hosted: yes[^2]
- API: yes[^2]
- Made by: [DeepSeek](https://talira.ai/orgs/deepseek.md)

The DeepSeek API serves DeepSeek's language models from DeepSeek itself: deepseek-flash (now DeepSeek-V4.1-Flash, with vision) and deepseek-v4-pro, each with a 1M-token context, thinking and non-thinking modes, JSON output, tool calls and the Responses API. It accepts both OpenAI's and Anthropic's request formats, so the OpenAI and Anthropic SDKs and tools built on them (Claude Code, GitHub Copilot, OpenCode) can use it by changing the base URL. Billing is per million input and output tokens, with cached input much cheaper and off-peak hours at half price; web search, URL fetch, speech recognition and text-to-speech are offered as further APIs.

## Links

- Website: https://platform.deepseek.com/
- Docs: https://api-docs.deepseek.com/
- Pricing: https://api-docs.deepseek.com/quick_start/pricing

## Problems it solves

- a much cheaper LLM API for my app than GPT or Claude
- point Claude Code or my OpenAI SDK code at a cheaper model
- a long-context model API that takes a million tokens
- run batch LLM jobs at off-peak prices

## Features

- deepseek-flash and deepseek-v4-pro models with 1M-token context
- OpenAI- and Anthropic-compatible endpoints
- thinking and non-thinking modes
- JSON output and tool calls
- context caching with cheaper cache hits
- off-peak pricing at half the peak rate
- search, fetch, speech recognition and text-to-speech APIs

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.26 out of 1.
Signals: backing 0.30, extensibility 0.20.

- made by DeepSeek

## Alternatives

- [Mistral AI API](https://talira.ai/catalog/mistral-ai-api-tfs59kqk.md): API access to Mistral's models for text, code, vision, documents and speech
- [OpenAI API](https://talira.ai/catalog/openai-api-t57ph5ck.md): API platform for OpenAI's GPT models, embeddings, realtime voice and agents
- [Ollama](https://talira.ai/catalog/ollama-gr2tx5nn.md): Start building with open models, locally or in the cloud
- [Cerebras Inference](https://talira.ai/catalog/cerebras-inference-zmq8q4y1.md): Very fast LLM inference API running open-weight models on Cerebras wafer-scale chips
- [Z.ai API](https://talira.ai/catalog/z-ai-api-jz4sedv7.md): API for Z.ai's GLM language, vision and image models
- [Groq](https://talira.ai/catalog/groq-d6k5j1f1.md): Fast inference API for open models on Groq's LPU chips

## Sources

[^1]: https://api-docs.deepseek.com/quick_start/pricing (checked 25 Nov 2026)
[^2]: https://api-docs.deepseek.com/ (checked 25 Nov 2026)
