Free GPU backend for Claude Code, opencode and any OpenAI client: runs Qwen or any GGUF on Kaggle's free T4s behind a local OpenAI + Anthropic API. Starts, rotates and stops the notebooks for you. No local GPU.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/SANTHAN-KUMAR/kllmGuides for using ai agents skills like kllm.
See how kllm compares with popular alternatives.
pipx install kllm-gateway # or: uv tool install kllm-gateway, or the one-line installers below
kllm # opens the panel: paste your Kaggle token once
claude-kllm # Claude Code on a free 27B to 35B model, with its real context window
| Free GPUs, no notebook to babysit | The relay starts a Kaggle notebook on the first request, and stops it when you go idle. |
| Sessions past the 12-hour cap | A successor notebook starts early; your conversation moves with its prompt cache warm. |
| Claude Code, opencode, Qwen Code, Codex | OpenAI and Anthropic APIs on 127.0.0.1:8080, and one-click setup for each tool. |
| A team of agents | The Agents workspace runs harnesses in git worktrees, with checkpoints, approvals and guardrails. |
| 256K context on 2× T4 | Qwen3.6-35B at 70 tok/s short, 43 tok/s at 209K. 46 models in the library, any GGUF from Hugging Face. |
| Measured, not promised | 15,481 real requests over six weeks, 98.95% succeeded, 89.8% of prompt tokens from cache. |
kllm runs open-weight LLMs on Kaggle's free GPUs and gives your coding tools a local API for them.
It serves Qwen and other GGUF models (including abliterated ones) through llama.cpp on two free Tesla T4s,
behind an OpenAI and Anthropic compatible endpoint on 127.0.0.1. No local GPU, no API bill.
You never open a Kaggle notebook. The relay on your PC starts the GPU when a request arrives, keeps the tunnel alive through long prompts, moves your session to a fresh notebook before Kaggle's 12-hour cap, and stops the GPU when you go idle. To your tools it is just a server on localhost that is always there.
Your laptop has no GPU. You still want Claude Code to refactor a 2,000-line module on a 35B model, with a
256K context window, without paying per token. With kllm you install one package, paste a Kaggle token once,
and run claude-kllm. Ten minutes later the model is answering from two Tesla T4s in a Kaggle notebook, and
Claude Code talks to it as if it were running on 127.0.0.1.
That raises a few questions, answered below:
1. Install with one command. The one-line installers bring their own Python through uv.
| You have | Run |
|---|---|
| Nothing (Linux, macOS) | curl -fsSL https://raw.githubusercontent.com/SANTHAN-KUMAR/kllm/main/install.sh | sh |
| Nothing (Windows) | powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/SANTHAN-KUMAR/kllm/main/install.ps1 | iex" |
| uv | uv tool install kllm-gateway |
| pipx | pipx install kllm-gateway |
| pip | pip install kllm-gateway |
The package is kllm-gateway on PyPI. It installs two commands: kllm and claude-kllm.
2. Click the kllm icon, or run kllm. Either starts the local relay and opens the control panel in your
browser. On a first run the panel shows a four-step setup: add your Kaggle account, pick a model, connect a tool,
say hello. The one-line installers put the icon on your desktop and in the app menu; after a pip, pipx or uv
install, kllm shortcut adds it.
You need a Kaggle account with a verified phone number, because Kaggle only gives GPUs to verified accounts.
If ~/.kaggle/kaggle.json already exists, kllm finds it and skips the paste.
3. Use it.
claude-kllm # Claude Code on the default model
kllm update # upgrade when a new version is out (kllm tells you)
kllm uninstall # remove kllm completely (shows the list first)
opencode -m kllm/qwen3.6-35b-abliterated # opencode
kllm down # stop the GPU when you are done, to save quota
The first request starts a GPU if none is running. Expect about 8 to 10 minutes for a cold start, while Kaggle boots the notebook and downloads the model. The request waits and then continues on its own.
Your tools never talk to Kaggle. They talk to a small relay on your PC (one Python process, about 55 MB of RAM), and the relay does the Kaggle work.
sequenceDiagram
autonumber
participant T as Claude Code
participant R as kllm relay (your PC)
participant K as Kaggle notebook (2x T4)
T->>R: first request for qwen3.6-35b-abliterated
R->>K: push a private notebook with your Kaggle token
Note over K: build llama.cpp, download the model, open a tunnel
K-->>R: tunnel URL, sealed and signed
R->>K: forward the request through the tunnel
K-->>T: streamed answer (the relay sends keep-alives while it waits)
After that, every request goes straight from the relay through the tunnel. The relay keeps each conversation on the same GPU so the prompt cache stays warm: in measured sessions, 99% of each turn's prompt came from the cache at 55K tokens of context. Details are in How kllm works.
These three are measured on two T4s, in benchmarks and in daily use. The panel lists 46 models in all, and adds any GGUF or diffusers repo from Hugging Face.
| Model | Best for | Context | Measured speed | Real requests |
|---|---|---|---|---|
qwen3.8-27b (and its -vision, -abliterated, -256k variants) |
Highest answer quality; dense 27B; the vision variant reads screenshots | 128K, or 256K | 16 to 19 tok/s | 6,889 at 99.3% success, up to 190K context |
qwen3.6-35b-abliterated (default) |
Long agent sessions at speed; MoE, thinks before answering | 256K | 70 tok/s short, 43 tok/s at 209K | 3,109 at 99.9% success, up to 236K context |
qwen3-coder-30b-abliterated |
Fastest turnaround, no thinking | 96K | 84 tok/s short, 35 tok/s at 84K | benchmarks only |
Speeds for the two MoE models come from benchmarks at the stated context. The qwen3.8-27b range is the median
decode speed over real Claude Code and opencode requests that produced at least 200 tokens.
kllm is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by SANTHAN-KUMAR. Free GPU backend for Claude Code, opencode and any OpenAI client: runs Qwen or any GGUF on Kaggle's free T4s behind a local OpenAI + Anthropic API. Starts, rotates and stops the notebooks for you. No local GPU. It has 53 GitHub stars.
kllm's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/SANTHAN-KUMAR/kllm" and add it to your Claude Code skills directory (see the Installation section above).
kllm is primarily written in Python. It is open-source under SANTHAN-KUMAR on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh kllm against similar tools.
No comments yet. Be the first to share your thoughts!