# Source: https://docs.pipecat.ai/server/services/llm/deepseek.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipecat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepSeek

> LLM service implementation using DeepSeek's API with OpenAI-compatible interface

## Overview

`DeepSeekLLMService` provides access to DeepSeek's language models through an OpenAI-compatible interface. It inherits from `OpenAILLMService` and supports streaming responses, function calling, and context management with advanced reasoning capabilities.

<CardGroup cols={2}>
  <Card title="DeepSeek LLM API Reference" icon="code" href="https://reference-server.pipecat.ai/en/latest/api/pipecat.services.deepseek.llm.html">
    Pipecat's API methods for DeepSeek integration
  </Card>

  <Card title="Example Implementation" icon="play" href="https://github.com/pipecat-ai/pipecat/blob/main/examples/foundational/14l-function-calling-deepseek.py">
    Complete example with function calling
  </Card>

  <Card title="DeepSeek Documentation" icon="book" href="https://api-docs.deepseek.com/api/create-chat-completion">
    Official DeepSeek API documentation and features
  </Card>

  <Card title="DeepSeek Platform" icon="microphone" href="https://platform.deepseek.com/">
    Access models and manage API keys
  </Card>
</CardGroup>

## Installation

To use DeepSeek services, install the required dependency:

```bash  theme={null}
pip install "pipecat-ai[deepseek]"
```

## Prerequisites

### DeepSeek Account Setup

Before using DeepSeek LLM services, you need:

1. **DeepSeek Account**: Sign up at [DeepSeek Platform](https://platform.deepseek.com/)
2. **API Key**: Generate an API key from your account dashboard
3. **Model Selection**: Choose from available DeepSeek models with reasoning capabilities

### Required Environment Variables

* `DEEPSEEK_API_KEY`: Your DeepSeek API key for authentication