Skip to main content
kRouter
All providers

Pay-per-token

hf/

HuggingFace

HuggingFace — connect via API key.

huggingface.co

Quick setup

  1. Open the kRouter dashboard at http://localhost:20128

  2. Go to Providers → click HuggingFace

  3. Paste your API key, click Save

  4. Test the connection

Use in your IDE

Point any OpenAI-compatible client at kRouter using your local API key.

ide configbash
# Endpoint
http://localhost:20128/v1

# API key (from Dashboard → API Keys)
sk-krouter-XXXX

# Model
hf/<model-id>