Hugging Face — Free LLM API

6 free models available — credit card may be required. Get API key →

All Free Hugging Face Models — Context Windows & Rate Limits

Model Context Max Output Modality Rate Limit Status
Meta-Llama-3.1-8B-Instruct 128K 4K text ~1,000 RPD Details
Mistral-7B-Instruct-v0.3 32K 4K text ~1,000 RPD Details
Mixtral-8x7B-Instruct-v0.1 32K 4K text ~1,000 RPD Details
Phi-3.5-mini-instruct 128K 4K text ~1,000 RPD Details
Qwen2.5-7B-Instruct 131K 4K text ~1,000 RPD Details
+ thousands of community models 131K 131K text ~$0.10/month free credits Details

Frequently Asked Questions about Hugging Face Free API

Is Hugging Face free to use?

Hugging Face offers a permanently free tier with 6 available models. Account creation is required, and a credit card may be needed to activate the free tier.

What models does Hugging Face offer for free?

Hugging Face provides 6 free models covering chat use cases. Supported modalities include text. Browse the full list above with context windows and rate limits.

How do I use Hugging Face with Claude Code or Cursor?

Click "Details" on any model above to get one-click configuration snippets for Claude Code (cc), Cursor, Codex, and more. All Hugging Face models listed here use an OpenAI-compatible endpoint, so any tool that accepts a custom baseURL will work.