ibm-granite/granite-4.0-1b

`ibm-granite/granite-4.0-1b` powered by vLLM - [Original Model Card](https://huggingface.co/ibm-granite/granite-4.0-1b) - [vLLM Documentation](https://docs.vllm.ai) ## Chat Completions API ### Send R…

azureFoundry/HuggingFace/ibm-granite-granite-4.0-1b@2

ibm-granite/granite-4.0-1b powered by vLLM

Chat Completions API

Send Request

You can use cURL or any REST Client to send a request to the Azure ML endpoint with your Azure ML token.

curl <AZUREML_ENDPOINT_URL> \\
    -X POST \\
    -H "Authorization: Bearer <AZUREML_TOKEN>" \\
    -H "Content-Type: application/json" \\
    -d '{"model":"ibm-granite/granite-4.0-1b","messages":[{"role":"user","content":"What is Deep Learning?"}]}'

Supported Parameters

The following are the only mandatory parameters to send in the HTTP POST request to v1/chat/completions.

  • model (string): Model ID used to generate the response, in this case since only a single model is deployed within the same endpoint you can either set it to ibm-granite/granite-4.0-1b or leave it blank instead.
  • messages (array): A list of messages comprising the conversation so far. Depending on the model you use, different message types (modalities) are supported, like text, images, and audio.

The rest of the parameters are optional, and since this model is powered by vLLM with an OpenAI compatible interface on top for the Chat Completions API for text generation, then the I/O interfaces for both generation and streaming are the same as in OpenAI Chat Completions API.

You can find the whole specification of the allowed parameters in the OpenAI Chat Completion API Specification, or alternatively in the endpoint /openapi.json for the current Azure ML Endpoint.

Example payload

{
  "model": "ibm-granite/granite-4.0-1b",
  "messages": [
    {"role":"user","content":"What is Deep Learning?"}
  ],
  "max_completion_tokens": 256,
  "temperature": 0.6
}

Specifications & capabilities

Input
text
Output
text
Published model ID
granite-4.0-1b

Provider specifications & access

1–2 / 2

ibm-granite/granite-4.0-1b ↗

source model id
HuggingFace/ibm-granite-granite-4.0-1b@1
hosting
foundry-managed-compute
platforms
  • Microsoft Foundry
license
apache-2.0
architecture
input_modalities
  • text
output_modalities
  • text
capabilities

    ibm-granite/granite-4.0-1b ↗

    source model id
    HuggingFace/ibm-granite-granite-4.0-1b@2
    hosting
    foundry-managed-compute
    platforms
    • Microsoft Foundry
    license
    apache-2.0
    architecture
    input_modalities
    • text
    output_modalities
    • text
    capabilities

      Safety assessments

      1–1 / 1

      Foundation Model Transparency Index 2025 ↗

      95 / 100

      source id
      stanfordFMTI
      canonical model id
      azureFoundry/HuggingFace/ibm-granite-granite-4.0-1b@2
      taxonomy
      transparency
      hazard category
      transparency
      hazard name
      Organization transparency
      policy area
      IBM
      assessment type
      organization-level disclosure
      metric
      disclosure_score
      result label
      95 / 100
      sample size
      100
      updated at
      2026-11-09T18:08:05.227Z

      Original sources

      1–6 / 6

      Hugging Face · ibm-granite/granite-4.0-1b ↗

      Microsoft Foundry · Model page ↗

      Microsoft Foundry · Model page ↗

      Microsoft Foundry · Model documentation ↗

      GitHub · Catalog ↗

      Microsoft Foundry · Catalog ↗

      Source links

      1–2 / 2

      Explore more models

      Models

      Loading
      EVIDENCE / COMPARISON

      Benchmarks

      Explore every benchmark

      Loading

      These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

      Install TensorTrace