List Hugging Face inference models
List the Hugging Face models that inference providers host.
Headers
Get your API keyAPI key (`sfk_...`)
Only models whose id contains this text.
min 1 chars · max 100 chars
Only models this provider serves.
pattern: ^[a-z0-9-]{1,40}$
Endpoint-specific response payload.
Whether the item was found.
one of: found, not_found
Models served by hosted inference providers.
Model id.
Model page URL.
Model owner.
When the model was listed (ISO-8601).
What the model accepts, e.g. `text`, `image`.
What the model produces.
Providers that serve the model, with price and speed.
Provider id.
Provider status, e.g. `live`.
Context window in tokens.
Price per million input tokens, in US dollars.
Price per million output tokens, in US dollars.
Whether the provider serves the model for free.
Whether tool calls are supported, when the provider reports it.
Whether structured output is supported, when the provider reports it.
Time to the first token in milliseconds.
Throughput in tokens per second.
Whether the provider is the model's author.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/hugging-face/inference-providers/models" \
-H "x-api-key: YOUR_API_KEY"Responses
Hosted inference models.