---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/[Embeddings](/models?category=embeddings)/ibm-granite/granite-embedding-311m-multilingual-r2

HFText Embeddingsapache-2.0

# granite-embedding-311m-multilingual-r2

by ibm-granite

200+ language embedding model with 32K context and ModernBERT architecture

77Kdl/month

125likes

312Mparams

[HuggingFace](https://huggingface.co/ibm-granite/granite-embedding-311m-multilingual-r2)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`ibm-granite/granite-embedding-311m-multilingual-r2`

## Deploy granite-embedding-311m-multilingual-r2

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

Granite Embedding 311M Multilingual R2 is IBM's second-generation multilingual text embedding model, built on ModernBERT with alternating attention mechanisms and GeGLU activations. It achieves a 13-point improvement over R1 on MTEB Multilingual Retrieval (65.2) while supporting 200+ languages, 9 programming languages, and a 32K token context window.

On Mixpeek, this model excels at cross-lingual retrieval across global document collections. Its 32K context handles full-length legal contracts, research papers, and technical documentation without chunking. The Apache 2.0 license and broad deployment options (ONNX, OpenVINO INT8, vLLM, GGUF) make it suitable for production at scale.

## Architecture

ModernBERT backbone with 22 layers, 12 attention heads, alternating attention patterns, and GeGLU activations. 311M parameters. Rotary position embeddings (RoPE) supporting 32K context. Trained via knowledge distillation from multiple teachers with contrastive fine-tuning and model merging. Matryoshka representation learning for flexible output dimensions.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so granite-embedding-311m-multilingual-r2 runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "asset-00412",
          // The vector name has to match a vector index on the collection.
          vectors: { "text-embedding": yourVector },
          payload: { source\_key: "archive/2026/asset-00412" },
        },
      \],
    }),
  },
);

// Managed alternative, if this exact model is not the requirement:
// text\_extractor@v1 runs intfloat/multilingual-e5-large-instruct
// (1024-d) over a bucket, with no inference of your own.

## Capabilities

*   200+ language support with 52 enhanced languages
*   32K token context length via RoPE
*   768-dimensional embeddings with Matryoshka truncation to 128-dim
*   Code retrieval across Python, Go, Java, JavaScript, PHP, Ruby, SQL, C, C++
*   1828 docs/sec throughput on single H100

## Use Cases on Mixpeek

Cross-lingual enterprise search across global document repositories

Long-document embedding for legal contracts and research papers without chunking

Multilingual code search across polyglot codebases

Edge-optimized deployment via OpenVINO INT8 quantization

## Benchmarks

Dataset

Metric

Score

Source

MTEB Multilingual Retrieval (18 tasks)

nDCG@10

65.2

Model card

MTEB Code Retrieval (12 tasks)

nDCG@10

63.8

Model card

LongEmbed (6 tasks)

nDCG@10

71.7

Model card

## Performance

Input SizeVariable

GPU Latency~3ms per passage (H100)

GPU Throughput1828 docs/sec (H100, batch 1024, 512 tokens)

GPU Memory~0.8 GB

## Common Pipeline Companions

[

baai\_bge\_m3\_v1

Common companion model

](/models)[

qwen3\_reranker\_4b\_v1

Common companion model

](/models)

## Explore on Mixpeek

[

More Embeddings models

Compare alternatives in this category

](/models?category=embeddings)[

Best Self-Hosted Embedding Models

Hand-picked tools & platforms compared

](/curated-lists/best-self-hosted-embedding-models)[

Instruction-Tuned Embeddings

Deep-dive technical guide

](/guides/instruction-tuned-embeddings)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

FrameworkHF

Organizationibm-granite

FeatureText Embeddings

Output1024-dim vector

Modalitiesdocument, audio

RetrieverText Similarity

Parameters312M

Licenseapache-2.0

Downloads/mo77K

Likes125

[

### Research Paper

Model paper or technical report

arxiv.org](https://arxiv.org/abs/2605.13521)

### Build a pipeline with granite-embedding-311m-multilingual-r2

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

### Alternative Models

[

BAAI/bge-large-en-v1.5

Text Embeddings

](/model/BAAI/bge-large-en-v1.5)[

sentence-transformers/all-MiniLM-L6-v2

Text Embeddings

](/model/sentence-transformers/all-MiniLM-L6-v2)[

Qwen/Qwen3-Embedding-0.6B

Text Embeddings

](/model/Qwen/Qwen3-Embedding-0.6B)[

nomic-ai/nomic-embed-text-v2-moe

Text Embeddings

](/model/nomic-ai/nomic-embed-text-v2-moe)

### Related in Embeddings

[

openai/clip-vit-large-patch14

Visual Embeddings

](/model/openai/clip-vit-large-patch14)[

google/siglip-base-patch16-224

Visual Embeddings

](/model/google/siglip-base-patch16-224)[

google/siglip2-giant-opt-patch16-384

Visual Embeddings

](/model/google/siglip2-giant-opt-patch16-384)[

facebook/dinov2-large

Visual Embeddings

](/model/facebook/dinov2-large)