Skip to content

huggingface/huggingface-vscode-chat

Repository files navigation

🤗 Hugging Face Provider for GitHub Copilot Chat

Demo

Use frontier open LLMs like Kimi K2, DeepSeek V3.1, GLM 4.5 and more in VS Code with GitHub Copilot Chat powered by Hugging Face Inference Providers 🔥


⚡ Quick Start

  1. Install the HF Copilot Chat extension here.
  2. Open VS Code's chat interface.
  3. Click the model picker and click "Manage Models...".
  4. Select "Hugging Face" provider.
  5. Provide your Hugging Face Token, you can get one in your settings page. You only need to give it the inference.serverless permissions.
  6. Choose the models you want to add to the model picker. 🥳

✨ Why use the Hugging Face provider in Copilot

  • Access SoTA open-source LLMs with tool calling capabilities.
  • Single API to switch between multiple providers: Cerebras, Cohere, Fireworks AI, Groq, HF Inference, Hyperbolic, Nebius, Novita, Nscale, SambaNova, Together AI, and more. See the full list of partners in the Inference Providers docs.
  • Built for high availability (across providers) and low latency.
  • Transparent pricing: what the provider charges is what you pay.

💡 The free Hugging Face user tier gives you a small amount of monthly inference credits to experiment. Upgrade to Hugging Face PRO or Enterprise for $2 in monthly credits plus pay-as-you-go access across all providers!


Requirements

  • VS Code 1.104.0 or higher.
  • Hugging Face access token with inference.serverless permissions.

🛠️ Development

git clone https://github.com/huggingface/huggingface-vscode-chat
cd huggingface-vscode-chat
npm install
npm run compile

Press F5 to launch an Extension Development Host.

Common scripts:

  • Build: npm run compile
  • Watch: npm run watch
  • Lint: npm run lint
  • Format: npm run format

📚 Learn more


Support & License

About

A VSCode extension to use Hugging Face Inference Providers in Copilot Chat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published