Hugging Face Mirror Gateway
High-performance, stable model weights & datasets downloading for AI developers, researchers, and universities worldwide. Direct streaming reverse proxy for backend download interfaces. Transparent token pass-through with zero credentials stored.
π Quick Start: One Environment Variable to Accelerate
Compatible with official huggingface-cli, Transformers Python SDK, Git LFS, and Docker containers.
Set HF_ENDPOINT in your terminal, then invoke huggingface-cli:
export HF_ENDPOINT="https://hf-mirror.net"
huggingface-cli download --resume-download deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --local-dir DeepSeek-R1-32B
$env:HF_ENDPOINT = "https://hf-mirror.net"
huggingface-cli download --resume-download deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --local-dir DeepSeek-R1-32B
export HF_TOKEN="hf_xxx" to authenticate.
Popular Open-Source Models
One-click commands to pull current top-ranking LLMs, Multimodal, and Vision weights
DeepSeek-R1-Distill-Qwen-32B
Leading open-source reasoning model driven by pure reinforcement learning (RL) with chain-of-thought logic.
Qwen2.5-72B-Instruct
Flagship model with 128K context window, superior coding, math reasoning, and multilingual comprehension.
Llama-3.3-70B-Instruct
Meta's state-of-the-art open-weights model matching 405B capabilities with streamlined 70B compute footprint.
FLUX.1-dev
12B DiT text-to-image foundation model delivering stunning visual quality, anatomy accuracy, and typography rendering.
Qwen2.5-Coder-32B-Instruct
Top-tier open-source coding model with 128K context, repository comprehension, and native Continue plugin compatibility.
whisper-large-v3-turbo
Lightweight speech recognition model offering 8x faster inference speed and low VRAM footprint with high multilingual precision.
HF-Mirror Gateway Architecture & Data Topology
Traditional international connections frequently drop large files due to cross-border packet loss and TCP window collapse. HF-Mirror utilizes an intelligent, layered proxy pipeline:
The local CLI or SDK sends resolve requests to hf-mirror.net. The gateway resolves repo metadata and routes requests to high-bandwidth edge backbones.
Data streams are forwarded on the fly via high-speed transit with zero disk caching, ensuring maximum download speeds up to your local physical bandwidth limit.
Authorization headers (Bearer Token) are forwarded directly to official verification endpoints without intermediate logging or storage.
Direct Connection vs HF-Mirror Acceleration
Comparing download reliability and throughput when pulling modern 30GB+ large language models:
| Dimension | Direct Connection | HF-Mirror Gateway |
|---|---|---|
| Peak Speed | 100KB/s ~ 2MB/s (Fluctuating) | 20MB/s ~ 100MB/s+ (Max Out Wire) |
| Stability | Frequent Connection Reset (EOF) | Dedicated High-Availability Backbone |
| Resume Support | Broken pipe restarts from 0% | Native HTTP Range partial chunks |
| Gated Repo Tokens | Manual VPN / Proxy config needed | Transparent pass-through, zero config |