Skip to content
DeepSeek Logo

DeepSeek Provider

DeepSeek offers specialized code-focused models at competitive prices, optimized for programming tasks.

Setup

  1. Get API Key: Sign up at DeepSeek Platform

  2. Set Environment Variable:

    bash export DEEPSEEK_API_KEY=your-deepseek-api-key

  3. Configure MegaLinter:

    yaml LLM_ADVISOR_ENABLED: true LLM_PROVIDER: deepseek LLM_MODEL_NAME: deepseek-chat LLM_MAX_TOKENS: 1000 LLM_TEMPERATURE: 0.1

Official Model List

For the most up-to-date list of DeepSeek models and their capabilities, see the official DeepSeek documentation:

Configuration Options

Basic Configuration

LLM_PROVIDER: deepseek
LLM_MODEL_NAME: deepseek-chat       # or deepseek-coder

Advanced Configuration

# Custom API endpoint (if needed)
DEEPSEEK_BASE_URL: https://api.deepseek.com/v1

Troubleshooting

Common Issues

  1. "Invalid API key"

    • Verify your API key is correct
    • Check account status and credits
    • Ensure API access is enabled
  2. "Rate limit exceeded"

    • Check your plan's rate limits
    • Implement rate limiting in your requests
    • Consider upgrading your plan
  3. "Model not available"

    • Verify model name is correct
    • Check if model is available in your region
    • Some models may require special access