Key capabilities
- OpenAI-compatible — Works as a drop-in replacement with the OpenAI SDK
- Thinking mode — Supports reasoning with configurable effort levels
- Function calling — Call tools and functions natively
- JSON mode — Structured output via
response_format - Long context — Handles large documents and multi-turn conversations
- Streaming — Supports real-time token streaming via SSE
- Prompt caching — Automatic cache with hit/miss token reporting
Quick example
Parameters
API Reference
View the interactive API playground for DeepSeek V4 Pro.