---
title: "Lily by Perplexity AI | AIDeveloper44"
url: https://aideveloper44.com/product/lily-6a992ed3e36f8ec65052e7dc
description: "Lily is a high-performance Metal inference engine by Perplexity AI, optimized for running Qwen3.6-35B-A3B models on Apple Silicon with an OpenAI-compatible API."
lang: en
---

← all tools (https://aideveloper44.com/)

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 Infrastructure Open Source Free

Visit Website: https://www.perplexity.ai/hub/blog/optimizing-on-device-inference-for-apple-silicon
GitHub: https://github.com/perplexityai/pplx-garden/tree/main/lily

on the blog Perplexity Releases Lily for Local Qwen 35B Inference on Apple Silicon 5 min (https://aideveloper44.com/blog/perplexity-lily-on-device-inference-apple-silicon)

## 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

01 Custom Metal kernels for Apple Silicon optimization

02 Minimal OpenAI-compatible chat completions API

03 Fixed-block attention and GQA packing for high-speed decoding

04 Session prefix cache for efficient prompt reuse

05 Strict, greedy-only decoding for predictable performance

## Lily use cases

### Horizontal · cross-industry

Model serving High-throughput inference with batching and KV/prefix caching

Hardware acceleration Run on GPUs, TPUs or Trainium

Observability Trace LLM calls, latency, token usage and cost

### Vertical · domain-specific

Enterprise Self-hosted inference in a VPC to keep data in-house

Healthcare On-prem deployment for PHI and data residency

Research labs Distributed training and evaluation on accelerator clusters

## Lily alternatives

browse all → (https://aideveloper44.com/)

Splash open source Splash is a high-performance, open-source local inference engine specifically optimized for Apple silicon.: https://aideveloper44.com/product/splash-6aff71cd710a30b68b82a8b0
Copper open source Copper is a deterministic, data-oriented operating system and runtime for robotics written in Rust.: https://aideveloper44.com/product/copper-6afce1252cc2328762e51288
Flare open source Flare is a specialized local inference server designed for NVIDIA SM120/SM121 GPUs, optimized for long-context conversations, coding agents, and repeated tool use.: https://aideveloper44.com/product/flare-6aecaf5d5dfc97daccae7f55

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "@type": [
      "WebSite",
      "NewsArticle"
    ],
    "name": "AIDeveloper44",
    "url": "https://aideveloper44.com",
    "isAccessibleForFree": true,
    "isPartOf": {
      "productID": "CAowsfXgCw:openaccess",
      "@type": [
        "Product"
      ]
    }
  },
  {
    "@context": "https://schema.org",
    "@type": "Organization",
    "name": "AIDeveloper44",
    "url": "https://aideveloper44.com",
    "logo": "https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/696b2bd107af20deac4cc200/9f77c0b91_a-digital-illustration-of-a-white-llama-_j4dyH5xoRnKf_3rtw-mvEQ_OdqL2BrSTtKHjJAuhTp_zg.png"
  },
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://aideveloper44.com/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "product",
        "item": "https://aideveloper44.com/product"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Product Detail",
        "item": "https://aideveloper44.com/product/lily-6a992ed3e36f8ec65052e7dc"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@type": "SoftwareApplication",
    "name": "Lily",
    "description": "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.",
    "provider": {
      "@type": "Organization",
      "name": "Perplexity AI"
    },
    "offers": {
      "@type": "Offer",
      "price": "Free (Open source)"
    }
  },
  {
    "@context": "https://schema.org",
    "@type": "Organization",
    "name": "AINews.sh",
    "alternateName": "AI News",
    "url": "https://ai-dev-pulse-ac4cc200.base44.app",
    "logo": "https://ai-dev-pulse-ac4cc200.base44.app/logo.png",
    "description": "Developer-focused AI product releases, reviews, and news. Your source for the latest AI tools, open-source models, and platform updates.",
    "foundingDate": "2026",
    "slogan": "Stay ahead with AI product intelligence",
    "sameAs": [],
    "knowsAbout": [
      "Artificial Intelligence",
      "Machine Learning",
      "Large Language Models",
      "AI Tools",
      "Open Source AI",
      "AI Frameworks",
      "Developer Tools"
    ]
  }
]
```