Back to Models

Liquid: LFM 3B

liquid/lfm-3b

Description

Liquid's LFM 3B delivers incredible performance for its size. It positions itself as first place among 3B parameter transformers, hybrids, and RNN models It is also on par with Phi-3.5-mini on multiple benchmarks, while being 18.4% smaller. LFM-3B is the ideal choice for mobile and other edge text-based applications. See the [launch announcement](https://www.liquid.ai/liquid-foundation-models) for benchmarks and more info.

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Liquid: LFM 3B (liquid/lfm-3b)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "liquid/lfm-3b",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Liquid: LFM 3B model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.02$ / 1M tokens
  • Output: 0.02$ / 1M tokens

Token Limits

  • Max Output: 32,768 tokens
  • Max Context: 32,768 tokens

Subscription Tiers

  • free
  • pro
  • ultimate