Gemma 3 4B vs LFM2-24B-A2B
| Gemma 3 4B | LFM2-24B-A2B | |
|---|---|---|
| Provider | LiquidAI | |
| Context window Maximum tokens (input + output) the model can process in a single request. Glossary → | 131,072 | 128,000 |
| Capabilities Optional capabilities the model advertises: vision (images), tools (function calling), json_mode (structured output). | vision, json_mode | json_mode |
| Input $ / 1M tokens Cost for tokens you send (prompt + context). Cheaper side highlighted. Glossary → | 0.0500 | 0.0300 |
| Output $ / 1M tokens Cost for tokens the model generates. Output is normally 3–5× pricier than input. Glossary → | 0.1000 | 0.1200 |
Frequently asked questions
Which is cheaper, Gemma 3 4B or LFM2-24B-A2B?
LFM2-24B-A2B is cheaper than Gemma 3 4B on a 50/50 input/output blend by about $0 per 1M tokens. Exact savings depend on your input-vs-output ratio — use the cost calculator on this page for a workload-specific estimate.
Which has a larger context window, Gemma 3 4B or LFM2-24B-A2B?
Gemma 3 4B has the larger context window at 131k tokens versus 128k tokens for LFM2-24B-A2B. That means Gemma 3 4B can ingest about 1.0x as much text per request.
What is the difference between Gemma 3 4B and LFM2-24B-A2B?
Gemma 3 4B comes from Google; LFM2-24B-A2B comes from LiquidAI. They differ in pricing, context window, and supported capabilities — see the side-by-side table on this page for the exact figures, refreshed nightly.