Lfm2 8b A1b
LFM2-8B-A1B is an efficient on-device Mixture-of-Experts (MoE) model from Liquid AI’s LFM2 family, built for fast, high-quality inference on edge hardware. It uses 8.3B total parameters with only ~1.5B active per token, delivering strong performance while keeping compute and memory usage low—making it ideal for phones, tablets, and laptops.
Pricing
💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22
Technical specifications
Quick Start
Use Lfm2 8b A1b via BazaarLink API — just change the base_url:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="lfm2-8b-a1b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "lfm2-8b-a1b",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Why use Lfm2 8b A1b via BazaarLink?
- ✓USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
- ✓OpenAI-compatible API — zero code changes required
- ✓Automatic failover — multi-provider redundancy for the same model
- ✓Chinese-language support — local team, instant help
Frequently Asked Questions
What is Lfm2 8b A1b?
LFM2-8B-A1B is an efficient on-device Mixture-of-Experts (MoE) model from Liquid AI’s LFM2 family, built for fast, high-quality inference on edge hardware. It uses 8.3B total parameters with only ~1.5B active per token, delivering strong performance while keeping compute and memory usage low—making it ideal for phones, tablets, and laptops.
How much does the Lfm2 8b A1b API cost?
Lfm2 8b A1b costs $0.0100 per 1K input tokens and $0.0200 per 1K output tokens when accessed through BazaarLink.
How do I use Lfm2 8b A1b with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "lfm2-8b-a1b". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Lfm2 8b A1b?
Lfm2 8b A1b supports a context window of 8,192 tokens.
Is Lfm2 8b A1b available for free?
Lfm2 8b A1b is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.