Skip to content
All releases
Added

Granite 4.2 30B

Granite 4.2 30B, the flagship dense reasoning model in IBM's open-weight Granite 4.2 family, joins the catalog on one BYOK route.

ibm-granite/granite-4.2-30b is the largest model in IBM's Granite 4.2 family. It is a 30B dense transformer with built-in <think> chain-of-thought and three modes: full thinking, low-effort and non-thinking. It calls tools, handles twelve tested languages and has a 131K-token context window, with open weights under Apache 2.0. Granite 4.2 8B is the smaller sibling.

AI SDK
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"

const anyrouter = createAnyRouter()
const { text } = await generateText({
  model: anyrouter("ibm-granite/granite-4.2-30b"),
  prompt: "Explain the difference between a mutex and a semaphore.",
})
console.log(text)
Sign in with the AnyRouter CLI, then call the model
anyr login

The route is BYOK-only. Add a Hugging Face key under Dashboard → BYOK; Hugging Face bills you at its own rates and AnyRouter charges nothing for a BYOK route.

Playbooks: AI SDK, OpenAI SDK, playground.

Looking for the full catalog? Browse all models.