# Liquid AI: LFM2.5 24B A2B

LiquidAI's LFM2.5-24B-A2B is a 24-billion-parameter reasoning model with about 2 billion parameters active per token. It is text-only, always thinks before answering, and is built for tool calling and agent work, and it is the largest model in the LFM2.5 family.

- **Model id:** `opencheap/lfm-2.5-24b-a2b`
- **Price per 1M tokens:** $0.047 input / $0.66 output
- **Cached input:** $0.024 per 1M tokens
- **Context:** 128K tokens, 8.1K max output

## Providers

3 providers. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| Surplus · quantization unknown | $0.047 | $0.024 | $0.66 | 128K | 8.1K |
| NanoGPT · quantization unknown | $0.05 | $0.025 | $0.70 | 128K | 8.1K |
| Qubax · quantization unknown | $0.052 | $0.026 | $0.73 | 128K | 8.1K |

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/lfm-2.5-24b-a2b#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/lfm-2.5-24b-a2b`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/lfm-2.5-24b-a2b", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/lfm-2.5-24b-a2b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/lfm-2.5-24b-a2b",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About LFM2.5 24B A2B

LFM2.5 24B A2B costs from $0.047 per 1M input tokens and $0.66 per 1M output tokens on OpenCheap, with cached input at $0.024 per 1M tokens. Its list price is $0.05 per 1M input tokens and $0.70 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 6 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0011, and 1,000 such requests about $1.13. Prices as of 2026-12-04 12:01 UTC.

3 providers serve LFM2.5 24B A2B on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.

LFM2.5 24B A2B is one of [7 Liquid AI models](https://opencheap.si/models/lab/liquid-ai) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the LFM2.5 24B A2B API cost per 1M tokens?

LFM2.5 24B A2B costs from $0.047 per 1M input tokens and $0.66 per 1M output tokens on OpenCheap, with cached input at $0.024 per 1M tokens. Prices as of 2026-12-04 12:01 UTC.

### What does one LFM2.5 24B A2B request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0011, and 1,000 such requests about $1.13. Every answer reports its own cost in usage.cost.

### Is LFM2.5 24B A2B cheaper on OpenCheap than its list price?

Its list price is $0.05 per 1M input tokens and $0.70 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 6 % less here.

### Which providers serve LFM2.5 24B A2B?

3 providers serve LFM2.5 24B A2B on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of LFM2.5 24B A2B?

Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.

### How do I call the LFM2.5 24B A2B API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/lfm-2.5-24b-a2b. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Liquid AI

- [LFM2.5 2.6B](https://opencheap.si/models/lfm-2.5-2.6b) (`lfm-2.5-2.6b`): $0.10 / $0.20 per 1M · 8.1K context
- [lfm-3-1.7b](https://opencheap.si/models/lfm-3-1.7b) (`lfm-3-1.7b`): $0.084 / $0.21 per 1M · 262K context
- [d1-ultra](https://opencheap.si/models/d1-ultra) (`d1-ultra`): $0.048 per 1M input · 32K context
- [d1.2](https://opencheap.si/models/d1.2) (`d1.2`): $0.023 per 1M input · 65K context
- [d1.2-ultra](https://opencheap.si/models/d1.2-ultra) (`d1.2-ultra`): $0.048 per 1M input · 65K context
- [d1.3-ultra](https://opencheap.si/models/d1.3-ultra) (`d1.3-ultra`): $0.048 per 1M input · 65K context

[All 7 Liquid AI models](https://opencheap.si/models/lab/liquid-ai)

## Similar models

- [lfm2.5-24b-a2b](https://opencheap.si/models/lfm2.5-24b-a2b): Other labs · 128K context · $0.05 / $0.70 per 1M · [Compare with LFM2.5 24B A2B](https://opencheap.si/compare/lfm-2.5-24b-a2b-vs-lfm2.5-24b-a2b)
- [Cydonia 24B V4.1](https://opencheap.si/models/cydonia-24b-v4.1): TheDrummer · 131K context · $0.32 / $0.53 per 1M, 6 % cheaper · [Compare with LFM2.5 24B A2B](https://opencheap.si/compare/lfm-2.5-24b-a2b-vs-cydonia-24b-v4.1)
- [meta-llama/Llama-3.1-70B-Instruct](https://opencheap.si/models/llama-3.1-70b): Meta · 131K context · $0.42 / $0.42 per 1M, 17 % cheaper · [Compare with LFM2.5 24B A2B](https://opencheap.si/compare/lfm-2.5-24b-a2b-vs-llama-3.1-70b)
- [Qwen/Qwen2.5-72B-Instruct](https://opencheap.si/models/qwen2.5-72b): Qwen · 131K context · $0.36 / $0.40 per 1M, 23 % cheaper · [Compare with LFM2.5 24B A2B](https://opencheap.si/compare/lfm-2.5-24b-a2b-vs-qwen2.5-72b)
- [Phi 4 Mini Instruct](https://opencheap.si/models/phi-4-mini): Microsoft · 128K context · $0.12 / $0.48 per 1M, 23 % cheaper · [Compare with LFM2.5 24B A2B](https://opencheap.si/compare/lfm-2.5-24b-a2b-vs-phi-4-mini)
- [llama-3.1-nemotron-70b](https://opencheap.si/models/llama-3.1-nemotron-70b): NVIDIA · 131K context · $0.63 / $0.63 per 1M · [Compare with LFM2.5 24B A2B](https://opencheap.si/compare/lfm-2.5-24b-a2b-vs-llama-3.1-nemotron-70b)

[Compare LFM2.5 24B A2B with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/lfm-2.5-24b-a2b · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
