yasakani-dev/yasakani
Native single-RTX inference for offline chat, code editing, and an OpenAI-compatible API
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
YASAKANI separates local setup and serving from GPU execution. quickstart/quickstart.py and quickstart/chat.html provide the browser setup and chat workspace; the local server exposes an OpenAI-compatible API at http://127.0.0.1:8765/v1. Inference runs in native libraries: yskn.dll on Windows and libyskn.so on Linux cover Qwen3.8 and Gemma 4, while Windows packages Inkling separately as yskn_inkling2.dll. CMakeLists.txt is present, and Linux exposes -DYSKN_WITH_INK2=ON for an Inkling build.
The v0.5.0 runtime unifies KV caching across all three families under 4-bit RotG4, reducing the cost of retaining context separately from weight quantization. On the edit path, wide copy passes verify up to 64 copied tokens in one model pass; startup checks bit-exact agreement against 16-token passes and enables only widths that improve speed on the card. The optional DeepSeek Harness is a client of the running local server, not a second model runtime.
Key Capabilities & Differentiators
Qwen3.8-27B comes in four converted variants: Lightweight targets 12 GB RTX cards, Fastest targets 16 GB, and Quality and Max-quality target 24 GB or more. The experimental 24 GB options have distinct roles: Inkling-2 Mini accepts text and still images, while Gemma 4 31B is text-only and pairs a quantized main model with a helper draft model. Qwen's browser controls switch between standard T=1 and recurrent T=2 or T=3, with a verified adapter download on first use.
For integrations, v0.5.2 adds constrained json_object and json_schema decoding and required or named tool selection for Qwen3.8 and Gemma 4. Exact stop-string pruning aligns completion_tokens with the truncation boundary. The browser supports conversation branching and offline syntax highlighting, while the diagnostics view and Prometheus /metrics expose runtime signals such as VRAM usage, speculative acceptance, and prefix-cache behavior.
Trade-offs & Limitations
Compared with the hosted OpenAI API, YASAKANI keeps inference on the workstation and offers a familiar integration surface, but the operator owns model storage, RTX drivers, VRAM sizing, and client compatibility testing. That trade makes sense for local file editing and data that should stay on the machine; it is less attractive when managed capacity or broader API coverage matters. The developer tested only on the RTX 5090. Other RTX recommendations are not equivalent to first-party validation.
The headline 2,298 tok/s result is from a v0.1.4 JSONL task that changed one record in 60 and returned the whole file, on one RTX 5090 with thinking off and prompt reading excluded. It is not a general generation or time-to-first-token figure. Experimental --parallel N defaults to one: at 16 concurrent requests, 12 public prompts achieved 1.1–6.6× aggregate throughput, while copy-heavy edits ran at 0.42–0.59× single-stream speed under batching. More slots reduce per-request context, and prompt reading can pause other slots. Validate with your own traffic before relying on it for shared serving.
Hardware & Deployment Guide
On Windows, the quickstart calls for 64-bit Windows 11, Python 3.10+, NVIDIA driver 580+, the Visual C++ 2015–2022 x64 runtime, and about 20 GB of free disk space. Extract the v0.5.2 quickstart archive to a plain ASCII path and launch START.cmd. On Linux, clone the project and use ./START.sh. The browser wizard checks the GPU, driver, and disk, shows model choices by VRAM tier, and supports resumable downloads. After setup, the workspace is served on loopback only by default.
v0.4.4 added native recurrent Qwen reasoning with browser switching and SHA-256 verification of the adapter. v0.5.0 consolidated the KV cache; v0.5.2 builds on that engine with the browser-first setup, Linux launcher, an extra 512 MiB Linux safety margin for 16 GB cards, metrics, and CI. Model and adapter downloads are separate from offline inference. For an isolated installation, stage the required artifacts in advance and disable automatic update checks with --no-update-check.
yskn.dll on Windows and libyskn.so on Linux./metrics and browser diagnostics expose prefix-cache behavior, VRAM use, and speculative acceptance.Developers with an RTX workstation who want local Qwen chat, repeated code or JSONL edits, or an OpenAI-compatible endpoint for editor integrations.
You need managed scaling, broad model or GPU support, full OpenAI API parity, or dependable multi-user throughput without validating the workload yourself.
Quick Start & Installation
yasakani serve --model-dir D:\models\qwen38-quality --parallel 4
Comparison vs. Top LLMs & Inference Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| yasakani ★ | 161 | +24 | Python | Apache-2.0 | Native single-RTX inference for offline chat, code editing, and an OpenAI-compat |
| OmniRoute | 92.2k | +1.4k | TypeScript | MIT | Self-hosted OpenAI-compatible gateway for multi-provider routing and fallback |
| ollama | 189.1k | +741 | Go | MIT | Go-based LLM serving layer for local model management and inference |
| nano-vllm | 16.7k | +95 | Python | MIT | A compact vLLM-style Python engine for offline GPU batch inference |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/yasakani-dev/yasakani.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about yasakani
How do I connect my existing client, and what compatibility should I test?
http://127.0.0.1:8765/v1. The Python server fronts the native inference engine. Qwen3.8 and Gemma 4 support constrained JSON and required or named tool selection, but that does not establish parity with the full OpenAI API. Test the response shapes and tool behavior your client depends on.What should I run on a 16 GB RTX card?
What should a commercial self-hosting review cover?
When is this a practical replacement for the OpenAI API?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy