Granite 3.1 2B
IBM's smallest Granite, Apache-2.0, edge-friendly, enterprise-supported.
Updated
Quick facts
- Released
- Dec 2024
- Context
- 128K tokens
- Output / 1M
- Pricing not published
- License
- Apache-2.0
About Granite 3.1 2B
Granite 3.1 2B is IBM's edge-tier model, Apache-2.0 licensed and intended for embedded and constrained-hardware enterprise deployments. Targets the same hardware envelope as Phi-3.5 small variants while keeping IBM's clean-training-data property.
For industrial IoT, regulated retail, and other deployments where data leaving the device is unacceptable, Granite 2B is a credible default.
Benchmarks
Published scores from Other's model card or independent leaderboards. We do not publish numbers we cannot source, see methodology.
Capabilities
Strengths
- Apache-2.0
- Tiny enterprise model
Tracked weaknesses
- Quality very limited
Pricing
Per-million-token rates as published by Other.
Call Granite 3.1 2B from your code
Drop-in snippet for the Other SDK. Set your API key in the environment and run.
import OpenAI from "openai";
const client = new OpenAI({
// Use OPENAI_API_KEY for OpenAI, or your provider's key + baseURL.
apiKey: process.env.OPENAI_API_KEY,
});
const completion = await client.chat.completions.create({
model: "granite-3-1-2b",
messages: [
{ role: "user", content: "What's the time complexity of quicksort?" },
],
});
console.log(completion.choices[0].message.content);Compare Granite 3.1 2B with…
Frequently asked
How much does Granite 3.1 2B cost?
Other has not published per-token API pricing for Granite 3.1 2B at the time of writing. Check the official site for current pricing tiers, or compare against alternative models on LLMDex.What is Granite 3.1 2B's context window?
Granite 3.1 2B supports a context window of 128K tokens.Is Granite 3.1 2B open source?
Granite 3.1 2B ships with open weights under the Apache-2.0 license. You can self-host it, fine-tune it, and (subject to the license terms) deploy it commercially.When was Granite 3.1 2B released?
Granite 3.1 2B was released on Dec 18, 2024 by Other.
Intelligence, distilled weekly.
One short email every Friday, new model launches, leaderboard moves, and pricing drops. Curated by hand. Free, no spam.