Skip to main content

deepseek-ai

Introduction

Deepseek AI is an advanced artificial intelligence system designed to assist users in various tasks. It leverages state-of-the-art machine learning algorithms to provide accurate and efficient solutions.

Pricing

Deepseek is pretty easy to use the API. and can be consider cheap compare to its competitor. We can just topup first to use its API

alt text

Usage

Deepseek can be used in multiple platform integrations. Here's how you can get started:

  1. Continue.dev integration

Add this line for both chat ability and autocomplete

{
"title": "DeepSeek Chat",
"provider": "deepseek",
"model": "deepseek-chat",
"apiKey": "sk-xxx"
},

"tabAutocompleteModel": {
"title": "DeepSeek-V2",
"model": "deepseek-coder",
"apiKey": "sk-xxx",
"contextLength": 8192,
"apiBase": "https://api.deepseek.com",
"completionOptions": {
"maxTokens": 4096,
"temperature": 0,
"topP": 1,
"presencePenalty": 0,
"frequencyPenalty": 0
},
"provider": "deepseek",
"useLegacyCompletionsEndpoint": false
}

  1. ChatGPT Box Extension This extension pretty easy and flexible to use, we can just add the API key and model name. https://github.com/josStorer/chatGPTBox?tab=readme-ov-file

  2. Aider Deepseek also support Aider integration

     python -m pip install -U aider-chat

    export DEEPSEEK_API_KEY=<key> # Mac/Linux
    setx DEEPSEEK_API_KEY <key> # Windows, restart shell after setx

    # Use DeepSeek Coder V2
    aider --deepseek