impulse

Lfm 40B

API id lfm-40b
Input / 1M
$0.10
at Lambda AI
Output / 1M
$0.20
at Lambda AI
Context window
131K
tokens
Max output
131K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at Lambda AI, in US dollars per million tokens.

TierInput / 1MOutput / 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
Use your own numbers

Where to run it

1 host serve Lfm 40B. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Lambda AIInference
lfm-40b
$0.10 / $0.20

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

  • Nemotron 3.5 Lightning
    NVIDIA · on Nebius AI Studio
    $0.06 / $0.24
    Has every key capability
    16% less
  • MiniMax M3.1 Flash
    MiniMax · on Refuseless
    $0.05 / $0.25
    Has every key capability
    20% less
  • Qwen3.5 9B
    Alibaba Qwen · on EmpirioLabs AI
    $0.09 / $0.13
    Has every key capability
    20% less
  • Ministral 3B 2512
    Mistral AI · on Mistral AI
    $0.10 / $0.10
    Has every key capability
    20% less

Call it

Using Lambda AI's API.

Python
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
}