Try Bifrost Enterprise free for 14 days.
Request access

lfm-40b Cost Calculator - Lambda Ai

Calculate the cost of using lfm-40b from Lambda Ai for your AI applications

Pricing data last updated:

lfm-40b Cost Calculator

Mode: Chat

Max: 131,072 tokens

Max: 131,072 tokens

Cost Breakdown

Input Cost$0.00010000
Output Cost$0.00020000
Total Cost$0.00030000

Pricing Details

Input: $0.0000001000 per token
Output: $0.0000002000 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

Function Calling

Limits

Max Input Tokens131,072
Max Output Tokens131,072
Max Tokens131,072

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 248 out of 2292 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.

Pricing Information

Input Cost$0.10 per 1M tokens
Output Cost$0.20 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens131,072
Maximum Output Tokens131,072
Maximum Total Tokens131,072

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 131,072 input tokens. The maximum output length is 131,072 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
System Messages - Configure model behavior
Parallel Function Calling - Execute multiple functions simultaneously

How lfm-40b Pricing Compares

At $0.10 per 1M input tokens and $0.20 per 1M output tokens, lfm-40b ranks 248 out of 2292 chat models by input cost. It is more affordable compared to the median of $0.55 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.

ModelProviderInput / 1M tokensOutput / 1M tokensvs lfm-40b
gpt-4.1-nanoAzure$0.10$0.400%
gpt-4.1-nano-2025-04-14Azure$0.10$0.400%
Phi-4Azure$0.13$0.50+25%

Alternatives to lfm-40b

Similar chat models from other providers

Frequently Asked Questions

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 82% below the median of $0.55 for chat models. It ranks 248 out of 2292 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.50.

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.