OpenRouter โมเดล

LFM 2 24b A2B

LFM 2 24b A2B เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง General chat via OpenRouter, API workloads. $0.0058 / 1M tokens / $0.023 / 1M tokens. — tokens.

OpenRouterPlatform curatedCatalog
Streaming
ราคา input$0.0058 / 1M tokens
ราคา output$0.023 / 1M tokens
ความยาว context— tokens
เอาต์พุตสูงสุด8.2k tokens

LFM 2 24b A2B ใน NextModel คืออะไร?

LFM 2 24b A2B เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง General chat via OpenRouter, API workloads. $0.0058 / 1M tokens / $0.023 / 1M tokens. — tokens.

use case ที่เหมาะ

  • General chat via OpenRouter
  • API workloads

ตัวอย่างโค้ดที่เข้ากันได้กับ OpenAI

คงรูปแบบ OpenAI SDK เดิม ชี้ base_url ไปที่ NextModel และใช้ ID จากแคตตาล็อก liquid--lfm-2-24b-a2b.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="liquid/lfm-2-24b-a2b",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

ทางเลือกที่คล้ายกัน

OpenRouterCatalog

Available through the NextModel gateway via OpenRouter.

$0.752 / 1M tokensInput$1.50 / 1M tokensOutputContext
Best forGeneral chat via OpenRouter, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

Available through the NextModel gateway via OpenRouter.

$0.132 / 1M tokensInput$0.263 / 1M tokensOutputContext
Best forGeneral chat via OpenRouter, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

Aion-RP-Llama-3.1-8B ranks the highest in the character evaluation portion of the RPBench-Auto benchmark, a roleplaying-specific variant of Arena-Hard-Auto, where LLMs evaluate each other’s responses. It is a fine-tuned base model...

$0.152 / 1M tokensInput$0.302 / 1M tokensOutput32.8kContext
Best forGeneral chat via OpenRouter, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

LFM 2 24b A2B FAQ