Skip to content

Add Hugging Face as a BYOK Provider #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

hanouticelina
Copy link

Hello there, I'm Célina from Hugging Face 🤗

This small PR introduces support for Hugging Face Inference Providers, giving VS Code users access to sota open source LLMs such as Qwen3-Coder, Kimi-K2 and many more. We’re fully OpenAI‑API compatible and expose a model info endpoint here: https://router.huggingface.co/v1/models

Changes Made

  1. New provider: HuggingFaceBYOKModelRegistry
    • Extends BaseOpenAICompatibleBYOKRegistry (same pattern as OpenRouter, Gemini, etc..)
    • Filter models by tool calling support and fetch model information when available, similarily to OpenRouter.
  2. Registration: adds the provider to byokContribution.ts.

We're very excited about this and happy to iterate fast on any requested changes to make this land sooner. Let us know if there is anything that would help get this merged!

Looking forward to your feedback! 🤗

cc @julien-c, @Wauplin, @gary149, @SBrandeis

@hediet hediet assigned roblourens and isidorn and unassigned hediet Jul 28, 2025
@roblourens roblourens assigned lramos15 and unassigned roblourens Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants