← all tools
on the blogPerplexity Releases Lily for Local Qwen 35B Inference on Apple Silicon 5 min
Perplexity AI·Sep 2, 2026·open source
Lily
Lily is a high-performance, lightweight inference engine written in Rust and optimized specifically for running the Qwen3.6-35B-A3B model on Apple Silicon.
AI/Dev InfrastructureOpen SourceFree
on the blogPerplexity Releases Lily for Local Qwen 35B Inference on Apple Silicon 5 minWhat is Lily?
Lily is a high-performance, lightweight inference engine written in Rust and optimized specifically for running the Qwen3.6-35B-A3B model on Apple Silicon. It utilizes custom Metal kernels to bypass standard frameworks like PyTorch or MLX, providing a minimal OpenAI-compatible API for greedy text generation.
6-35B-A3B model on Apple Silicon hardware. By implementing custom Metal kernels and a specialized Rust runtime, Lily achieves significant throughput improvements over general-purpose frameworks like MLX-LM, making it a highly efficient solution for local, on-device LLM execution.
Who Lily is for
Teams and individual developers working in AI/Dev Infrastructure.
ML and MLOps engineers
Serve, scale and monitor AI workloadsPlatform engineers
Run AI infrastructure reliably and cost-efficientlyResearchers
Run experiments on GPUs, TPUs or other acceleratorsKey features
01Custom Metal kernels for Apple Silicon optimization
02Minimal OpenAI-compatible chat completions API
03Fixed-block attention and GQA packing for high-speed decoding
04Session prefix cache for efficient prompt reuse
05Strict, greedy-only decoding for predictable performance
Lily use cases
Horizontal · cross-industry
Model servingHigh-throughput inference with batching and KV/prefix caching
Hardware accelerationRun on GPUs, TPUs or Trainium
ObservabilityTrace LLM calls, latency, token usage and cost
Vertical · domain-specific
EnterpriseSelf-hosted inference in a VPC to keep data in-house
HealthcareOn-prem deployment for PHI and data residency
Research labsDistributed training and evaluation on accelerator clusters
Lily alternatives
browse all →Splashopen sourceSplash is a high-performance, open-source local inference engine specifically optimized for Apple silicon.Copperopen sourceCopper is a deterministic, data-oriented operating system and runtime for robotics written in Rust.Flareopen sourceFlare is a specialized local inference server designed for NVIDIA SM120/SM121 GPUs, optimized for long-context conversations, coding agents, and repeated tool use.