---
title: "lfm-40b - Model Details & Comparison"
description: "lfm-40b from Lambda AI: capabilities, context limits, pricing, and side-by-side comparisons with alternative models."
url: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/lambda_ai/lfm-40b"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/lambda_ai/lfm-40b.md"
---

# lfm-40b - Model Details & Comparison

> lfm-40b from Lambda AI: capabilities, context limits, pricing, and side-by-side comparisons with alternative models.

## Important Links

- [View MCP Gateway](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources/mcp-gateway.md)
- [Features](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/#features)
- [Enterprise](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/enterprise)
- [Pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/pricing.md)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/book-a-demo)

## About lfm-40b

lfm-40b is a chat model from Lambda Ai, one of 20 chat models they offer. It is priced at $0.10 per 1M input tokens and $0.20 per 1M output tokens, ranking 302 out of 2669 chat models by cost and cheaper than 85% of models in this category. lfm-40b supports function calling. It accepts up to 131K input tokens.

## Specifications

- **Lambda AI Provider.**
- **Chat Mode.**
- **131,072 Max Input Tokens.**
- **131,072 Max Output Tokens.**
- **131,072 Max Tokens.**
- **$0.10 / 1M tokens Input Price.**
- **$0.20 / 1M tokens Output Price.**

## Capabilities

lfm-40b supports: Function Calling, Parallel Function Calling, System Messages, Tool Choice.

## lfm-40b Pricing Overview

At $0.10 per 1M input tokens and $0.20 per 1M output tokens, lfm-40b ranks 302 out of 2669 chat models by input cost. It is more affordable compared to the median of $0.50 for chat models, and is cheaper than 85% of models in this category.

lfm-40b is one of 20 Lambda Ai chat models, with support for function calling.

## Models to Compare

Alternatives to lfm-40b with comparable capabilities.

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| gpt-4.1-nano | Azure | $0.10 | $0.40 |
| gpt-4.1-nano-2025-04-14 | Azure | $0.10 | $0.40 |
| Phi-4 | Azure | $0.13 | $0.50 |
| Phi-4-multimodal-instruct | Azure | $0.08 | $0.32 |
| Phi-4-reasoning | Azure | $0.13 | $0.50 |

- [Compare gpt-4.1-nano](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure/gpt-4.1-nano.md)
- [Compare gpt-4.1-nano-2025-04-14](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure/gpt-4.1-nano-2025-04-14.md)
- [Compare Phi-4](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure/phi-4.md)
- [Compare Phi-4-multimodal-instruct](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure/phi-4-multimodal-instruct.md)
- [Compare Phi-4-reasoning](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure/phi-4-reasoning.md)

## Related Resources

- [Calculate lfm-40b costs](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/lambda_ai/model/lfm-40b.md)
- [All Lambda Ai pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/lambda_ai.md)

## FAQ

### Is lfm-40b cheaper than gpt-4.1-nano?

No. lfm-40b costs $0.10 per 1M input tokens while gpt-4.1-nano costs $0.10 per 1M input tokens, making gpt-4.1-nano 0% more affordable for input. However, lfm-40b may offer different capabilities or performance characteristics that justify the price difference.

### How does lfm-40b pricing compare to the average chat model?

lfm-40b input pricing is $0.10 per 1M tokens, which is 80% below the median of $0.50 for chat models. It ranks 302 out of 2669 chat models by input cost, making it cheaper than 85% of models in this category. For output, it costs $0.20 per 1M tokens compared to the median of $1.44.

### What makes lfm-40b different from other Lambda Ai models?

Among Lambda Ai's 20 chat models, lfm-40b ranks 10 by input cost.

### What are the best alternatives to lfm-40b?

The most comparable chat models to lfm-40b are: gpt-4.1-nano from Azure ($0.10/1M input tokens); gpt-4.1-nano-2025-04-14 from Azure ($0.10/1M input tokens); Phi-4 from Azure ($0.13/1M input tokens); Phi-4-multimodal-instruct from Azure ($0.08/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

### How do I calculate lfm-40b costs?

lfm-40b is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.10 and generating 1M output tokens costs $0.20.

## Related Resources

- [Lambda AI models](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/provider/lambda_ai.md)
- [Model library](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library.md)
- [LLM cost calculator](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/pricing.md)
- [Enterprise: Bifrost enterprise](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/enterprise)
- [Book a Demo: Bifrost demo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/book-a-demo)
- [Resources: Bifrost resources](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources.md)

---

*This is a markdown version of [https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/lambda_ai/lfm-40b](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/lambda_ai/lfm-40b) for AI/LLM consumption.*
