Lfm 40B
lfm-40bPricing
List prices at Lambda AI, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.10 | $0.20 |
What it costs a month
At Lambda AI list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out$45.00
- RAG over documents2,000 requests a day, 8K in / 0.6K out$55.20
- Coding agent1,000 requests a day, 40K in / 2K out$132
- Overnight batch20,000 requests a day, 4K in / 0.4K out$288
Where to run it
1 host serve Lfm 40B. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Lambda AIInference lfm-40b | $0.10 / $0.20 | lfm-40b |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
- Features
- Parallel tool calls
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Lambda AI.
Smaller Independent models
No cheaper Independent model keeps its key capabilities.
Other frontier labs
No cheaper match from another frontier lab.
Open-weight picks
- 16% less
- 20% less
- 20% less
- 20% less
Call it
Using Lambda AI's API.
from litellm import completion
response = completion(
model="lambda_ai/lfm-40b",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Lfm 40B cost?
On Lambda AI, Lfm 40B costs $0.10 per million input tokens and $0.20 per million output tokens.
Which APIs offer Lfm 40B?
Lfm 40B runs on 1 API: Lambda AI.
What is Lfm 40B's context window?
131K tokens, with up to 131K tokens in one reply.
Is Lfm 40B being retired?
No retirement date is scheduled for it on any API we track.
What are cheaper alternatives to Lfm 40B?
Models that cost less and keep most of what it can do: Nemotron 3.5 Lightning on Nebius AI Studio (16% less). Savings are on a mix of 3 input tokens to 1 output token.
What is Lfm 40B's API model id?
Use lfm-40b with Lambda AI.
Sources
Raw catalog entry for lfm-40b on Lambda AI
{
"input_cost_per_token": 1e-7,
"litellm_provider": "lambda_ai",
"max_input_tokens": 131072,
"max_output_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 2e-7,
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_system_messages": true,
"supports_tool_choice": true
}