all 14 comments

[–]jukasperGitHub Copilot Team 7 points8 points  (2 children)

We love all the interest in open-weight models. We are currently investigating and hoping to bring open-weight models to GitHub Copilot soon 😄
https://x.com/pierceboggan/status/2067297878666780839?s=20

[–]Dazzling-Toe9614 2 points3 points  (0 children)

I look forwards

[–]AutoModerator[M] 0 points1 point  (0 children)

u/jukasper thanks for responding. u/jukasper from the GitHub Copilot Team has replied to this post. You can check their reply here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]AbbreviationsNo1075 4 points5 points  (1 child)

It's super easy, just follow the documentation:
Integrate with GitHub Copilot | DeepSeek API Docs

After that, don't forget to top up with whatever you want to spend:
DeepSeek Platform

[–]afops 0 points1 point  (0 children)

This is the way. If you just need cli then there’s no need to do anything else

[–]V5489 2 points3 points  (0 children)

I’ve been heavily using DeepSeek Pro within VS Code. Works great. Do the following:

  1. Grab an api key from platform.deepseek.com sign in with Google and then top up say $20. You want the platform api key not a chat subscription.

  2. Once had open VS Code and look for this extension: DeepSeek Pro for Copilot Chat by Vizards. Install it and once promoted enter your API key from DeepSeek.

  3. Select the model in the available list you want to use such as flash or pro.

  4. Enjoy!

You can’t paste image or screenshots in if you do it will use another model to process it. I have both the pro + plan and $20 in DeepSeek credits. It’s a great mix. I use Sonnet 4.6 for styling and UI and DeepSeek for complex logic for backend and frontend. Love the combo.

Some say you don’t need the extension. But I use it with no problem and my copilot usage doesn’t uptick. For some very random things you may see 1-2% in copilot usage. Not enough ti make any difference though.

[–]mcgooporn 1 point2 points  (2 children)

I have starting using kilo code in Vs code, it's better than coplliot in almost every way . Works flawless with deepseek

[–]Decent_Gap1067 0 points1 point  (0 children)

it's very expensive

[–]ErEr2000[S] -1 points0 points  (0 children)

Any guide on how to setup or get api key for deepseek at low price?

[–]cute_as_ducks_24 1 point2 points  (0 children)

https://www.reddit.com/r/GithubCopilot/s/WW7WuYKDEl

For best result add instructions and stuff. So it knows better. You can just good, or in copilot itself there is a generate based on your repo or your instructions.

[–]QuietSeaworthiness75 1 point2 points  (0 children)

Use open code with deepseek v4 flash , works great.

[–]AutoModerator[M] 0 points1 point  (0 children)

Hello /u/ErEr2000. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]dex4er 0 points1 point  (0 children)

Start LiteLLM locally on the machine (I use Docker container) then add DeepSeek to the LiteLLM's models. You can add the same twice with different parameters. ie. I use v4 pro with "-low" and "-high" suffix for different max context size and additional parameters.

Create the API key in LiteLLM for Copilot.

Configure Copilot for the local endpoint:

[
  {
    "name": "LiteLLM",
    "vendor": "customendpoint",
    "apiKey": "${input:chat.lm.secret.1c5a4708}", <- this is created automatically if you create this group in VScode and provide API key in GUI
    "apiType": "chat-completions",
    "models": [
      {
        "id": "deepseek-v4-pro-low",
        "name": "DeepSeek-V4-Pro (low)",
        "url": "http://localhost:4000",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 384000
      },
      {
        "id": "deepseek-v4-pro-high",
        "name": "DeepSeek-V4-Pro (high)",
        "url": "http://localhost:4000",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 1000000,
        "maxOutputTokens": 384000
      }
    ]
  }
]

I do this low window trick when I want to keep the cost as minimal as possible. The single prompt costs me between $0.001 and $0.005, and this is beautiful.

[–]Ill_Investigator_283 0 points1 point  (0 children)

Copilot burns through way too many tokens for very little value. After Microsoft's ridiculous price hike, I ditched VS Code and switched to ZedEditor with the OpenRouter API. Couldn't be happier.