Hugging Face

Hugging Face

🟢 275ms 每月免费赠送 $0.10 额度【PRO 会员 $2.00】,约 200 万 Llama 8B Token 📏 128k 30 RPM

🛡️ 🛡️ Free Tier Policy & Rate Limits

Monthly Serverless Credit No Credit Card Email Only · No ID Zero Unexpected Bill
Context Window 128k
Rate Limit RPM 30 RPM
Daily Quota & Reset 1000 RPD · Monthly Reset on 1st
Auth & Card Requirement No Card Needed
Supported Capabilities:
📝 Text Generation

📋 Core Endpoint & Model Parameters

OpenAI API Compatible
Base URL
https://router.huggingface.co/v1
Model ID
meta-llama/Llama-3.3-70B-Instruct
Alternate Model Identifiers
🟢 [Instant Free Token] Sign in to Hugging Face and create your free API Token under Settings -> Access Tokens
👉 30秒直达 Hugging Face 领 Key

💡 Caveats & Rate Limits

🎯 Global leader in open-source AI · Aggregates 14 inference clouds · Free $0.10/mo credit [~2M tokens] with zero card required

📋 Free Tier Quota Rules and Constraints

  • Sign in with Hugging Face account for free monthly serverless credits
  • Access thousands of community embeddings, classifiers and models
  • No credit card required, ideal for light testing

🛡️ Zero-Billing Protection and Risk Prevention

Returns 429 when monthly free quota is used. Zero billing risk.

Quick Integration Code and Client Setup

🍒 Connect Cherry Studio
curl https://router.huggingface.co/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "meta-llama/Llama-3.3-70B-Instruct",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://router.huggingface.co/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="meta-llama/Llama-3.3-70B-Instruct",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content or ""
    print(content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://router.huggingface.co/v1",
  apiKey: "YOUR_API_KEY"
});

const stream = await client.chat.completions.create({
  model: "meta-llama/Llama-3.3-70B-Instruct",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
{
  "apiProvider": "openai",
  "openAiBaseUrl": "https://router.huggingface.co/v1",
  "openAiApiKey": "YOUR_API_KEY",
  "openAiModelId": "meta-llama/Llama-3.3-70B-Instruct"
}
AUTHORITATIVE

Benchmark Overview

Authoritative Measured Benchmark Signals
Intelligence 7.7/100

General reasoning and instruction following

Coding 11.9/100

Programming and code generation

Agentic 0.3/100

Tool use and multi-step tasks

Speed 88 tok/s

Observed generation speed

Context 128K

Maximum listed context window

✓ ✓ Copied