OpenRouter modelo

Granite 4.0 Micro

IBM: Granite 4.0 Micro Compare precos de API, fornecedor, comprimento de contexto, capacidades, casos de uso, latencia e alternativas. General chat via OpenRouter, API workloads. $0.0043 / 1M tokens / $0.022 / 1M tokens. 131k tokens.

OpenRouterPlatform curatedCatalog
StreamingJSON modeLong context
Preco de entrada$0.0043 / 1M tokens
Preco de saida$0.022 / 1M tokens
Comprimento de contexto131k tokens
Saida maxima8.2k tokens

O que e Granite 4.0 Micro no NextModel?

IBM: Granite 4.0 Micro Compare precos de API, fornecedor, comprimento de contexto, capacidades, casos de uso, latencia e alternativas. General chat via OpenRouter, API workloads. $0.0043 / 1M tokens / $0.022 / 1M tokens. 131k tokens.

Melhores casos de uso

  • General chat via OpenRouter
  • API workloads

Exemplo compativel com OpenAI

Mantenha o estilo do SDK OpenAI, aponte base_url para NextModel e use o ID do catalogo 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)

Alternativas semelhantes

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