kllm

abdullahhsamir

A Python tool that hosts Hugging Face GGUF models on free Kaggle T4 GPUs behind an OpenAI-compatible API endpoint.

PythonCreated

What is abdullahhsamir/kllm?

kllm is a Python command-line utility that turns a free Kaggle notebook runtime into a personal GGUF model server accessible through an OpenAI-compatible API.

Users choose any GGUF checkpoint hosted on Hugging Face, and kllm launches it across Kaggle's pair of free Tesla T4 GPUs, opens a public endpoint URL, and prints an API key. From there, any AI coding tool or chat interface supporting custom OpenAI-compatible endpoints—including Qwen Code, Claude Code, Cline, Open WebUI, or custom Python and JavaScript scripts—can send inference requests without local GPU hardware or cloud API bills.

Independent developers, students, and experimenters wanting quick, zero-cost GPU hosting for open-weight GGUF language models can spin up kllm in one command whenever a Kaggle session is available.

Before you startThe README says

Needs
uv and Python 3.11 or newer
Accounts or paid services
Kaggle, Hugging Face (write-access token) and ngrok accounts; Kaggle gives about 30 GPU hours per week
How you get it
Clone the GitHub repo and run uv tool install --editable .
Not yet
Text models only; vision projector files are skipped

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.