liquid

LiquidAI: LFM2-24B-A2B

LFM2-24B-A2B is the largest model in the LFM2 family of hybrid architectures designed for efficient on-device deployment. Built as a 24B parameter Mixture-of-Experts model with only 2B active parameters per...

Context
128k tokens
Input / 1M tokens
$0.03
Output / 1M tokens
$0.12
Benchmark

Pricing

Input tokens$0.03 per 1M tokens
Output tokens$0.12 per 1M tokens

Technical details

Model IDliquid/lfm-2-24b-a2b
Context window128k tokens
Input modalitiestext
Output modalitiestext
TokenizerOther

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'liquid/lfm-2-24b-a2b',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use LiquidAI: LFM2-24B-A2B?

Get an API key and start making requests in minutes.

Get an API key