Try Bifrost Enterprise free for 14 days.
Request access

lfm-2-24b-a2b Cost Calculator - OpenRouter

Calculate the cost of using lfm-2-24b-a2b from OpenRouter for your AI applications

lfm-2-24b-a2b Cost Calculator

Mode: Chat

Max: 32,768 tokens

Cost Breakdown

Input Cost$0.00003000
Output Cost$0.00012000
Total Cost$0.00015000

Pricing Details

Input: $0.0000000300 per token
Output: $0.0000001200 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

Limits

Max Input Tokens32,768
Max Tokens32,768

About lfm-2-24b-a2b

lfm-2-24b-a2b is a powerful chat AI model offered by OpenRouter. This comprehensive guide provides detailed pricing information, technical specifications, and capabilities to help you understand the costs and features of using lfm-2-24b-a2b in your applications.

Pricing Information

Input Cost$0.03 per 1M tokens
Output Cost$0.12 per 1M tokens

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

Technical Specifications

Maximum Input Tokens32,768
Maximum Total Tokens32,768

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 32,768 input tokens.

When should you use lfm-2-24b-a2b?

lfm-2-24b-a2b is best suited for the following scenarios:

  • General-purpose chat and text generation workloads
When should you avoid lfm-2-24b-a2b?
  • High-volume text generation where output cost dominates
  • Streaming or verbose response workloads
  • Complex multi-step reasoning or planning tasks
  • Applications requiring image, audio, or multimodal inputs
  • Very large documents or long conversational histories
How does lfm-2-24b-a2b compare to similar models?

Compared to other models in a similar category, this model is more cost-efficient on input tokens but relatively expensive on output tokens. It is better suited for retrieval-heavy or context-rich workflows than generation-heavy use cases.

Understanding lfm-2-24b-a2b pricing
  • lfm-2-24b-a2b is a general-purpose AI model provided by OpenRouter.
  • Input tokens are priced at $0.03 per 1M tokens.
  • Output tokens are priced at $0.12 per 1M tokens.
  • The model supports a maximum input capacity of 32,768 tokens.
  • For this model, input tokens are less expensive than output tokens, so optimizing your prompts can help manage costs.
  • OpenRouter offers lfm-2-24b-a2b for general-purpose AI workloads, general-purpose AI workloads.

How to Use This Calculator

Step 1: Enter the number of input tokens you expect to use. Input tokens include your prompt, system messages, and any context you provide to the model.

Step 2: Specify the number of output tokens you anticipate. Output tokens are the text generated by the model in response to your input.

Step 3: Review the cost breakdown to see the total estimated cost for your usage. The calculator automatically updates as you adjust the token counts.