# Liquid Docs > Documentation for Liquid AI Foundation Models (LFM) ## Docs - [Liquid Foundation Models](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/models/complete-library.md): Liquid Foundation Models (LFMs) are a new class of multimodal architectures built for fast inference and on-device deployment. Browse all available models and formats here. - [Text Models](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/models/text-models.md): Liquid's LFM text models range from 350M to 8B parameters, delivering ultra-low-latency generation while matching the performance of much larger models. They come in both dense and MoE variants to deploy flexibly across different devices. - [Vision Models](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/models/vision-models.md): Liquid's LFM vision models pair our lightweight LFM text backbones with SigLIP2 image encoders, delivering fast multimodal inference on-device while matching larger VLMs in quality. - [Audio Models](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/models/audio-models.md): Liquid's LFM audio models are among the smallest fully interleaved audio/text-in, audio/text-out models with a complete reasoning backbone — eliminating the need to combine separate TTS/ASR encoders with a standalone language model. - [Decision Models](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/models/decision-models.md): Purpose-built models for structured decisions: classification, routing, and scoring in a single call with zero generated tokens - [Liquid Nanos](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/models/liquid-nanos.md): A library of low-latency, task-specific models fine-tuned on Liquid's multimodal LFM base models. Nanos deliver high accuracy on narrow tasks while remaining small enough to deploy on-device or serve economically at high volume. - [Chat Template](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/key-concepts/chat-template.md): The chat template defines how conversations are structured using special tokens and roles. LFM2 uses a ChatML-like chat template to structure conversations as follows: - [Prompting Guide](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/key-concepts/text-generation-and-prompting.md): This guide covers how to effectively use system prompts, user prompts, and assistant prompts with LFM2 models, along with an overview of sampling parameters and special prompting recipes for specific models. - [Tool Use](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/key-concepts/tool-use.md): LFM2.5 and LFM2 models support tool use (function calling), enabling models to interact with APIs, databases, and external services to provide accurate, up-to-date information. - [Vision Capabilities](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/key-concepts/vision-capabilities.md): Use LFM2.5-VL models for image understanding, multi-image prompting, OCR, layout annotations, grounding, and vision-guided tool calling. - [Overview](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/fine-tuning/overview.md): Decide when to fine-tune an LFM and choose the right training workflow. - [LEAP Finetune](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/fine-tuning/leap-finetune.md): Prepare data, train, evaluate, and export customized Liquid Foundation Models with LEAP Finetune. - [Datasets](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/fine-tuning/datasets.md): Dataset formats for SFT, DPO, and VLM fine-tuning - [TRL](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/fine-tuning/trl.md): TRL (Transformer Reinforcement Learning) is a library for fine-tuning and aligning language models using methods like Supervised Fine-Tuning (SFT), Reward Modeling, and Direct Preference Optimization (DPO). - [Unsloth](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/fine-tuning/unsloth.md): Unsloth makes fine-tuning LLMs 2-5x faster with 70% less memory through optimized kernels and efficient memory management. - [llama.cpp](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/on-device/llama-cpp.md): llama.cpp is a C++ library for efficient LLM inference with minimal dependencies. It's designed for CPU-first inference with cross-platform support. - [iOS & Android](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/on-device/llama-cpp/mobile.md): Embed llama.cpp directly in an iOS or Android app and run LFM GGUF models on-device through the native C API. - [LM Studio](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/on-device/lm-studio.md): LM Studio is a desktop application for running LLMs locally with a graphical interface. - [MLX](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/on-device/mlx.md): MLX is Apple's machine learning framework optimized for Apple Silicon. It provides efficient inference on Mac devices with M-series chips (M1, M2, M3, M4) using Metal acceleration for GPU computing. - [ONNX](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/on-device/onnx.md): ONNX provides a platform-agnostic inference specification that allows running the model on device-specific runtimes that include CPU, GPU, NPU, and WebGPU. - [Ollama](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/on-device/ollama.md): Ollama is a command-line tool for running LLMs locally with a simple interface. It provides easy model management and serving with an OpenAI-compatible API. - [Atomic Chat](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/on-device/atomic-chat.md): Atomic Chat is a desktop and mobile app for running LLMs locally with a graphical user interface. - [Transformers](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/gpu-inference/transformers.md): Transformers is a library for inference and training of pretrained models. - [SGLang](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/gpu-inference/sglang.md): Serve LFM2.5 with SGLang, a low-latency OpenAI-compatible serving framework. The full recipe, verified on real hardware, lives in the SGLang cookbook. - [vLLM](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/gpu-inference/vllm.md): Serve LFM2.5 with vLLM, a high-throughput OpenAI-compatible inference engine. The full recipe, verified on real hardware, lives in the vLLM cookbook. - [Modal](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/gpu-inference/modal.md): Modal is a serverless cloud platform for running AI/ML workloads with instant autoscaling on GPUs and CPUs. - [Baseten](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/gpu-inference/baseten.md): Baseten is an AI infrastructure platform for deploying and serving ML models with optimized inference, autoscaling, and multi-cloud support. - [Fal](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/deployment/gpu-inference/fal.md): Fal is a serverless generative media platform offering lightning-fast inference for AI models for image, video, and audio generation. - [Hardware Evaluation](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/guides/hardware-evaluation.md): Profile Liquid Foundation Models for latency, throughput, and memory on your target hardware. - [Use Case Evaluation](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/guides/use-case-evaluation.md): Evaluate LFMs as drop-in replacements for an existing application or workflow. - [Migration Guide](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/guides/migration-guide.md): Move from Qwen, Llama, or Gemma to LFMs while avoiding the common migration pitfalls. - [Decision Model Guide](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/guides/decision-model-guide.md): Replace LLM classification, routing, and scoring calls with decision models for faster, cheaper, and more consistent structured decisions. - [FAQs](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/help/faqs.md): Frequently asked questions about LFM models and deployment. - [Troubleshooting](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/help/troubleshooting.md): Common issues and solutions when working with LFM models. - [Deprecations](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/help/deprecations.md): Deprecated Liquid Foundation Models and their recommended replacements. Deprecated models remain available for download but are no longer actively maintained or recommended for new projects. - [Contributing to Docs](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/help/contributing.md): Guidelines for contributing to Liquid AI documentation. - [Connect AI Tools](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/help/connect-ai-tools.md): Connect your AI coding tools to Liquid Docs via MCP for live, queryable access to documentation - [Model License](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/lfm/help/model-license.md): Understand how you can use, modify, and distribute Liquid Foundation Models under the LFM Open License v1.0. - [Examples Library](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/index.md) - [Connect AI Tools](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/connect-ai-tools.md): Connect your AI coding tools to Liquid Docs via MCP for live, queryable access to documentation - [Run local agents with LFMs](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/agent-harnesses.md): Run local agents with LFMs by connecting a locally served model to agent harnesses like Hermes Agent, OpenClaw, and Pi. - [Invoice extractor tool](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/laptop-examples/invoice-extractor-tool-with-liquid-nanos.md) - [Build a game with decision models](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/laptop-examples/build-a-game-with-decision-models.md) - [Audio transcription in real-time](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/laptop-examples/audio-to-text-in-real-time.md) - [Bidirectional English to Korean translation CLI](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/laptop-examples/lfm2-english-to-korean.md) - [Flight search assistant with tool calling](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/laptop-examples/flight-search-assistant.md) - [Audio car cockpit demo](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/laptop-examples/audio-car-cockpit.md) - [Meeting summarization CLI](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/laptop-examples/meeting-summarization.md) - [Browser control with GRPO reinforcement learning](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/laptop-examples/browser-control.md) - [Product Slogan Generator with LeapSDK](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/android/slogan-generator.md) - [Web Content Summarizer for Android](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/android/web-content-summarizer.md) - [Generate Structured Recipes with Constrained Output](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/android/recipe-generator-constrained-output.md) - [Image Understanding with Vision Language Models](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/android/vision-language-model-example.md) - [Build AI Agents with Koog Framework on Android](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/android/leap-koog-agent.md) - [Real-time video captioning with LFM2.5-VL-1.6B and WebGPU](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/web/vl-webgpu-demo.md) - [LFM2.5-Audio browser demo with WebGPU](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/web/audio-webgpu-demo.md) - [Hand & Voice Racer](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/web/hand-voice-racer.md) - [Fine tuning LFM2-VL to identify car makers from images](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/customize-models/car-maker-identification.md) - [Fine-tuning LFM for a local Home Assistant](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/customize-models/home-assistant.md) - [Fine-Tune a Vision-Language Model on Satellite Imagery](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/customize-models/satellite-vlm.md) - [Build a Wildfire Prevention System with a Compact VLM](https://liquidai-ovenmitt-fix-models--decision-models-matrix-row.mintlify.site/examples/customize-models/wildfire-prevention.md) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.