from openai import OpenAI client = OpenAI( base_url="https://api.naga.ac/v1", api_key="YOUR_API_KEY", ) resp = client.chat.completions.create( model="lfm-2.5-2.6b:free", messages=[ {"role": "user", "content": "What's 2+2?"} ], temperature=0.2, ) print(resp.choices[0].message.content)
LFM2.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 knowledge-heavy tasks.