LiquidAI: LFM2.5-1.2B-Instruct (free) — Free API

Created by Liquid AI ⭐ Score: 51 Verified
openrouter/liquid-lfm-2.5-1.2b-instruct
chat

What is LiquidAI: LFM2.5-1.2B-Instruct (free)?

Liquid LFM 2.5 1.2B Instruct is a compact, high-performance instruction-tuned model designed for fast on-device AI, available free on OpenRouter. With a 1.2B parameter footprint and 33K context window, it delivers strong chat quality for edge deployment scenarios. Built for efficient inference across a broad range of runtimes. OpenAI-compatible via OpenRouter. Free tier: 200 RPD.

Model ID
liquid/lfm-2.5-1.2b-instruct:free
Base URL
https://openrouter.ai/api/v1

LiquidAI: LFM2.5-1.2B-Instruct (free) API Code Example

Paste your API key and run. See the config generator for Claude Code, Cursor, and more tools.

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-instruct:free",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
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-instruct:free",
  messages: [{ role: "user", content: "Hello!" }],
});

console.log(completion.choices[0].message.content);
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-instruct:free",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Other Free Models from OpenRouter

More About OpenRouter

How to get an API key, rate limits, platform limitations, and tool configuration — everything you need to set up OpenRouter as a free LLM API backend.

View OpenRouter full guide →