OpenRouter
Coming soonibm-granite/granite-4.1-8b
Small · 8B · 16k context
Granite 4.1 8B. Compare provider offers, token prices, and published task evidence below.
1 connected provider · 2 coming soon
Choose one API ID. Code examples, Playground and Routes use your selection.
Reference offers only. These providers cannot be called through our API yet.
ibm-granite/granite-4.1-8b
ibm-granite/granite-4.1-8b
vllm/ibm-granite/granite-4.1-8bGranite 4.1 8B. Compare provider offers, token prices, and published task evidence below.
Call this model directly with any OpenAI-compatible SDK. Set base_url to the URL below and pass your API key. Sign up for an API key →
# pip install openai
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.taskrouter.com/v1",
api_key=os.environ["TASKROUTER_API_KEY"],
)
reply = client.chat.completions.create(
model="vllm/ibm-granite/granite-4.1-8b",
messages=[{"role": "user", "content": "Hello! How can you help me today?"}],
)
print(reply.choices[0].message.content)https://api.taskrouter.com/v1Header: Authorization: Bearer $TASKROUTER_API_KEYEach task has a minimum pass rate. A model passes the task when its pass rate reaches that minimum.
74.0% pass rate · 80% minimum · 0.69s p50
Below the minimum
91.8% pass rate · 80% minimum · 14.25s p50
Cheapest passing model
40.0% pass rate · 80% minimum · 13.71s p50
Below the minimum
94.0% pass rate · 80% minimum · 0.59s p50
Passes the task
91.0% pass rate · 80% minimum · 11.37s p50
Cheapest passing model
60.0% pass rate · 80% minimum · 0.93s p50
Below the minimum
The Playground and task routes choose from all models that pass the task, so they may not use this model.