by perkel666
The fastest inference engine for Qwen3.8-27B on the NVIDIA RTX 5090: up to 500 tokens/s for one agent and up to 2,000 tokens/s for many, contexts up to 1M tokens, and a launcher that shows what every setting costs. Windows and Linux.
# Add to your Claude Code skills
git clone https://github.com/perkel666/MegaCapybaraSee how MegaCapybara compares with popular alternatives.
MegaCapybara is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by perkel666. The fastest inference engine for Qwen3.8-27B on the NVIDIA RTX 5090: up to 500 tokens/s for one agent and up to 2,000 tokens/s for many, contexts up to 1M tokens, and a launcher that shows what every setting costs. Windows and Linux. It has 50 GitHub stars.
MegaCapybara'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/perkel666/MegaCapybara" and add it to your Claude Code skills directory (see the Installation section above).
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 MegaCapybara against similar tools.
No comments yet. Be the first to share your thoughts!
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 is an informational directory 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.
State-of-the-art inference for Qwen3.8-27B on the RTX 5090, for one agent and for many at once:
| Tokens per second | Tiny | Small | Medium | Large | XXL |
|---|---|---|---|---|---|
| One agent coding | 540 | 495 | 440 | 377 | 313 |
| 8 agents coding, in total | 1,890 | 1,754 | 1,638 | 1,427 | 1,254 |
Greedy decoding with thinking off, on an RTX 5090 with its memory overclocked by 20%. A stock card is somewhat slower.
Agents never work in step: one reads a 100K-token codebase while another writes a two-line fix. So instead of a fixed slice each, MegaCapybara gives them one shared pool of context:
Fixed slots are one switch away if you prefer them.
Before every GPU step, the scheduler decides what runs:
When an agent sends its next request, its conversation is usually still cached: in VRAM, in RAM (back in about 3 ms) or on disk (back in seconds). The reply starts right away instead of reading a long prompt again from the start.
Every model file carries its own accuracy scores, measured against Qwen's original weights, and every setting has a measured cost. The launcher adds them up for exactly the settings you pick:
Switch to a smaller model or a 4-bit KV cache and you see right away what you trade for the extra speed or context.

Top-1 agreement is how often the model picks the same next token as Qwen's original weights: higher is closer. Unsloth's GGUF quants are widely considered the state of the art for running models locally, so here is how our model files compare with them, size for size.
Unsloth's stay a little closer at the same size. Ours use the 4- and 6-bit formats that the RTX 5090 computes natively, which is where MegaCapybara's speed comes from.
Hover any ? in the launcher for a plain explanation of its setting: an animated picture, the options compared on
your PC, and their pros and cons. The animations on this page are taken from those panels.

Press the arrow next to the model to list every model file on Hugging Face, then download one with a click:

MegaCapybara speaks both OpenAI's and Anthropic's APIs, including tool calls, thinking and images. Point your client at it:
| Client | Base URL |
|---|---|
| OpenCode, Cline, Continue, Open WebUI and other OpenAI-compatible clients | http://127.0.0.1:8080/v1 |
| Claude Code and Anthropic's SDKs | http://127.0.0.1:8080 |
Setup for each client: docs/USAGE.md.
The launcher is optional. The presets folder has ready-made start scripts, .bat on Windows and .sh on Linux:
the launcher's three presets and six more, one for each model size and number of agents. Run one and the server
starts with a live dashboard showing the speed, prompt reading, each agent's context, and what every conversation is
doing.


Every option is in docs/USAGE.md and in megacapybara --help.
MegaCapybaraLauncher. Windows may warn you once because the programs are not code-signed: click
More info, then Run anyway.http://127.0.0.1:8080/v1 and set its context size to the number under
Context size for your front end.Nothing else to install: the programs are self-contained and the folder can live anywhere you can write to. On Linux, the launcher uses the desktop's own X11, Cairo, Pango and libcurl, and offers to install any that are missing.
Converted from Qwen/Qwen3.8-27B, in five sizes: perkel/Qwen3.8-27B-MC.
| Size | VRAM | KL divergence | Top-1 agreement | Coding, 1 agent | 8 agents | 12 agents | Good for |
|---|---|---|---|---|---|---|---|
| Tiny | 12.70 GiB | 0.0582 | 92.7% | 537 tok/s | 2,333 tok/s | 2,782 tok/s | the most speed and context |
| Small | 13.67 GiB | 0.0478 | 93.8% | 499 tok/s | 2,379 tok/s | 2,584 tok/s | speed, with a little more accuracy |
| Medium | 15.39 GiB | 0.0298 | 95.2% | 436 tok/s | 2,203 tok/s | 2,529 tok/s | the balance, and the presets' choice |
| Large | 18.66 GiB |