GLM 4.5 Air (free) is free for input tokens while LFM2-24B-A2B costs $0.03 per 1M tokens.
API cost decision in 10 seconds
GLM 4.5 Air (free) vs LFM2-24B-A2B
Pick GLM 4.5 Air (free) when budget and context both matter.
Budget verdict
Pick GLM 4.5 Air (free) when budget and context both matter.
On the standard 1M input plus 500K output workload, GLM 4.5 Air (free) is estimated at $0 vs $0.09 for LFM2-24B-A2B, saving $0.09 (100% lower).
GLM 4.5 Air (free) is cheaper on the standard workload and also has the larger context window. At 10x that traffic, the same price gap is about $0.9. Use the calculator below to replace the sample workload with your own token volume.
Cost sensitivity
Workload Sensitivity
GLM 4.5 Air (free) stays cheaper across input-heavy, balanced, and output-heavy sample workloads.
| Workload shape | Token mix | Better pick | GLM 4.5 Air (free) | LFM2-24B-A2B |
|---|---|---|---|---|
| Input-heavy / RAG | 5M input + 500K output | GLM 4.5 Air (free) | $0 | $0.21 |
| Balanced workload | 1M input + 1M output | GLM 4.5 Air (free) | $0 | $0.15 |
| Output-heavy chatbot | 1M input + 5M output | GLM 4.5 Air (free) | $0 | $0.63 |
GLM 4.5 Air (free) is free for output tokens while LFM2-24B-A2B costs $0.12 per 1M tokens.
GLM 4.5 Air (free) has 3.07K more context (1.02x larger).
GLM 4.5 Air (free) is free for the standard workload while the other model is estimated at $0.09.
Estimate your workload cost
Your Workload Cost
This estimate uses normalized public API pricing per 1M tokens. It is a planning aid, not a billing quote. Verify provider pricing, limits, and terms before production use.
Quick Decision
GLM 4.5 Air (free) has the lower input price; GLM 4.5 Air (free) has the lower output price; GLM 4.5 Air (free) offers the larger context window. For the 1M input plus 500K output sample, GLM 4.5 Air (free) is cheaper for the standard workload.
For a 1M input token plus 500K output token workload, the estimated API cost is $0 for GLM 4.5 Air (free) and $0.09 for LFM2-24B-A2B.
Choose GLM 4.5 Air (free) when you care most about lower input-token price, lower output-token price, and larger context window.
Choose LFM2-24B-A2B when its provider, model quality, latency, or availability is more important than the numeric price/context winner.
- On the standard 1M input plus 500K output workload, GLM 4.5 Air (free) is estimated at $0 vs $0.09 for LFM2-24B-A2B, saving $0.09 (100% lower).
- GLM 4.5 Air (free) is free for the standard workload while the other model is estimated at $0.09.
- GLM 4.5 Air (free) is free for input tokens while LFM2-24B-A2B costs $0.03 per 1M tokens.
- GLM 4.5 Air (free) is free for output tokens while LFM2-24B-A2B costs $0.12 per 1M tokens.
- GLM 4.5 Air (free) has 3.07K more context (1.02x larger).
| Feature | GLM 4.5 Air (free) (Z.ai) | LFM2-24B-A2B (LiquidAI) |
|---|---|---|
| Input Price prompt tokens per 1M | $0 | $0.03 |
| Completion Price per 1M tokens | $0 | $0.12 |
| Sample Workload Cost 1M input + 500K output | $0 | $0.09 |
| Context Window | 131.07K | 128K |
| Release Date | ||
| Popularity | #41 | #125 |
Use-Case Decision Matrix
| Use case | Better pick | Why |
|---|---|---|
| Budget-constrained production | GLM 4.5 Air (free) | On the standard 1M input plus 500K output workload, GLM 4.5 Air (free) is estimated at $0 vs $0.09 for LFM2-24B-A2B, saving $0.09 (100% lower). |
| High-volume input processing | GLM 4.5 Air (free) | Lower prompt-token price matters most when prompts, retrieved passages, or documents dominate the bill. |
| Long responses and chatbots | GLM 4.5 Air (free) | Lower output-token price matters most when assistants generate many completion tokens. |
| RAG or long-document work | GLM 4.5 Air (free) | A larger context window leaves more room for retrieved passages, conversation history, or source files. |
Related Alternatives
- LFM2.5-1.2B-Thinking (free) can replace LFM2-24B-A2B when lower sample workload cost matters most: $0.
- LFM2.5-1.2B-Instruct (free) can replace LFM2-24B-A2B when lower sample workload cost matters most: $0.
- Owl Alpha offers 1.05M context with $0 sample workload cost.
- DeepSeek V4 Flash (free) offers 1.05M context with $0 sample workload cost.
- Lyria 3 Clip Preview offers 1.05M context with $0 sample workload cost.
- Lyria 3 Pro Preview offers 1.05M context with $0 sample workload cost.
- DeepSeek V4 Flash · DeepSeek · #1
- Hy3 preview · Tencent · #2
- Claude Opus 4.7 · Anthropic · #3
- Claude Sonnet 4.6 · Anthropic · #4
Cheaper alternatives
Review low-cost models sorted by a standard 1M input plus 500K output workload.
Open cheapest modelsLarger context alternatives
Find models with larger context windows for RAG, long documents, and codebase review.
Open largest context modelsProvider catalogs
Compare models within provider hubs before choosing a final API vendor.
Open provider hubsZ.ai catalog
Review all tracked Z.ai models before deciding whether this matchup is the right shortlist.
Open Z.ai modelsLiquidAI catalog
Check other LiquidAI models with comparable pricing, context, or release timing.
Open LiquidAI modelsGLM-4.5-Air is the lightweight variant of our latest flagship model family, also purpose-built for agent-centric applications. Like GLM-4.5, it adopts the Mixture-of-Experts (MoE) architecture but with a more compact parameter...
LFM2-24B-A2B is the largest model in the LFM2 family of hybrid architectures designed for efficient on-device deployment. Built as a 24B parameter Mixture-of-Experts model with only 2B active parameters per...