Custom pricing for production workloads
LFM2.5-2.6B is a compact chat model developed by Liquid AI. It is engineered to perform reasoning before providing answers to ensure accuracy in complex tasks.
The model supports text to text modalities and is built to handle extensive information through its large context window. It is well suited for specialized data processing and retrieval tasks.
The model consistently reasons before answering to improve output quality.
It supports a context window of 128K tokens for processing long documents.
The model is capable of generating structured data for integration into workflows.
It supports tools and streaming to enhance interactive performance.
Automating complex agent workflows.
Extracting data from large documents.
Enhancing retrieval augmented generation systems.
Processing long-context information.
import requests r = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "liquid/lfm-2.5-2.6b", "messages": [ { "role": "user", "content": "Hello!" } ] }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "liquid/lfm-2.5-2.6b", "messages": [ { "role": "user", "content": "Hello!" } ] }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"liquid/lfm-2.5-2.6b","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Cached input |
Billed per token: $0.3703 / 1M input tokens, $0.04232 / 1M cached input tokens and $0.529 / 1M output tokens. Reasoning tokens are billed as output.
Automating complex agent workflows.
Extracting data from large documents.
Enhancing retrieval augmented generation systems.
Processing long-context information.
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
LFM2.5-2.6B This page | Reasoning tasks and long-context data processing | |||
| Cutting LLM spend without picking a model | ||||
| Agentic workflows and structured output | ||||
| Reasoning + agents | ||||
| Reasoning + agents |
LFM2.5-2.6B costs $0.3703 / 1M for input and $0.529 / 1M for output on AI/ML API. Cached input is billed at $0.04232 / 1M.
The model focuses on reasoning before answering to support complex workflows.
Liquid AI advises against using this model for agentic coding.
The model features a context window of 128K tokens.
LFM2.5-2.6B supports text to text modalities.