Back to Models

LiquidAI/LFM2-2.6B

liquid/lfm-2.2-6b

Description

LFM2 is a new generation of hybrid models developed by Liquid AI, specifically designed for edge AI and on-device deployment. It sets a new standard in terms of quality, speed, and memory efficiency.

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: LiquidAI/LFM2-2.6B (liquid/lfm-2.2-6b)

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

Supported Modalities

  • Text

API Pricing

  • Input: 0.05$ / 1M tokens
  • Output: 0.1$ / 1M tokens

Token Limits

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

Subscription Tiers

  • free
  • pro
  • ultimate