# LFM2.5-2.6B — Use via Hanzo AI API

> LFM2.5-2.6B is a compact reasoning model from Liquid AI. It is suited for a... Call via Hanzo's OpenAI-compatible API. Context: 128K.

[Models](https://hanzo.ai/models)/[Liquid AI](https://hanzo.ai/models/liquid)/lfm-2.5-2.6b

Liquid AI

# LFM2.5-2.6B

LFM2.5-2.6B is a compact reasoning model from Liquid AI.

[Get API key](https://platform.hanzo.ai/api-keys)[Try in Chat](https://hanzo.ai/chat)

## Specifications

Context Window128K

Modalitiestext

Price…

Model IDliquid/lfm-2.5-2.6b

## Quick start

[Get an API key →](https://platform.hanzo.ai/api-keys)

TypeScript

Python

cURL

Go

TypeScript

```
import OpenAI from 'openai' const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: 'https://api.hanzo.ai/v1' }) const response = await client.chat.completions.create({ model: 'liquid/lfm-2.5-2.6b', messages: [{ role: 'user', content: 'Hello!' }] }) console.log(response.choices[0].message.content)
```

Python

```
from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="liquid/lfm-2.5-2.6b", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
```

cURL

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d '{ "model": "liquid/lfm-2.5-2.6b", "messages": [{"role": "user", "content": "Hello!"}] }'
```

Go

```
package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "liquid/lfm-2.5-2.6b", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

…

## More from Liquid AI

[LFM2.5-2.6B (free)66KLFM2.5-2.6B is a compact reasoning model from Liquid AI. It is suited for agent workflows, data extraction, RAG, and long-context processing. Liquid advises against using it for agentic coding or...](https://hanzo.ai/models/liquid/lfm-2.5-2.6b:free)

[LFM2.5-24B-A2B128KLFM2.5-24B-A2B is a mixture-of-experts reasoning model from Liquid AI with 24B total and 2.45B active parameters. It always reasons before answering and is built for agents that call tools. Liquid...](https://hanzo.ai/models/liquid/lfm-2.5-24b-a2b)

[View all Liquid AI models →](https://hanzo.ai/models/liquid)

## Use LFM2.5-2.6B via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

[Get an API key](https://platform.hanzo.ai/api-keys)[Browse All Models](https://hanzo.ai/models)
