---
title: LiquidAI: LFM2.5 24B A2B API | Text Generation | ModelsLab
description: Build with LiquidAI: LFM2.5 24B A2B API by Liquid. Text generation, chat, code, and reasoning. Plans from $21/month.
url: https://modelslab.com/models/liquid/liquid-lfm-2.5-24b-a2b.md
canonical: https://modelslab.com/models/liquid/liquid-lfm-2.5-24b-a2b
type: product
component: Playground/LLM/Index
generated_at: 2026-10-14T00:35:34.366950Z
---

LiquidAI: LFM2.5-24B-A2B
---

 [LLMs.txt](https://modelslab.com/models/liquid/liquid-lfm-2.5-24b-a2b/llms.txt) [.md](https://modelslab.com/models/liquid/liquid-lfm-2.5-24b-a2b.md)

LiquidAI: LFM2.5-24B-A2B
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

text files

Send

### LiquidAI: LFM2.5-24B-A2B

liquid liquid-lfm-2.5-24b-a2b

Copy model ID

PricingInput $0.05 / 1M tokens

Output $0.70 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens4000

Top P0.9

Frequency Penalty0

Presence Penalty0

Thinkinglow

lowmediumhigh

Deeper thinking spends more of the Max Tokens budget before the answer starts.

Model Info

Support

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.2](https://modelslab.com/models/openai/gpt-5.2)

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.1](https://modelslab.com/models/openai/gpt5.1)

[Google](https://modelslab.com/models/google)

 [Gemini 3 Pro Preview](https://modelslab.com/models/google/gemini-3-pro-preview)

[OpenAI](https://modelslab.com/models/openai)

 [GPT-5.1-Codex-Max](https://modelslab.com/models/openai/gpt-5.1-codex-max)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

[ModelsLab](https://modelslab.com/models/modelslab) Popular

 [Modelslab: Custom LLM](https://modelslab.com/models/modelslab/uncensored-chat)Open Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 235B A22B Instruct 2507](https://modelslab.com/models/qwen/qwen-qwen3-235b-a22b-2507)Closed Source Model

[OpenAI](https://modelslab.com/models/openai)

 [gpt-oss-20b](https://modelslab.com/models/openai/gpt-oss-20b)Closed Source Model

[DeepSeek](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V4 Flash 0423](https://modelslab.com/models/deepseek/deepseek-deepseek-v4-flash)Closed Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.5-9B](https://modelslab.com/models/qwen/qwen-qwen3.5-9b)Closed Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen3.5 9B FP8](https://modelslab.com/models/Qwen/Qwen-Qwen3.5-9B)Closed Source Model

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### Unbiased/Pareto

unbiased-pareto

From $5.00/M tokens](https://modelslab.com/models/unbiased/unbiased-pareto)

[#### Xiaomi/Xiaomi: MiMo-V2.6-Flash

xiaomi-mimo-v2.6-flash

From $0.21/M tokens](https://modelslab.com/models/xiaomi/xiaomi-mimo-v2.6-flash)

[#### Google/Google: Gemini 3.5 Flash

google-gemini-3.5-flash

From $5.25/M tokens](https://modelslab.com/models/google/google-gemini-3.5-flash)

[#### OpenAI/OpenAI: GPT Terra Latest

openai-gpt-terra-latest

From $7.00/M tokens](https://modelslab.com/models/openai/openai-gpt-terra-latest)

[#### Qwen/Qwen: Qwen3.7 Max

qwen-qwen3.7-max

From $2.95/M tokens](https://modelslab.com/models/qwen/qwen-qwen3.7-max)

[#### Meta/Meta: Muse Spark 1.3

meta-muse-spark-1.3

From $2.75/M tokens](https://modelslab.com/models/meta/meta-muse-spark-1.3)

[#### Z.ai/Z.ai: GLM 4.7 Flash

z-ai-glm-4.7-flash

From $0.23/M tokens](https://modelslab.com/models/z-ai/z-ai-glm-4.7-flash)

[#### Qwen/Qwen QwQ-32B

Qwen-QwQ-32B

From $1.20/M tokens](https://modelslab.com/models/qwen/Qwen-QwQ-32B)

[#### Anthropic/Anthropic: Claude Sonnet 4.5

anthropic-claude-sonnet-4.5

From $9.00/M tokens](https://modelslab.com/models/anthropic/anthropic-claude-sonnet-4.5)

[#### Google/Google: Gemini 2.5 Pro

google-gemini-2.5-pro

From $5.63/M tokens](https://modelslab.com/models/google/google-gemini-2.5-pro)

[#### Google/Google: Nano Banana 2.1

google-gemini-nano-banana-2.1

From $4.50/M tokens](https://modelslab.com/models/google/google-gemini-nano-banana-2.1)

[#### xAI/xAI: Grok Latest

x-ai-grok-latest

From $4.00/M tokens](https://modelslab.com/models/x-ai/x-ai-grok-latest)

[#### Z.ai/Z.ai: GLM 4.6V

z-ai-glm-4.6v

From $0.60/M tokens](https://modelslab.com/models/z-ai/z-ai-glm-4.6v)

[#### Google/Gemma-2 Instruct (27B)

google-gemma-2-27b-it

From $0.65/M tokens](https://modelslab.com/models/google/google-gemma-2-27b-it)

[#### Poolside/Poolside: Laguna XS 2.1

poolside-laguna-xs-2.1

From $0.09/M tokens](https://modelslab.com/models/poolside/poolside-laguna-xs-2.1)

[#### Cohere/Cohere: Command A+

cohere-command-a-plus

From $0.90/M tokens](https://modelslab.com/models/cohere/cohere-command-a-plus)

[#### ByteDance Seed/ByteDance Seed: Seed-2.0-Lite

bytedance-seed-seed-2.0-lite

From $1.13/M tokens](https://modelslab.com/models/bytedance-seed/bytedance-seed-seed-2.0-lite)

[#### OpenAI/OpenAI: GPT-4o (2024-05-13)

openai-gpt-4o-2024-05-13

From $10.00/M tokens](https://modelslab.com/models/openai/openai-gpt-4o-2024-05-13)

About LiquidAI: LFM2.5-24B-A2B
---

LFM2.5-24B-A2B is a mixture-of-experts reasoning model from Liquid AI with 24B total and 2.45B active parameters. It always reasons before answering and is built for agents that call tools. Liquid...

### Technical Specifications

Model IDliquid-lfm-2.5-24b-a2b

CategoryLLM Models

TaskText Generation

Price$0.375 per million tokens

AddedOctober 13, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate LiquidAI: LFM2.5-24B-A2B into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "liquid-lfm-2.5-24b-a2b",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

LiquidAI: LFM2.5-24B-A2B API costs $0.375 per million tokens. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Liquid](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

LiquidAI: LFM2.5-24B-A2B FAQ
---

### What is LiquidAI: LFM2.5-24B-A2B?

LFM2.5-24B-A2B is a mixture-of-experts reasoning model from Liquid AI with 24B total and 2.45B active parameters. It always reasons before answering and is built for agents that call tools. Liquid...

### How do I use the LiquidAI: LFM2.5-24B-A2B API?

You can integrate LiquidAI: LFM2.5-24B-A2B into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "liquid-lfm-2.5-24b-a2b" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does LiquidAI: LFM2.5-24B-A2B cost?

LiquidAI: LFM2.5-24B-A2B costs $0.375 per million tokens. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the LiquidAI: LFM2.5-24B-A2B model ID?

The model ID for LiquidAI: LFM2.5-24B-A2B is "liquid-lfm-2.5-24b-a2b". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use LiquidAI: LFM2.5-24B-A2B?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-10-14*