AIAny
AI Model2026
Icon for item

LFM2.5-2.6B

A 2.6B causal LLM post-trained for agentic workloads and long-context on-device text generation. Key features: 128K context window and vocabulary, function-calling/tool use support, agentic RL/post-training pipeline, and optimized CPU/Apple inference and multiple deployment formats; suited for agents, RAG and long-context extraction.

Introduction

Agentic agents and long-context applications shift the bottleneck from raw parameter count to training and interaction design: a small, well-post-trained model can behave like a much larger one on multi-step tool use. LFM2.5-2.6B is the result of that approach—a 2.6B causal model converted into an agent through supervised fine-tuning, teacher specialization, on-policy distillation and agentic reinforcement learning so it can run agents and handle very long inputs.

Key Capabilities
  • Agentic behavior distilled into a compact model: trained inside agentic harnesses and exposed to common tool interfaces so it reliably composes tool calls and final answers. This reduces integration friction when using function-calling or orchestrating external tools.
  • Long-context and multilingual support: mid-training extended the context window to 131,072 tokens and expanded the tokenizer to ~128k entries, enabling retrieval-heavy workflows and long-document RAG without frequent chunking.
  • Deployment and inference pragmatics: available in native, GGUF, ONNX and MLX formats; supports transformers, vLLM, llama.cpp and MLX stacks. Measured decode speeds include ~220 tok/s on an Apple M5 Max and ~113 tok/s on a Ryzen CPU, enabling on-device or CPU-first agent deployments.
  • Practical generation defaults and fine-tuning-ready base: recommended generation settings and a separate base checkpoint exist to facilitate CPT/SFT/LoRA workflows for domain adaptation.
Who it's for and trade-offs

Great fit if you need a small-footprint model that can run agents, use tools, and process very long contexts locally or on constrained hardware. It is also suitable for RAG, data extraction, and workflows where function-calling and stable tool behavior matter.

Look elsewhere if your primary need is heavy knowledge retrieval or coding agents that require larger param-counts for factual recall and code synthesis; the authors explicitly note it is not recommended for knowledge-heavy coding workloads. Expect trade-offs in raw factual breadth compared with larger foundation models, even if agentic behavior and tool use are strong.

Where it fits

Positioned as a practical engineering choice: compresses agentic capabilities into a sub-3B checkpoint and prioritizes inference efficiency and tool interoperability over parameter scale. Use it when latency, on-device execution, or extreme context length matter more than absolute model size.

More Items

Hugging Face
AI Model2026

Fine-tunes Inkling-2-Mini with reinforcement learning for the pi coding agent, reducing tool calls and generated tokens. It improves Terminal-Bench 2.1 results under a one-hour limit, while matching the base model roughly when given more time.

Hugging Face
AI Model2026

Fine-tunes Inkling-2-Mini to draft natural-sounding X posts from short prompts, alongside an ensemble for distinguishing human and AI-written text. The author reports 92.6% ROC-AUC on held-out authors.

Hugging Face
AI Model2026

Provides NVFP4-quantized weights for text generation with Xing4.1-Preview, targeting lower inference memory requirements. The underlying MoE model supports a native context of up to 1M tokens.