Inference Providers: Best Way to Build with Open Source Models

Опубликовано: 24 Март 2026
на канале: HuggingFace
15,335
585

Create your account Today 👉 https://huggingface.short.gy/join

Learn how to call open-source AI models through one consistent Hugging Face Inference Providers API: run chat completions with LLMs, generate images, and create embeddings with real Python examples. Choose models and providers from the Hub, reuse OpenAI-compatible clients, compare pricing, and deploy to production—swap models or providers with one line and use free monthly credits with zero Hugging Face markup.

---
🤓 Topics Covered
Hugging Face Inference Providers overview: single API for open-source models
Finding models on the Hub with the “Inference available” filter
Creating a fine‑grained Hugging Face access token and enabling “Make calls to inference providers”
Pricing and billing: zero Hugging Face markup; same as calling providers directly
Free monthly credits ($0.10 Free, $2 Pro) and monitoring usage in the Inference Providers dashboard

---
⏰ Timestamps
0:00:00 - Intro: What are HF Inference Providers?
0:01:07 - Selecting models & providers on the Hub
0:04:32 - Creating HF access token
0:06:08 - Chat completions with open‑source LLMs
0:10:09 - Text‑to‑image generation
0:12:30 - Embeddings for RAG
0:14:36 - Pricing, credits, and production tips