Michael-A-Kuykendall/shimmy
Rust GGUF inference server with selected OpenAI-compatible APIs for local workloads
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Shimmy is a Rust CLI and HTTP server for local dense GGUF inference. In 2.6.7, Airframe 0.4.6 is the default engine, with libfse in its dependency chain. serve takes an explicit model path and bind address; --ctx and --kv-quant set context and KV-cache configuration. Inference loads lazily by default. Warming a selected model moves cold work ahead of readiness rather than eliminating it.
The HTTP layer exposes selected OpenAI-compatible routes: model listing, JSON chat and text completions, and opt-in chat SSE. Chat defaults to JSON and text streaming is rejected. The tested contract covers exact prompt and completion token counts, stop and length finish reasons, and typed errors. Chat streaming supports stream_options.include_usage, and generation failures are surfaced as errors rather than successful completion.
Key Capabilities & Differentiators
The validated path uses F32 KV and reference kernels. It covers selected Qwen3-0.6B, Qwen3-1.7B, and Llama 3.2 3B Q4_K_M fixtures under specific context and execution settings. Full logits are compared against independent FP32 references using maximum absolute error of 0.1 and RMS error of 0.03, with matching measured greedy decisions. Being able to parse a GGUF file is not evidence that its model can run correctly.
Release 2.6.7 includes Metal upload-completion and macOS 64-token outer-prefill corrections. The frozen Apple M1 (Virtual) configuration with Apple Paravirtual Metal on macOS 15.8.2 passed 198/198 full-logit comparisons and integrated HTTP, state, reset, cancellation, and recovery checks. Earlier NVIDIA/WSL Vulkan results are separate evidence. Physical M4 remains untested; Qwen3.5 execution is unsupported.
Trade-offs & Limitations
Compared with the hosted OpenAI API, Shimmy keeps model execution under your control and can reuse a client that only needs the supported routes. You take on model qualification, GPU and driver compatibility, capacity planning, and service reliability. Size memory against the actual model, context, F32 KV cache, and expected concurrency; the certified fixtures do not establish a general VRAM or throughput envelope.
INT4/TurboShimmy and experimental kernels are rejected. Gemma2, MoE, MLA, recurrent, state-space, and multimodal executors are not enabled. The historical intermittent 8K stall, watchdog cleanup, WSL device destruction, and device loss during active generation remain open investigations; passing fixture checks does not settle those operational risks. Commercial redistribution is permitted under the applicable stack licenses, including the additional Apache-2.0 grant for libfse 0.1.4. Preserve dependency notices and check model terms separately.
Hardware & Deployment Guide
Use a verified 2.6.7 native archive and check its checksum, or build with a Rust toolchain via cargo install shimmy --version 2.6.7 --locked. With a working GPU driver and an admitted fixture, start with shimmy --ctx 512 --kv-quant f32 serve --model-path /path/to/model.gguf --bind 127.0.0.1:11435. The fast profile does not provide inference. The 2.6.6 distribution milestone was verified native bundles with licensing materials; 2.6.7 adds the qualified virtual M1 Metal path.
For Docker, pin the published 2.6.7 GHCR image: the root Compose file uses an unchanged latest tag, publishes port 11434 on all interfaces, and mounts ./models at /app/models. Do not carry over its commented INT4 setting. Loopback can run without a key; non-loopback binds require SHIMMY_API_KEY. Configure SHIMMY_ALLOWED_ORIGINS for browser origins and provide TLS and network access controls for remote use. With a key configured, only GET /health is exempt from credential checks, and origin checks still apply.
Teams running a verified dense GGUF model on a known GPU configuration that need local JSON completions or chat SSE through an OpenAI-compatible client.
You need broad API parity, arbitrary GGUF model support, text SSE, INT4 KV, or production guarantees on hardware and context settings you cannot qualify yourself.
Quick Start & Installation
cargo install shimmy --version 2.6.7 --locked shimmy --version shimmy --ctx 512 --kv-quant f32 serve --model-path /path/to/model.gguf --bind 127.0.0.1:11435
Comparison vs. Top LLMs & Inference Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| shimmy ★ | 6k | +19 | Rust | Apache-2.0 | Rust GGUF inference server with selected OpenAI-compatible APIs for local worklo |
| OmniRoute | 92.1k | +1.5k | TypeScript | MIT | Self-hosted OpenAI-compatible gateway for multi-provider routing and fallback |
| freellmapi | 62k | +2.6k | TypeScript | MIT | Self-hosted LLM gateway for routing across free tiers and custom endpoints |
| bifrost | 10.2k | +125 | Go | Apache-2.0 | Self-hosted Go gateway for routing and governing multi-provider LLM traffic |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Michael-A-Kuykendall/shimmy.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about shimmy
How should I validate an existing OpenAI-compatible client?
How should I size GPU memory and test runtime overhead?
Can I self-host Shimmy commercially or redistribute it with a product?
Can Shimmy replace the hosted 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