OpenRouter: LiquidAI: LFM2.5-1.2B-Thinking (free)

liquidai-lfm2-5-1-2b-thinking-free
Released Jun 17, 2025 · 33K context · Free / Free
chat reasoning

API Integration

Integrate LiquidAI: LFM2.5-1.2B-Thinking (free) into your applications using the following code snippets.

Python (OpenAI)
from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="liquid/lfm-2.5-1.2b-thinking:free",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
JavaScript (OpenAI)
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://openrouter.ai/api/v1",
  apiKey: "YOUR_API_KEY",
});

const completion = await openai.chat.completions.create({
  model: "liquid/lfm-2.5-1.2b-thinking:free",
  messages: [{ role: "user", content: "Hello!" }],
});

console.log(completion.choices[0].message.content);
cURL
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "liquid/lfm-2.5-1.2b-thinking:free",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'