Back to models
Jina-Embeddings-V3
Jina AI's 570M multilingual text embedding model built on XLM-RoBERTa with RoPE for 8,192-token sequences, featuring task-specific LoRA adapters and Matryoshka flexible dimensions.
What you can do
- Multilingual long-document RAG retrieval
- Cross-lingual semantic matching and classification
- Flexible-dimension vector index building
Input & output
- Input
- Multilingual text sequences up to 8,192 tokens with task adapter selection
- Output
- Dense multilingual vectors up to 1024 dimensions with Matryoshka truncation support
Example input
task="retrieval.query" | Query: 跨境电商退货物流清关需要提供哪些申报单据?
Things to know
Lightweight (~2GB VRAM in FP16) with custom code (`trust_remote_code=True`), but weights are licensed under CC-BY-NC-4.0—commercial production use requires a separate license from Jina AI.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/embeddings- Model repo ID
jinaai/jina-embeddings-v3
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
result = client.embeddings.create(
model="jinaai/jina-embeddings-v3",
input=["task=\"retrieval.query\" | Query: 跨境电商退货物流清关需要提供哪些申报单据?"],
)
print(len(result.data[0].embedding))Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide