Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

796 B
Raw Blame
"""DeepSeek LLM provider for Local Deep Research."""

from ..base import Exposure
from ..openai_base import OpenAICompatibleProvider


class DeepseekProvider(OpenAICompatibleProvider):
    """DeepSeek provider using OpenAI-compatible endpoint."""

    provider_name = "DeepSeek"
    api_key_setting = "llm.deepseek.api_key"
    default_base_url = "https://api.deepseek.com/v1"
    default_model = "deepseek-reasoner"

    # Metadata for auto-discovery
    provider_key = "DEEPSEEK"
    company_name = "DeepSeek"
    is_cloud = True
    # Egress exposure (ADR-0007): cloud inference sink — data leaves the box.
    egress_exposure = Exposure.EXPOSING

    @classmethod
    def requires_auth_for_models(cls):
        """DeepSeek requires authentication for listing models."""
        return True