Nexus
1.x
Docs/Nexus/DeepSeek
Open

Reading1 min
Updated31 Jul 2026
Sourcev1/providers/deepseek.mdx

DeepSeek offers reasoning-capable models including DeepSeek-R1 with extended thinking support. Uses an OpenAI-compatible API.

Installation01

import "github.com/xraph/nexus/providers/deepseek"

Quick Start02

provider := deepseek.New(os.Getenv("DEEPSEEK_API_KEY"))

gw := nexus.New(
    nexus.WithProvider(provider),
)

Options03

OptionDescription
deepseek.WithBaseURL(url)Override the API base URL (default: https://api.deepseek.com)

Capabilities04

CapabilitySupported
ChatYes
StreamingYes
EmbeddingsNo
VisionNo
ToolsYes
ThinkingYes (R1 model)

Models05

ModelContextMax OutputInput PriceOutput Price
deepseek-chat65,5368,192$0.27/M$1.10/M
deepseek-reasoner65,5368,192$0.55/M$2.19/M