Skip to content
03 Model garden Serve

granite 3b code base 2k

Runs as your own dedicated GPU deployment, ready to launch from the wizard. Data stays in Europe.

curl
$ curl https://hostyourai.com/api/v1/chat/completions \
  -H "Authorization: Bearer hyai-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ibm-granite/granite-3b-code-base-2k",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Call it now

Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.

Serve Model garden On request
ibm-granite/granite-3b-code-base-2k

text->text · ibm-granite · sovereign EU

Runs on EU infrastructure operated by European companies, from your request to the GPU. See the full chain

New applications/projects should use the latest mainline Granite language model family, whose code capabilities supercede this model. This model is being made available strictly for historical/scientific purposes. Please see our Granite Collections for the latest Granite releases...

Router
Router · on request
Dedicated
Dedicated · available
3.5BParameters
2KContext window
16GBMinimum VRAM
POST /api/v1/chat/completions On request

Specifications

Parameters3.5B
Context window2,048 tokens
Minimum VRAM16 GB
ArchitectureLlamaForCausalLM (vLLM)
Licenseapache-2.0
Modalitytext->text
ReleasedApril 2024
Publisheribm-granite ↗

Pricing

Shared router · per token

On request Not available on the shared router. Pricing on request as a dedicated GPU deployment.

Dedicated GPU · per hour

from €0,99 per hourYour own vLLM instance on European cloud (16 GB VRAM), billed per minute.

Shared EU router, you pay only per token. Dedicated GPU deployments are billed per minute, see pricing.

Bench index

Bench is our quality index for every model, 0 to 100. It rests on public measurements (Epoch AI with about 40 benchmarks, LiveBench, LMArena and more) and is refreshed every morning. Where nobody measures, it shows an estimate with a range.

~9.4 / 100 · Estimate

No public benchmark yet: estimated from size and release date.

Base (pretrained) model: weaker in a chat than the estimate.

Range 0.0 to 20.9

Sources: Epoch AI ↗ · LiveBench ↗ · LMArena ↗ · Refreshed daily, last on 18-11-2026

Questions

Frequently asked questions

Can I run granite 3b code base 2k in the EU?

Yes. HostYourAI runs granite 3b code base 2k on GPUs in European datacenters via vLLM. Prompts and outputs never leave the EU and there is no US cloud provider in the chain.

Is hosting granite 3b code base 2k GDPR-compliant?

Yes. All processing happens inside the EU, a Data Processing Agreement (DPA) is available and the subprocessor list is public. Open-source weights also mean: no training on your data.

How much does granite 3b code base 2k cost?

granite 3b code base 2k is available on request: through the shared EU router after a quick chat, or as your own dedicated GPU deployment billed per minute. Tell us your use case and we will set it up for you.

Is the API OpenAI-compatible?

Yes. You use the standard OpenAI SDKs with a custom base URL (https://hostyourai.com/api/v1). The Anthropic Messages API is supported as a drop-in as well.

More models from Ibm-granite

The platform

One platform, four layers

Start with one layer and add the others when the work asks for it. They share one key, one balance and one Activity view.

Code

Your coding agent on open models in Europe, set up with one command.

Open

Control

Keys, budgets and guardrails per team, and personal data stopped before any model sees it.

Open

Serve

Shared per token, or running for you alone, from European data centres.

Open

EU compute

Private GPUs in Europe, H100 to B300, sized for response time, generation speed and concurrent users.

Open

Try granite 3b code base 2k for free

Creating an account takes a minute. Test granite 3b code base 2k straight away in the playground.

  • Jantine
  • Hans
  • Sander
  • Jos
  • Daan
  • Kyra
  • Margriet
  • Stan
The team behind HostYourAI