llama-crab
Run local GGUF models from your applications
llama-crab is a Rust SDK, installable HTTP server, Tauri plugin, and TypeScript client for running local llama.cpp models. Current version: 0.1.8 (Rust crates and TypeScript packages released in lockstep). MSRV: 1.88.
Start with the surface you plan to use:
Pick the integration that matches your stack
Built for production workloads
Five products, one runtime
llama-crab (Rust SDK), llama-crab-server (HTTP server), tauri-plugin-llama-crab (Tauri v2 plugin), @llama-crab/core (TS contracts), and @llama-crab/tauri (TS client). All are at version 0.1.8.CPU and GPU backends
Pick a Cargo feature for your target:
openmp for CPU, metal for Apple Silicon, cuda for NVIDIA, vulkan, rocm, or opencl for AMD/cross-vendor, and kleidiai for Arm. mtmd enables multimodal vision.OpenAI-compatible API
Local models speak the same shape as OpenAI: 12 routes including
/v1/chat/completions, /v1/completions, /v1/embeddings, /v1/rerank (with three aliases), and extras for tokenization and model listing. SSE streaming follows the OpenAI event format.Mobile presets
LowRam, Balanced, and GpuMax presets match device class so you can ship the same API across phones, laptops, and workstations. The server mirrors the presets through --mobile-preset low-ram | balanced | gpu-max.