diff --git a/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx b/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx
index badaa36e5..d9f1534f3 100644
--- a/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx
+++ b/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx
@@ -2,21 +2,27 @@
title: "Hugging Face"
---
-
- Get started with [Hugging Face Inference Endpoints](https://endpoints.huggingface.co/)
-
+Hugging Face is the main platform for sharing open AI models. It provides inference in two ways. [Inference Providers](https://huggingface.co/docs/inference-providers/index) and [Inference Endpoints](https://huggingface.co/docs/inference-endpoints/index).
-## Configuration
+## Inference Providers
+
+Inference Providers is a serverless service powered by external inference providers and routed through Hugging Face and paid per token.
+
+
+
+You can access your access token from [Hugging Face](https://huggingface.co/settings/tokens) and prioritize your [providers in settings](https://huggingface.co/settings/inference-providers/overview).
+
+
```yaml title="config.yaml"
models:
- - name:
- provider: huggingface-inference-api
- model:
+ - name: deepseek
+ provider: huggingface-inference-providers
+ model: deepseek-ai/DeepSeek-V3.2-Exp
apiKey:
- apiBase:
+ apiBase: https://router.huggingface.co/v1
```
@@ -24,11 +30,49 @@ title: "Hugging Face"
{
"models": [
{
- "title": "",
+ "title": "deepseek",
"provider": "huggingface-inference-api",
- "model": "",
+ "model": "deepseek-ai/DeepSeek-V3.2-Exp",
"apiKey": "",
- "apiBase": ""
+ "apiBase": "https://router.huggingface.co/v1"
+ }
+ ]
+ }
+ ```
+
+
+
+## Inference Endpoints
+
+Inference Endpoints is a dedicated service that allows you to run your open models dedicated hardware. It is a more advanced way to get inference from Hugging Face models where you have more control over the whole process.
+
+
+
+Before you can use Inference Endpoints, you need to create an endpoint. You can do this by going to [Inference Endpoints](https://endpoints.huggingface.co/burtenshaw/endpoints/dedicated) and clicking on "Create Endpoint".
+
+
+
+
+
+ ```yaml title="config.yaml"
+ models:
+ - name: deepseek
+ provider: huggingface-inference-endpoints
+ model:
+ apiKey:
+ apiBase: https://.aws.endpoints.huggingface.cloud
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "deepseek",
+ "provider": "huggingface-inference-endpoints",
+ "model": "",
+ "apiKey": "",
+ "apiBase": "https://.aws.endpoints.huggingface.cloud"
}
]
}