OpenRouter model

Granite 4.0 Micro

IBM: Granite 4.0 Micro. Porovnejte ceny API, poskytovatele, délku kontextu, schopnosti, use cases, latenci a alternativy. General chat via OpenRouter, API workloads. $0.0043 / 1M tokens / $0.022 / 1M tokens. 131k tokens.

OpenRouterPlatform curatedCatalog
StreamingJSON modeLong context
Cena vstupu$0.0043 / 1M tokens
Cena výstupu$0.022 / 1M tokens
Délka kontextu131k tokens
Max výstup8.2k tokens

Co je Granite 4.0 Micro v NextModelu?

IBM: Granite 4.0 Micro. Porovnejte ceny API, poskytovatele, délku kontextu, schopnosti, use cases, latenci a alternativy. General chat via OpenRouter, API workloads. $0.0043 / 1M tokens / $0.022 / 1M tokens. 131k tokens.

Nejlepší použití

  • General chat via OpenRouter
  • API workloads

Příklad kompatibilní s OpenAI

Zachovejte styl OpenAI SDK, namiřte base_url na NextModel a použijte ID katalogu ibm-granite--granite-4.0-h-micro.

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="ibm-granite/granite-4.0-h-micro",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

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

Podobné alternativy

OpenRouterCatalog

This model always redirects to the latest model in the Claude Fable family.

$1.88 / 1M tokensInput$9.40 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

This model always redirects to the latest model in the Anthropic Claude Haiku family.

$0.188 / 1M tokensInput$0.94 / 1M tokensOutput200kContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

This model always redirects to the latest model in the Claude Opus family.

$0.94 / 1M tokensInput$4.70 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

IBM: Granite 4.0 Micro FAQ