🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?
Claim this page →
hf-claude
Launch Claude Code with Hugging Face Inference Providers
git clone https://github.com/huggingface/hf-claude
hf-claude
extension for hf to launch Claude Code with Hugging Face Inference Providers
It lets you pick:
- model (from
https://router.huggingface.co/v1/models) - provider (
autoor a concrete provider for the selected model)
Then it runs claude --model <model[:provider]> with the required env vars preconfigured.
Requirements
- Claude Code CLI installed
curl,jq,bashfzf(optional) — enables fuzzy model/provider search; without it the launcher falls back to an arrow-key menu (↑/↓ to move, Enter to select)- A Hugging Face token, via either:
curl -LsSf https://hf.co/cli/install.sh | bash
hf auth login
# or
export HF_TOKEN='hf_...'
Install
hf extensions install hf-claude
# add --force to reinstall the extension
Run
hf claude
# or
hf extensions exec claude
Forward extra args to Claude Code:
hf claude --help
hf extensions exec claude -- --help
Billing to an organization
To bill inference usage to a Hugging Face organization instead of your personal
account, pass --bill-to (you must have Write privileges in the org):
hf claude --bill-to your-org-name
This sets the router's X-HF-Bill-To header (via ANTHROPIC_CUSTOM_HEADERS) on
every request. You can also set it via the HF_BILL_TO environment variable:
export HF_BILL_TO=your-org-name
hf claude
// compatibility
| Platforms | cli |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | — |
| Pricing | open-source |
| Language | Shell |
// faq
What is hf-claude?
Launch Claude Code with Hugging Face Inference Providers. It is open-source on GitHub.
Is hf-claude free to use?
hf-claude is open-source, so it is free to use.
What category does hf-claude belong to?
hf-claude is listed under devops in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/hf-claude)
// retro hit counter
[](https://claudeers.com/hf-claude)
// reviews
// guestbook
// related in DevOps & CI/CD
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI…
Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.
Roadmap to becoming an ASP.NET Core developer in 2026
Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antig…