AIDeveloper44 logoaideveloper44home of every ai dev release
← all tools
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
Visit WebsiteGitHub
on the blogPerplexity Releases Lily for Local Qwen 35B Inference on Apple Silicon 5 min

What 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.

Lily is an open-source inference engine developed by Perplexity AI, designed to maximize performance for the Qwen3.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.

The engine is built for strict, high-speed performance, featuring a minimal OpenAI-compatible HTTP API and a session prefix cache to optimize repeated prompts. It is part of the broader 'pplx-garden' repository, which provides specialized infrastructure tools for inference and model serving, reflecting Perplexity's focus on high-efficiency, hardware-specific optimization for large language models.

Lily is built by Perplexity AI and fits into the AI/Dev Infrastructure category. It was released on Sep 2, 2026.

Lily is free to use and open source, with the source code on GitHub. Teams typically use it for model serving, hardware acceleration, observability and sandboxing, with domain-specific use in Enterprise, Healthcare and Research labs.

Who Lily is for

Teams and individual developers working in AI/Dev Infrastructure.

ML and MLOps engineers

Serve, scale and monitor AI workloads

Platform engineers

Run AI infrastructure reliably and cost-efficiently

Researchers

Run experiments on GPUs, TPUs or other accelerators

Key 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