Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Hugging Face SDKs - 2 languages recorded

Hugging Face SDKs by language

Hugging Face ships official SDKs for Python and TypeScript.

Hugging Face also exposes an OpenAI-compatible router (https://router.huggingface.co/v1) for chat completions only: 'For other tasks like text-to-image, embeddings, or speech processing, use the Hugging Face inference clients shown above.'

Verified against each provider's own SDK docs and package registry pages. Status labels are the provider's own; no version numbers are recorded.

Hugging Face's SDK docs: huggingface.co/docs/inference-providers/index. Compare every provider in the SDK grid.

Official
the provider's own SDK.
Beta
the provider's own SDK, which it labels beta (Fireworks AI says alpha).
OpenAI SDK
the provider's docs point to the OpenAI SDK for this language.
Community
a library the provider's docs link but do not ship. Not official.
None
the provider's SDK docs list no SDK for this language.
-
Not recorded: no entry in the data for this language.

Python

Official SDK
Package
huggingface_hub (InferenceClient)
Install
Install
pip install huggingface_hub
Repo
github.com/huggingface/huggingface_hub
Docs
huggingface.co/docs/huggingface_hub/guides/inference

From the docs

For convenience, the huggingface_hub library provides an InferenceClient that automatically handles provider selection and request routing. ... When using the Hugging Face inference clients (JavaScript or Python), you can explicitly specify a provider or let the system choose automatically.
huggingface.co/docs/inference-providers/index
Python SDKs from every provider

TypeScript and JavaScript

Official SDK
Package
@huggingface/inference (huggingface.js)
Install
Install
npm install @huggingface/inference
Repo
github.com/huggingface/huggingface.js
Docs
huggingface.co/docs/inference-providers/index

From the docs

When using the Hugging Face inference clients (JavaScript or Python), you can explicitly specify a provider or let the system choose automatically.
huggingface.co/docs/inference-providers/indexwww.npmjs.com/package/@huggingface/inference
TypeScript SDKs from every provider

Not recorded

The data has no entry for Hugging Face in these languages. Hugging Face's SDK docs are linked for a direct check.

More on Hugging Face

Newsletter

Know when a provider ships a new SDK

One email per week. New models, new SDKs and the API changes that break your client, and what they mean for your stack.