> ## Documentation Index
> Fetch the complete documentation index at: https://docs.liquid.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Liquid Foundation Models

> Browse every Liquid Foundation Model (LFM) for local AI: text, vision, audio, and decision models plus Liquid Nanos, with GGUF, MLX, and ONNX formats.

Across the library:

* Context length depends on the model: 32K tokens for most text, vision, audio, and omni models, 256K for LFM3-1.7B, 128K for LFM3-VL-2B, LFM2.5-8B-A1B, d1-2B, and d1-omni-2B, 131K for LFM2.5-24B-A2B, 8K for the LFM2.5 encoders, and 16K for d1-omni-600M. Each model page lists its exact limit.
* Text and vision models run with [Transformers](https://docs.liquid.ai/deployment/gpu-inference/transformers.md), [llama.cpp](https://docs.liquid.ai/deployment/on-device/llama-cpp.md), [vLLM](https://docs.liquid.ai/deployment/gpu-inference/vllm.md), [SGLang](https://docs.liquid.ai/deployment/gpu-inference/sglang.md), [MLX](https://docs.liquid.ai/deployment/on-device/mlx.md), [Ollama](https://docs.liquid.ai/deployment/on-device/ollama.md), and [Atomic Chat](https://docs.liquid.ai/deployment/on-device/atomic-chat.md). Audio, omni, retrieval, encoder, and decision models support fewer runtimes (d1-omni-600M: Transformers, llama.cpp, and mlx-vlm); check each model page.
* Most open-weight models can be fine-tuned with [Liquid Finetune](https://docs.liquid.ai/lfm/fine-tuning/liquid-finetune.md), [TRL](https://docs.liquid.ai/lfm/fine-tuning/trl.md), or [Unsloth](https://docs.liquid.ai/lfm/fine-tuning/unsloth.md). The **Trainable?** column in the matrix below lists the documented path for each model.

- [Liquid Playground](https://playground.liquid.ai/chat?model=cmk0wefde000204jp2knb2qr8)
- [Hugging Face Collections](https://huggingface.co/LiquidAI/collections)
- [Liquid Finetune](https://github.com/Liquid4All/liquid-finetune)
- [OpenRouter API](https://openrouter.ai/liquid)

Start with the model family that matches your input and output shape, then choose a runtime based on where you want to run it. Use the complete matrix below when you need exact repository and format availability.

## Model Families

> [card] [Text Models](https://docs.liquid.ai/lfm/models/text-models.md)
>
> Chat, tool calling, structured output, and classification.

> [card] [Vision Models](https://docs.liquid.ai/lfm/models/vision-models.md)
>
> Image understanding with LFM backbones and custom encoders.

> [card] [Audio Models](https://docs.liquid.ai/lfm/models/audio-models.md)
>
> Interleaved audio/text models for TTS, ASR, and voice chat.

> [card] [Omni Models](https://docs.liquid.ai/lfm/models/omni-models.md)
>
> Text, image, video, and audio input with text or speech output in one model.

> [card] [Decision Models](https://docs.liquid.ai/lfm/models/decision-models.md)
>
> Purpose-built models for classification, routing, and scoring.

> [card] [Liquid Nanos](https://docs.liquid.ai/lfm/models/liquid-nanos.md)
>
> Task-specific models for extraction, summarization, RAG, and translation.

## Common Workflows

> [card] [GPU Serving](https://docs.liquid.ai/deployment/gpu-inference/vllm.md)
>
> Use [vLLM](https://docs.liquid.ai/deployment/gpu-inference/vllm.md) or [SGLang](https://docs.liquid.ai/deployment/gpu-inference/sglang.md) for high-throughput serving, and [Transformers](https://docs.liquid.ai/deployment/gpu-inference/transformers.md) for direct Python inference.

> [card] [Local and On-Device](https://docs.liquid.ai/deployment/on-device/llama-cpp.md)
>
> Use [llama.cpp](https://docs.liquid.ai/deployment/on-device/llama-cpp.md), [Ollama](https://docs.liquid.ai/deployment/on-device/ollama.md), [Atomic Chat](https://docs.liquid.ai/deployment/on-device/atomic-chat.md), or [MLX](https://docs.liquid.ai/deployment/on-device/mlx.md) depending on platform and packaging needs. To embed a model in an iOS, Android, or desktop app, see [Build with llama.cpp](https://docs.liquid.ai/deployment/on-device/llama-cpp/mobile.md).

> [card] [Fine-Tuning](https://docs.liquid.ai/lfm/fine-tuning/liquid-finetune.md)
>
> Start with [Liquid Finetune](https://docs.liquid.ai/lfm/fine-tuning/liquid-finetune.md) for managed workflows, or use [TRL](https://docs.liquid.ai/lfm/fine-tuning/trl.md) and [Unsloth](https://docs.liquid.ai/lfm/fine-tuning/unsloth.md) for framework-level control.

> [card] [Model Repositories](https://huggingface.co/LiquidAI/collections)
>
> Browse LiquidAI collections on Hugging Face for model weights, GGUF exports, MLX packages, ONNX exports, and model cards.

## Formats

Use the format that matches your runtime and deployment target. The matrix below links the exact repository for each model and format.

* **GGUF** — Best for local CPU/GPU inference on any platform. Use with [llama.cpp](https://docs.liquid.ai/deployment/on-device/llama-cpp.md), [LM Studio](https://docs.liquid.ai/deployment/on-device/lm-studio.md), [Ollama](https://docs.liquid.ai/deployment/on-device/ollama.md), or [Atomic Chat](https://docs.liquid.ai/deployment/on-device/atomic-chat.md). Every open-weight model in the matrix has a `LiquidAI/<model>-GGUF` repository.
* **MLX** — Best for Mac users with Apple Silicon. Leverages unified memory for fast inference via [MLX](https://docs.liquid.ai/deployment/on-device/mlx.md) or [Atomic Chat](https://docs.liquid.ai/deployment/on-device/atomic-chat.md). Many models have official `LiquidAI/<model>-MLX-<bits>` repositories; the others are community conversions on [mlx-community](https://huggingface.co/mlx-community/collections?search=LFM).
* **ONNX** — Best for production deployments and edge devices. Cross-platform with ONNX Runtime across CPUs, GPUs, and accelerators. Available as `LiquidAI/<model>-ONNX` for the LFM3 models and the main LFM2.5 text, vision, and audio models, and for some LFM2 models through [onnx-community](https://huggingface.co/onnx-community); see the matrix.

### Quantization

Quantization reduces model size and speeds up inference with minimal quality loss. Available options by format:

* **GGUF** — Text and vision repositories usually include `Q4_0`, `Q4_K_M`, `Q5_K_M`, `Q6_K`, `Q8_0`, `BF16`, and `F16`. Some repositories ship a smaller set (for example, d1-omni-600M has only `Q8_0`, `BF16`, and `F16`), so check the file list. `Q4_K_M` offers the best balance of size and quality.
* **MLX** — Official LiquidAI repositories usually come in `4bit`, `5bit`, `6bit`, `8bit`, and `bf16`. Some ship a subset (d1-omni-600M has `8bit` and `fp16`). `8bit` is recommended.
* **ONNX** — Supports `FP32`, `FP16`, `Q4`, and `Q8` (some repositories also include `Q4F16`). `Q4` is recommended for most deployments.

## Complete Model Matrix

Swipe horizontally to see all formats.

| Model | HF | GGUF | MLX | ONNX | Drafter | Trainable? |
| - | - | - | - | - | - | - |
| **Text-to-text Models** | | | | | | |
| [LFM3-1.7B](https://docs.liquid.ai/lfm/models/lfm3-1.7b) | [✓](https://huggingface.co/LiquidAI/LFM3-1.7B) | [✓](https://huggingface.co/LiquidAI/LFM3-1.7B-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM3-1.7B-MLX-4bit) | [✓](https://huggingface.co/LiquidAI/LFM3-1.7B-ONNX) | ✗ | Yes (TRL) |
| [LFM2.5-1.2B-Instruct](https://docs.liquid.ai/lfm/models/lfm25-1.2b-instruct) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Instruct) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Instruct-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Instruct-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Instruct-ONNX) | [✓](https://docs.liquid.ai/lfm/key-concepts/speculative-decoding.md#available-draft-models) | Yes (TRL) |
| [LFM2.5-1.2B-Thinking](https://docs.liquid.ai/lfm/models/lfm25-1.2b-thinking) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Thinking) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Thinking-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Thinking-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Thinking-ONNX) | ✗ | Yes (TRL) |
| [LFM2.5-1.2B-JP-202606](https://docs.liquid.ai/lfm/models/lfm25-1.2b-jp-202606) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-JP-202606) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-JP-202606-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-JP-202606-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-1.2B-JP-202606-ONNX) | ✗ | Yes (TRL) |
| [LFM2.5-350M](https://docs.liquid.ai/lfm/models/lfm25-350m) | [✓](https://huggingface.co/LiquidAI/LFM2.5-350M) | [✓](https://huggingface.co/LiquidAI/LFM2.5-350M-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-350M-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-350M-ONNX) | ✗ | Yes (TRL) |
| [LFM2.5-230M](https://docs.liquid.ai/lfm/models/lfm25-230m) | [✓](https://huggingface.co/LiquidAI/LFM2.5-230M) | [✓](https://huggingface.co/LiquidAI/LFM2.5-230M-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-230M-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-230M-ONNX) | ✗ | Yes (TRL) |
| [LFM2.5-8B-A1B](https://docs.liquid.ai/lfm/models/lfm25-8b-a1b) | [✓](https://huggingface.co/LiquidAI/LFM2.5-8B-A1B) | [✓](https://huggingface.co/LiquidAI/LFM2.5-8B-A1B-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-8B-A1B-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-8B-A1B-ONNX) | [✓](https://docs.liquid.ai/lfm/key-concepts/speculative-decoding.md#available-draft-models) | Yes (TRL) |
| [LFM2.5-24B-A2B](https://docs.liquid.ai/lfm/models/lfm25-24b-a2b) | [✓](https://huggingface.co/LiquidAI/LFM2.5-24B-A2B) | [✓](https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-ONNX) | [✓](https://docs.liquid.ai/lfm/key-concepts/speculative-decoding.md#available-draft-models) | Yes (TRL) |
| **Vision Language Models** | | | | | | |
| [LFM3-VL-2B](https://docs.liquid.ai/lfm/models/lfm3-vl-2b) | [✓](https://huggingface.co/LiquidAI/LFM3-VL-2B) | [✓](https://huggingface.co/LiquidAI/LFM3-VL-2B-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM3-VL-2B-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM3-VL-2B-ONNX) | ✗ | Yes |
| [LFM2.5-VL-3B](https://docs.liquid.ai/lfm/models/lfm25-vl-3b) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-3B) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-3B-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-3B-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-3B-ONNX) | [✓](https://docs.liquid.ai/lfm/key-concepts/speculative-decoding.md#available-draft-models) | Yes (TRL) |
| [LFM2.5-VL-1.6B](https://docs.liquid.ai/lfm/models/lfm25-vl-1.6b) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-1.6B) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-1.6B-GGUF) | [✓](https://huggingface.co/mlx-community/LFM2.5-VL-1.6B-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-1.6B-ONNX) | ✗ | Yes (TRL) |
| [LFM2.5-VL-450M](https://docs.liquid.ai/lfm/models/lfm25-vl-450m) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-450M) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-450M-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-450M-MLX-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-450M-ONNX) | ✗ | Yes (TRL) |
| **Audio Models** | | | | | | |
| [LFM3-Audio-2B](https://docs.liquid.ai/lfm/models/lfm3-audio-2b) | [✓](https://huggingface.co/LiquidAI/LFM3-Audio-2B) | [✓](https://huggingface.co/LiquidAI/LFM3-Audio-2B-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM3-Audio-2B-MLX-8bit) | ✗ | ✗ | Yes |
| [LFM2.5-Audio-1.5B-JP](https://docs.liquid.ai/lfm/models/lfm25-audio-1.5b-jp) | [✓](https://huggingface.co/LiquidAI/LFM2.5-Audio-1.5B-JP) | [✓](https://huggingface.co/LiquidAI/LFM2.5-Audio-1.5B-JP-GGUF) | ✗ | ✗ | ✗ | Yes ([liquid-audio](https://github.com/Liquid4All/liquid-audio#finetuning)) |
| **Omni Models** | | | | | | |
| [LFM3-Omni-2B](https://docs.liquid.ai/lfm/models/lfm3-omni-2b) | [✓](https://huggingface.co/LiquidAI/LFM3-Omni-2B) | [✓](https://huggingface.co/LiquidAI/LFM3-Omni-2B-GGUF) | [✓](https://huggingface.co/LiquidAI/LFM3-Omni-2B-MLX-8bit) | ✗ | ✗ | Yes |
| **Liquid Nanos** | | | | | | |
| [LFM2.5-VL-1.6B-Extract](https://docs.liquid.ai/lfm/models/lfm25-vl-1.6b-extract) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-1.6B-Extract) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF) | ✗ | ✗ | ✗ | Yes (TRL) |
| [LFM2.5-VL-450M-Extract](https://docs.liquid.ai/lfm/models/lfm25-vl-450m-extract) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-450M-Extract) | [✓](https://huggingface.co/LiquidAI/LFM2.5-VL-450M-Extract-GGUF) | ✗ | ✗ | ✗ | Yes (TRL) |
| [LFM2.5-Embedding-350M](https://docs.liquid.ai/lfm/models/lfm25-embedding-350m) | [✓](https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M) | [✓](https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M-GGUF) | [✓](https://huggingface.co/mlx-community/LFM2.5-Embedding-350M-8bit) | ✗ | ✗ | Yes (sentence-transformers) |
| [LFM2.5-ColBERT-350M](https://docs.liquid.ai/lfm/models/lfm25-colbert-350m) | [✓](https://huggingface.co/LiquidAI/LFM2.5-ColBERT-350M) | [✓](https://huggingface.co/LiquidAI/LFM2.5-ColBERT-350M-GGUF) | [✓](https://huggingface.co/mlx-community/LFM2.5-ColBERT-350M-8bit) | ✗ | ✗ | Yes (PyLate) |
| [LFM2.5-Encoder-350M](https://docs.liquid.ai/lfm/models/lfm25-encoder-350m) | [✓](https://huggingface.co/LiquidAI/LFM2.5-Encoder-350M) | [✓](https://huggingface.co/LiquidAI/LFM2.5-Encoder-350M-GGUF) | ✗ | ✗ | ✗ | Yes (Transformers) |
| [LFM2.5-Encoder-230M](https://docs.liquid.ai/lfm/models/lfm25-encoder-230m) | [✓](https://huggingface.co/LiquidAI/LFM2.5-Encoder-230M) | [✓](https://huggingface.co/LiquidAI/LFM2.5-Encoder-230M-GGUF) | ✗ | ✗ | ✗ | Yes (Transformers) |
| [LFM2-350M-ENJP-MT](https://docs.liquid.ai/lfm/models/lfm2-350m-enjp-mt) | [✓](https://huggingface.co/LiquidAI/LFM2-350M-ENJP-MT) | [✓](https://huggingface.co/LiquidAI/LFM2-350M-ENJP-MT-GGUF) | [✓](https://huggingface.co/mlx-community/LFM2-350M-ENJP-MT-8bit) | [✓](https://huggingface.co/onnx-community/LFM2-350M-ENJP-MT-ONNX) | ✗ | Yes (TRL) |
| [LFM2-350M-Math](https://docs.liquid.ai/lfm/models/lfm2-350m-math) | [✓](https://huggingface.co/LiquidAI/LFM2-350M-Math) | [✓](https://huggingface.co/LiquidAI/LFM2-350M-Math-GGUF) | ✗ | [✓](https://huggingface.co/onnx-community/LFM2-350M-Math-ONNX) | ✗ | Yes (TRL) |
| [LFM2-350M-PII-Extract-JP](https://docs.liquid.ai/lfm/models/lfm2-350m-pii-extract-jp) | [✓](https://huggingface.co/LiquidAI/LFM2-350M-PII-Extract-JP) | [✓](https://huggingface.co/LiquidAI/LFM2-350M-PII-Extract-JP-GGUF) | ✗ | ✗ | ✗ | Yes (TRL) |
| [LFM2-2.6B-Transcript](https://docs.liquid.ai/lfm/models/lfm2-2.6b-transcript) | [✓](https://huggingface.co/LiquidAI/LFM2-2.6B-Transcript) | [✓](https://huggingface.co/LiquidAI/LFM2-2.6B-Transcript-GGUF) | [✓](https://huggingface.co/mlx-community/LFM2-2.6B-Transcript-8bit) | [✓](https://huggingface.co/LiquidAI/LFM2-2.6B-Transcript-ONNX) | ✗ | Yes (TRL) |
| **Decision Models** | | | | | | |
| [d1-2B](https://docs.liquid.ai/lfm/models/d1-2b) | [✓](https://huggingface.co/LiquidAI/d1-2B) | [✓](https://huggingface.co/LiquidAI/d1-2B-GGUF) | [✓](https://huggingface.co/LiquidAI/d1-2B-MLX-8bit) | ✗ | ✗ | Yes |
| [d1-omni-2B](https://docs.liquid.ai/lfm/models/d1-omni-2b) | [✓](https://huggingface.co/LiquidAI/d1-Omni-2B) | [✓](https://huggingface.co/LiquidAI/d1-Omni-2B-GGUF) | [✓](https://huggingface.co/LiquidAI/d1-Omni-2B-MLX-8bit) | ✗ | ✗ | Yes |
| [d1-omni-600M](https://docs.liquid.ai/lfm/models/d1-omni-600m) | [✓](https://huggingface.co/LiquidAI/d1-omni-600M) | [✓](https://huggingface.co/LiquidAI/d1-omni-600M-GGUF) | [✓](https://huggingface.co/LiquidAI/d1-omni-600M-MLX-8bit) | ✗ | ✗ | No |
| [d1-ultra](https://docs.liquid.ai/lfm/models/d1#models) | API | — | — | — | — | No |
| [d1.1](https://docs.liquid.ai/lfm/models/d1) | API | — | — | — | — | No |

> [!NOTE]
>
> Looking for an older model? Deprecated models and their recommended replacements are listed on the [Deprecations](https://docs.liquid.ai/lfm/help/deprecations.md) page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.