FeaturedFreemium

Hugging Face Inference API

The Hugging Face Inference API allows developers to run machine learning models instantly without hosting them. It supports tasks like text generation, sentiment analysis, image classification, translation, and question answering. With a simple API call, developers can integrate powerful AI features into apps, chatbots, or analytics tools.

1

Endpoints

0

Views

Aug 19, 2025

Last Checked

NaN

Rate Limit

API Endpoints

Run inference on Hugging Face models

Full URL

https://api-inference.huggingface.co/models/models/{model_id}

Code Examples

curl -X POST 'https://api-inference.huggingface.co/models/models/{model_id}' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

{
  "inputs": "Hello world",
  "model_id": "bert-base-uncased"
}

Example Response

{
  "output": [
    {
      "label": "POSITIVE",
      "score": 0.999
    }
  ]
}

Version

v1

Rate Limit

Limited free tier
Tags
aimlnlp
Technical Details
Authentication
API Key
Response Formats
JSON
Availability
global
Status
Published
Rate Limits

Limited free tier

Supported Languages
PythonJavaScript
Use Cases
sentiment analysis
text generation
image classification
Hugging Face Inference API – AI Models & NLP | Free API Hub