Granite 4.0 Nano

Granite-4.0-H-1B-Base

by IBM watsonx · Current and publicly available as an open-weight model

Granite-4.0-H-1B-Base is IBM’s approximately 1.5B-parameter open-weight base model for efficient local text generation, fill-in-the-middle code completion, fine-tuning, and edge deployment. It uses a hybrid Mamba-2 and Transformer architecture, supports a 128K-token context window, and has an Apache 2.0 license. It is not an instruction-tuned assistant and has no official hosted API pricing.

Text Reasoning Coding
Granite-4.0-H-1B-Base is a compact IBM Granite model for developers who need local, efficient text generation rather than a ready-made conversational assistant. The approximately 1.5B-parameter checkpoint combines Mamba-2 and Transformer components, supports sequences up to 128,000 tokens, and is released under the Apache 2.0 license. It can be used for text generation, fill-in-the-middle code completion, task-specific fine-tuning, and private or resource-constrained deployments.
Outputs

What Granite-4.0-H-1B-Base can produce

Text
Inputs

What it can understand

Text
Capabilities

Support features

Streaming Fine-tuning
Model profile

Performance characteristics

3/10 Reasoning
5/10 Coding
9/10 Speed
9/10 Cost efficiency
Specifications

Technical details

Family Granite 4.0 Nano
Type Lightweight
Context window 128K tokens
Max output tokens tokens
Release date 2025-10-28
Status Current and publicly available as an open-weight model
Knowledge cutoff notes

IBM's model card does not provide a verified knowledge-cutoff date for this exact base checkpoint.

Model notes

Granite-4.0-H-1B-Base is the base pretrained checkpoint in IBM's Granite 4.0 Nano language-model family. It has approximately 1.5 billion parameters and uses a hybrid Mamba-2/Transformer architecture. The model supports fill-in-the-middle code completion and is designed for resource-constrained, offline, and privacy-preserving deployments. It is not an instruction-tuned model, so production dialogue, tool calling, and structured extraction may require additional prompting or fine-tuning. Reasoning, coding, speed, and cost scores are editorial estimates rather than IBM-reported benchmark values. The model is released under Apache 2.0.

COST

Pricing

Input No official hosted API price; downloadable weights
Output No official hosted API price; downloadable weights
Model guide

Granite-4.0-H-1B-Base: IBM’s Compact Model for Local Inference and Code Completion

Granite-4.0-H-1B-Base is an IBM open-weight base language model designed for efficient local text generation, fill-in-the-middle code completion, fine-tuning, and latency-sensitive deployments. Its approximately 1.5 billion parameters, hybrid Mamba-2 and Transformer architecture, 128K-token context window, and Apache 2.0 license make it suitable for edge and privacy-sensitive applications, although it is not an instruction-tuned conversational model and has no official hosted API pricing.

What Granite-4.0-H-1B-Base is

Granite-4.0-H-1B-Base is an open-weight, decoder-only language model provided by IBM’s Granite team. It is the base pretrained checkpoint in IBM’s Granite 4.0 Nano family. “Base” is an important distinction: this model is intended to provide a foundation for generation, adaptation, and fine-tuning, rather than to behave like a polished general-purpose chat assistant immediately after download.

The model is aimed at applications where local execution, low latency, reduced memory requirements, or data privacy matter. Instead of sending prompts to a managed cloud service, an organization can download the weights and run the model on its own infrastructure. IBM identifies use cases such as summarization, classification, information extraction, question answering, retrieval-augmented generation components, code completion, and development of specialized models.

The model was released on October 28, 2025, according to the supplied model information, and is currently publicly available as an open-weight model.

Architecture and 128K context window

Granite-4.0-H-1B-Base uses a hybrid Mamba-2 and Transformer architecture. Mamba-2 is a sequence-modeling approach designed to process long sequences efficiently, while Transformer components provide attention-based processing for relationships between tokens. The configuration also includes grouped-query attention, RMSNorm, SwiGLU activation, and shared input/output embeddings.

The H-1B configuration has approximately 1.5 billion parameters. Parameter count is not a direct measure of quality, but it helps explain the model’s positioning: this is a relatively compact checkpoint intended to reduce the hardware and latency burden associated with larger language models.

Its maximum supported sequence length is 128,000 tokens. A token is a unit of text used by the model, and the sequence includes the input context and generated continuation. The large context limit can be useful when processing long documents, repositories, or retrieved material, but it does not guarantee that every long-context task will produce equally reliable results. The supplied research does not specify a separate maximum output-token limit, so that value should be treated as unknown rather than assumed to equal the full context length.

Capabilities and supported modalities

Granite-4.0-H-1B-Base supports text input and text output. It does not natively generate images, audio, or video, and the supplied specifications do not identify image, audio, or video input support. It is therefore best understood as a text-only language model rather than a multimodal system.

The model supports ordinary text generation and fill-in-the-middle, often abbreviated FIM, code completion. FIM lets an application provide code that appears before and after a missing section, asking the model to generate the content that belongs between those two regions. This makes the checkpoint relevant to editor completion and code-repair workflows in which the desired output is constrained by surrounding source code.

IBM’s stated application areas include summarization, classification, extraction, question answering, code completion, retrieval-augmented generation components, and task-specific model development. These should be understood as intended use cases, not guarantees that the base checkpoint will perform each task reliably without task-specific prompting or adaptation.

Why the base-model designation matters

A base pretrained model learns statistical patterns from training data but is not necessarily optimized to follow natural-language instructions or maintain a helpful conversation. Granite-4.0-H-1B-Base may therefore require carefully designed prompts, additional fine-tuning, instruction tuning, or application-level validation before it is used for dependable dialogue, structured extraction, or production automation.

This limitation is especially relevant for users comparing it with hosted chat models or instruction-tuned checkpoints. A base model can be a useful starting point for building a specialized system, but it may not provide predictable answers to requests such as “summarize this document in JSON,” “call this tool,” or “follow these multi-step instructions” without additional engineering.

The supplied specifications mark tool or function use as unsupported. There is also no verified native structured-output or JSON-mode capability. An application can parse generated text or add its own constraints, but those techniques should not be presented as an official JSON-mode feature.

Deployment options and Apache 2.0 license

The downloadable weights can be loaded with frameworks such as Hugging Face Transformers and served with systems including vLLM and SGLang, according to the supplied IBM and model-repository information. These tools can provide practical serving features, including request handling and, where configured, streamed token delivery. Streaming in this context is a serving behavior supplied by the deployment stack rather than evidence that the base checkpoint is a hosted API product.

Local deployment can be valuable when prompts or generated content contain confidential source code, internal documents, or regulated information. It can also reduce dependence on network connectivity and recurring inference charges. The trade-off is that the operator is responsible for selecting hardware, installing software, monitoring performance, securing the service, and validating model behavior.

The model weights are distributed under the Apache 2.0 license. That license generally permits research and commercial use subject to its terms, but organizations should still review the license and any applicable notices before deployment. The license does not turn the model into a managed service and does not provide a service-level agreement, hosted endpoint, or guaranteed performance.

Pricing and API availability

There is no official hosted API price specified for Granite-4.0-H-1B-Base in the supplied research. The primary access model is downloadable weights rather than a provider-advertised per-token API. Consequently, there is no verified input price, output price, monthly subscription price, or official maximum-output billing tier to report.

“Open-weight” does not mean that operation is cost-free. Users may incur infrastructure, electricity, storage, engineering, and maintenance costs. The economic advantage is that inference can be run on existing or comparatively constrained private hardware, and costs may become more predictable at sustained volume than usage-based cloud inference. Whether it is actually cheaper depends on the deployment environment and workload.

Speed, cost, reasoning, and coding trade-offs

The supplied editorial assessment gives Granite-4.0-H-1B-Base a speed score of 9 out of 10 and a cost score of 9 out of 10. These are editorial estimates, not IBM-published benchmark results. They reflect the model’s compact size and suitability for local or resource-constrained inference, not a guaranteed tokens-per-second rate or total cost for every device.

The same editorial assessment assigns a reasoning score of 3 out of 10 and a coding score of 5 out of 10. These scores should be used only as broad purchasing guidance. The model’s coding score does not replace testing on a particular programming language, repository, or completion workflow, and its reasoning score does not establish a standardized benchmark result.

In practical terms, the model’s main trade-off is capability versus efficiency. A compact checkpoint can be faster and easier to operate than a much larger model, but it is less suitable when an application depends on advanced reasoning, reliable instruction following, complex agent behavior, or consistently high-quality answers across difficult domains. The supplied research does not provide benchmark comparisons against specific alternative models.

When to choose Granite-4.0-H-1B-Base

This model is a reasonable choice when the deployment requirements favor efficiency and control over out-of-the-box assistant behavior. It is particularly relevant for:

  • Local text generation where data should remain on private infrastructure.
  • Edge or resource-constrained applications that cannot justify a large model.
  • Latency-sensitive services where a compact model is preferable.
  • Fill-in-the-middle code completion in an editor or development tool.
  • Fine-tuning into a task-specific model for classification, extraction, summarization, or another narrow workflow.
  • Offline or connectivity-limited deployments.
  • Projects that prefer an Apache 2.0 open-weight model over a proprietary hosted endpoint.

It is less appropriate when the priority is a ready-to-use conversational assistant, advanced reasoning, dependable tool calling, native structured output, or a managed API with published pricing and service guarantees. In those cases, an instruction-tuned or hosted alternative may reduce application development work, even if it costs more or provides less deployment control.

Key specifications

SpecificationDetails
ProviderIBM
Model familyGranite 4.0 Nano
Model typeLightweight base language model
Approximate parameter count1.5 billion
ArchitectureHybrid Mamba-2 and Transformer
Context length128,000 tokens
Input and outputText input and text output
Fill-in-the-middleSupported for code completion
Tool or function useNot supported in the supplied specifications
Fine-tuningSupported
LicenseApache 2.0
Hosted API pricingNo official price specified
Maximum output tokensNot specified in the supplied research

Bottom line

Granite-4.0-H-1B-Base is best viewed as an efficient foundation for developers who want to run and adapt a language model themselves. Its compact scale, 128K context window, FIM code-completion support, local deployment options, and Apache 2.0 license are its clearest practical advantages. Its base-model behavior, lack of native tool and verified structured-output support, unknown maximum output limit, and absence of hosted API pricing make it a poor fit for users seeking a turnkey conversational or managed-service experience.


Answers to Frequently Asked Questions

How can Granite-4.0-H-1B-Base be deployed and what does it cost?
The downloadable weights can be run locally using frameworks such as Hugging Face Transformers and serving systems including vLLM and SGLang. No official hosted API pricing is specified. Although the weights are available under the Apache 2.0 license, users still incur infrastructure, electricity, storage, engineering, and maintenance costs when operating the model.
Does Granite-4.0-H-1B-Base support tool calling or native JSON output?
The supplied specifications do not support tool or function use, and there is no verified native structured-output or JSON-mode capability. Applications can parse generated text or apply their own constraints, but these approaches should not be treated as official model features.
Can Granite-4.0-H-1B-Base be used for code completion?
Yes. Granite-4.0-H-1B-Base supports fill-in-the-middle code completion, allowing an application to provide code before and after a missing section and have the model generate the content between them. It is suitable for editor completion and code-repair workflows, but results should be tested for the target language and repository.
What is Granite-4.0-H-1B-Base?
Granite-4.0-H-1B-Base is an open-weight, decoder-only language model from IBM’s Granite 4.0 Nano family. It is a base pretrained checkpoint intended for local inference, code completion, fine-tuning, and development of specialized applications rather than turnkey conversational use.
What are the main specifications of Granite-4.0-H-1B-Base?
The model has approximately 1.5 billion parameters, uses a hybrid Mamba-2 and Transformer architecture, and supports a maximum context length of 128,000 tokens. It accepts and generates text, supports fill-in-the-middle code completion, and is distributed under the Apache 2.0 license.


Sources 4
AI Provider

About IBM watsonx