Lewati ke konten
Logo Hugging Face

Hugging Face

5 model tercatat di sumber komunitas

  • Chat & teks

Mulai pakai Hugging Face

Token digunakan di layanan penyedia. Ikuti syarat dan batas paket gratis di sana.

Batas gratis dari sumber: $0.10 kredit

Catatan sebelum mulai

$0.10/month in Inference Provider credits for free users (subject to change). Routes to Fireworks, Together, Hyperbolic, Nebius, Novita, DeepInfra and others. Thousands of models.

Mulai di Hugging Face (tab baru)

Membuka halaman resmi penyedia.

Setelah membuka penyedia

Alur umum; langkah dan persyaratan tiap layanan bisa berbeda.

  1. 1. Cek paket gratisnya.
    Lihat batas pemakaian dan syarat akun. Jika diminta, daftar atau masuk.
  2. 2. Buat API key jika diperlukan.
    Ikuti petunjuk di dashboard penyedia. Simpan key untuk kamu sendiri.
  3. 3. Pilih model dan hubungkan.
    Gunakan model gratis yang tersedia di aplikasi atau proyek yang mendukung penyedia ini.

Model & batas pemakaian

Periksa model yang ingin dipakai. Batas dan kemampuan bisa berbeda untuk setiap model.

Model tersedia (5+)

gemma-3-4b-it
google/gemma-3-4b-it
Modality
Text
Context
131K
Output
~4K
Rate limit
Credit-metered
Qwen2.5-7B-Instruct
Qwen/Qwen2.5-7B-Instruct
Modality
Text
Context
131K
Output
~4K
Rate limit
Credit-metered
Qwen2.5-Coder-7B-Instruct
Qwen/Qwen2.5-Coder-7B-Instruct
Modality
Text
Context
131K
Output
~4K
Rate limit
Credit-metered
Meta-Llama-3.1-8B-Instruct
meta-llama/Llama-3.1-8B-Instruct
Modality
Text
Context
128K
Output
~4K
Rate limit
Credit-metered
phi-4
microsoft/phi-4
Modality
Text
Context
16K
Output
~4K
Rate limit
Credit-metered

+ thousands of community models model lainnya — lihat daftar lengkap di sumber.

Pasang di proyekmu: contoh kode

Sudah punya akses? Pilih model dan bahasa pemrograman, lalu salin contohnya.

import OpenAI from "openai";

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

const response = await client.chat.completions.create({
  model: "google/gemma-3-4b-it",
  messages: [{ role: "user", content: "Halo!" }],
});

console.log(response.choices[0].message.content);
.env
HUGGING_FACE_API_KEY=your-api-key-here

Belum punya API key? Ambil di halaman resmi Hugging Face ↗.

FAQ

Apakah API Hugging Face gratis?

Ya — $0.10 kredit. Data dari mnfst/awesome-free-llm-apis, freellm.net, terakhir di-sync 18 Okt 2026 — cek sumber untuk kondisi terbaru.

Ada berapa model gratis di Hugging Face?

5 model tercantum per 18 Okt 2026, termasuk gemma-3-4b-it, Qwen2.5-7B-Instruct, Qwen2.5-Coder-7B-Instruct.

Berapa rate limit Hugging Face?

Beda-beda per model, contoh: gemma-3-4b-it: Credit-metered; Qwen2.5-7B-Instruct: Credit-metered; Qwen2.5-Coder-7B-Instruct: Credit-metered. Limit lengkap per model, lihat tabel di atas.

Berapa context window maksimal di Hugging Face?

131K (gemma-3-4b-it).