We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
LiquidAI: LFM2.5-24B-A2B
liquid/lfm-2.5-24b-a2bTry LiquidAI: LFM2.5-24B-A2B now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
LiquidAI: LFM2.5-24B-A2B at a glance
- Input price is 89% lower than the median of 434 Text models.
- Context window of 128,000 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Supports reasoning effort control.
- A typical request (1,000 input / 500 output tokens) costs about $0.00140.
About LiquidAI: LFM2.5-24B-A2B
LiquidAI: LFM2.5-24B-A2B is a text model from LiquidAI. It is a mixture-of-experts reasoning model with 24B total parameters and 2.45B active parameters. The provider describes it as always reasoning before answering, and as built for agents that call tools. It sits in the text category, so it takes text in and returns text out.
The model accepts text input and produces text output, with a context window of 128,000 tokens and a maximum output of 8,192 tokens. Because it is a reasoning model, it works through its reasoning before producing an answer, and the include_reasoning and reasoning parameters let you control how that reasoning is handled in the response. It also supports tool use through the tools and tool_choice parameters, along with structured outputs and response_format for constraining the shape of the output. Sampling behaviour can be tuned with temperature, top_k, min_p, frequency_penalty, presence_penalty, repetition_penalty, seed and stop, and logprobs with top_logprobs are available if you need token-level probabilities.
Those capabilities point to a few practical uses. Tool-calling agents are the clearest fit, since the model is designed to reason and then invoke tools, which suits workflows that need to look things up, call functions or chain steps together. Structured outputs make it a reasonable choice for extracting fields from documents or returning machine-readable results that feed into another system. The 128,000 token context window supports long inputs such as large documents, long conversation histories or sizeable code files, and the reasoning step helps on tasks that benefit from working through a problem before answering, such as multi-step analysis or planning.
You call the model through api14's OpenAI-compatible API using the model id "liquid/lfm-2.5-24b-a2b". Requests follow the OpenAI chat completions format, so existing OpenAI SDKs and clients work with a change of base URL and model id. The supported request parameters are frequency_penalty, include_reasoning, logprobs, max_completion_tokens, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k and top_logprobs.
Keep the output ceiling in mind: responses are capped at 8,192 tokens, so tasks that need a very long single answer may require splitting the work across calls. The model is text only, so if your input includes images or audio you will need a different model. For straightforward, high-volume text generation where reasoning and tool calls add no value, a simpler model may be cheaper and faster, but for agent-style and structured extraction work this model's feature set is a good match.
How to call the LiquidAI: LFM2.5-24B-A2B API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "liquid/lfm-2.5-24b-a2b".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "liquid/lfm-2.5-24b-a2b",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
frequency_penaltyinclude_reasoninglogprobsmax_completion_tokensmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobsSpecifications
- Context length
- 128,000
- Max output
- 8,192
- Input
- text
- Output
- text
Requests on api14 · last 7 days
LiquidAI: LFM2.5-24B-A2B: frequently asked questions
- How much does the LiquidAI: LFM2.5-24B-A2B API cost?
- LiquidAI: LFM2.5-24B-A2B costs Input $0.18 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of LiquidAI: LFM2.5-24B-A2B?
- LiquidAI: LFM2.5-24B-A2B reads up to 128,000 tokens per request: prompt, history and documents together. It writes up to 8,192 output tokens per response.
- What can LiquidAI: LFM2.5-24B-A2B do?
- LiquidAI: LFM2.5-24B-A2B accepts text and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call LiquidAI: LFM2.5-24B-A2B from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "liquid/lfm-2.5-24b-a2b". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to LiquidAI: LFM2.5-24B-A2B?
- Comparable Text models at a similar price: MiniMax: MiniMax M3.1 Flash, Upstage: Solar Pro 4, Mistral: Mistral Small 4. Each runs through the same API key, so switching is one string.
LiquidAI: LFM2.5-24B-A2B community
New topicThis community has no topics yet. Open the first one about LiquidAI: LFM2.5-24B-A2B.