Open-source LLM (via OpenRouter)
Granite 4.2 8B
model
granite-4-2-8bBudgetStabilStreamingToolsBatchLong contextGlobal
Konteks
131K
Input / 1M token
$0.0600
Output / 1M token
$0.2500
Tentang model ini
Granite 4.2 8B
Granite 4.2 8B is a budget-tier model available through the Anoman gateway. Detailed performance benchmarks and use-case guidance for this model are coming soon. In the meantime, see the code example below to integrate it into your workflow, and the tier + region information in the hero for pricing and residency.
Contoh kode
Chat completion dengan Granite 4.2 8B
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="granite-4-2-8b",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)