Most AI tasks no longer need a frontier model Read launch post

GTE ModernColBERT

An open multi-vector model that searches whole long documents with no chunking step. lightonai/GTE-ModernColBERT-v1

  • Accuracy

    8 retrieval sets, mean nDCG@10 · not measured

  • Time per request

    Not timed one request at a time

  • Serverless price

    $0.0332

    per 1M tokens

Call it

from sie_sdk import SIEClient
​
client = SIEClient(api_key="API keysk-sie-…")
​
query = "querycookie sent with cross-site requests that also needs the Secure attribute"
passages = [
"passage 1Send the cookie only for requests originating from the same site that set the cookie.",
"passage 2Send the cookie only for requests originating from the same site that set the cookie, and for cross-site requests that meet both of the following criteria:",
"passage 3Send the cookie with both cross-site and same-site requests. The Secure attribute must also be set when using this value.",
"passage 4Indicates that the cookie should be stored using partitioned storage. Note that if this is set, the Secure directive must also be set.",
]
​
q = client.encode(
"modellightonai/GTE-ModernColBERT-v1",
[{"text": query}],
output_types=["multivector"],
is_query=True,
)[0]["multivector"]
docs = client.encode(
"modellightonai/GTE-ModernColBERT-v1",
[{"text": passage} for passage in passages],
output_types=["multivector"],
is_query=False,
)
​
print(q)
print(docs)
import { SIEClient } from '@superlinked/sie-sdk';

const client = new SIEClient(undefined, { apiKey: 'sk-sie-…' });

const query = "cookie sent with cross-site requests that also needs the Secure attribute";
const passages = [
  "Send the cookie only for requests originating from the same site that set the cookie.",
  "Send the cookie only for requests originating from the same site that set the cookie, and for cross-site requests that meet both of the following criteria:",
  "Send the cookie with both cross-site and same-site requests. The Secure attribute must also be set when using this value.",
  "Indicates that the cookie should be stored using partitioned storage. Note that if this is set, the Secure directive must also be set.",
];
const model = 'lightonai/GTE-ModernColBERT-v1';

const [q] = await client.encode(model, [{ text: query }], {
  outputTypes: ['multivector'], isQuery: true,
});
const docs = await client.encode(model, passages.map((text) => ({ text })), {
  outputTypes: ['multivector'], isQuery: false,
});
console.log({ query: q, documents: docs });
# Encode the question as a query, then the passages as documents; rank by MaxSim.
curl https://api.superlinked.com/v1/encode/lightonai%2FGTE-ModernColBERT-v1 \
  -H "Authorization: Bearer sk-sie-…" \
  -H "Content-Type: application/json" \
  -d "{\"items\":[{\"text\":\"cookie sent with cross-site requests that also needs the Secure attribute\"}],\"params\":{\"output_types\":[\"multivector\"],\"options\":{\"is_query\":true}}}"

curl https://api.superlinked.com/v1/encode/lightonai%2FGTE-ModernColBERT-v1 \
  -H "Authorization: Bearer sk-sie-…" \
  -H "Content-Type: application/json" \
  -d "{\"items\":[{\"text\":\"Send the cookie only for requests originating from the same site that set the cookie.\"},{\"text\":\"Send the cookie only for requests originating from the same site that set the cookie, and for cross-site requests that meet both of the following criteria:\"},{\"text\":\"Send the cookie with both cross-site and same-site requests. The Secure attribute must also be set when using this value.\"},{\"text\":\"Indicates that the cookie should be stored using partitioned storage. Note that if this is set, the Secure directive must also be set.\"}],\"params\":{\"output_types\":[\"multivector\"],\"options\":{\"is_query\":false}}}"
Build the "Multi-vector" capability into my app using the Superlinked Inference Engine (SIE).

Context
- SIE is an OpenAI-style inference API. Python SDK: `from sie_sdk import SIEClient`; TypeScript: `@superlinked/sie-sdk`.
- Base URL: https://api.superlinked.com (or my regional endpoint). Auth: Bearer key from env `SIE_API_KEY` (never hard-code it).
- Model: lightonai/GTE-ModernColBERT-v1 (SIE primitive: /encode). Keep the model id configurable.

Task
- Input: a query string plus a list of candidate documents.
- Behaviour: return the query and passage token vectors from the native encode calls
- Send two POST requests to https://api.superlinked.com/v1/encode/lightonai%2FGTE-ModernColBERT-v1. Encode one query item {text: query} with params {output_types: ["multivector"], options: {is_query: true}}, then all candidate passages in one batch of {text: passage} items with params {output_types: ["multivector"], options: {is_query: false}}. Do not call the API per candidate. Read the returned per-token vectors from items[i].multivector.values. Return the native token vectors without adding application scoring or ranking. In Python, use SIEClient.encode(..., output_types=["multivector"], is_query=True) for the query and encode(..., output_types=["multivector"], is_query=False) for the passage batch; read each decoded ["multivector"] array. In TypeScript, use client.encode with outputTypes: ["multivector"] and isQuery: true for the query, then isQuery: false for the passage batch; the SDK decodes the native token vectors.

Deliverables
- A typed client wrapper, an application-level function for this task, error handling for timeouts/empty input, and unit tests with a stubbed client.
- Wire it into my existing stack (ask me which framework if unclear) and add a short usage example.

Next to the other multi-vector models

Next to the other multi-vector models
Model 8 retrieval sets, mean nDCG@10 Time per request Serverless price Size
mLateOn lightonai 0.561 Not timed Run in your cloud 307M
Reason ModernColBERT lightonai 0.519 Not timed Run in your cloud 149M
answerai colbert small v1 answerdotai 0.466 Not timed Run in your cloud 33M
jina colbert v2 jinaai 0.452 Not timed Run in your cloud 559M
All 9 multi-vector models

Measured on public datasets

Measured on public datasets
Dataset nDCG@10
SciFact 0.760
LegalBenchConsumerContractsQA 0.748
StackOverflowQA 0.657
NanoFiQA2018Retrieval 0.567
CosQA 0.330

Facts

Size
149M parameters
License
Apache-2.0
Reads
Text, up to 8,192 tokens
Endpoint
encode
Evaluation
Accuracy
Run on SIE against the public dataset named in each figure
8 retrieval sets
The mean over NFCorpus, FiQA2018, SciFact, SCIDOCS, CQADupstackPhysicsRetrieval, CosQA, StackOverflowQA and LegalBenchConsumerContractsQA
Prices
Serverless list prices, effective 10 Nov 2026

Run GTE ModernColBERT on Serverless or in your own cloud

Native Inference

Kubernetes in your own cloud, backed by our engineers.

  • Terraform modules for your cloud
  • Apache-2.0, same engine as Serverless
  • GPU workers scale to zero between jobs
  • Separate worker pools for each tenant
Agent prompt Deploy SIE to our AWS account with the superlinked/sie/aws Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Google Cloud project with the superlinked/sie/google Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Azure subscription with the superlinked/sie/azure Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Alibaba Cloud account with the superlinked/sie/alicloud Terraform module. Docs: superlinked.com/docs/deployment.

SIE Local

The open-source server on your own machine.

  • NVIDIA
  • One container, no cluster
  • Process your data fully offline
  • Same SDK and model IDs as Serverless
docker run --gpus all -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cuda12-default

Talk to us

Tell us about your use case and we'll get back to you shortly.

Apply for an inference grant

Free capacity on our hosted cluster for selected projects. Tell us what you run and we reply by email.