DeepSeek
Chat and reasoner models with reasoning_content streaming.
let model = DeepSeekModel("deepseek-chat")Key from DEEPSEEK_API_KEY; base URL https://api.deepseek.com.
Features
- Rides the shared chat-completions wire: tools, structured output, and vision are encoded for any model that honors them.
- Reasoner models stream
reasoning_contentdeltas, surfaced as.reasoningDelta— no tag parsing needed. - The
reasoningparameter maps tothinking.typeplusreasoning_effort, where.xhighbecomesmax. - Prompt-cache hits (
prompt_cache_hit_tokens) surface asusage.cachedInputTokens.
Models
DeepSeek's API serves two aliases — deepseek-chat and
deepseek-reasoner — that always point at the current generation. The
versions behind them, as of July 2026:
| Version | Released |
|---|---|
deepseek-v4-pro, deepseek-v4-flash | April 2026 |
deepseek-v3.2, deepseek-v3.2-thinking | December 2025 |
deepseek-v3.1, deepseek-v3.1-terminus | 2025 |
deepseek-r1, deepseek-v3 | The originals |