BGE Multilingual Gemma2
Baaibaai/bge-multilingual-gemma2Open WeightsMultilingual Gemma 2 based embedding model for retrieval and semantic search
Benchmark Pricing$0.11 / 1M in$0.00 / 1M out
Context: 8,192 tokens•Max Output: 4,096 tokens•Released: 2024-07-25
TECHNICAL SPECIFICATIONS
Context Window8,1928.2K tokens
Max Output4,0964.1K tokens
LicenseGemmaSelf-hostable
Input Modalities
Text
Function / Tool CallingNot Supported
Structured OutputsPrompt Based
MODEL CONTEXT PROTOCOL (MCP) READINESS
⚠ BGE Multilingual Gemma2 does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.
MCP Context Window Recommendations
With a context capacity of 8,192 tokens, this model can handle compact tool sets. Consider keeping MCP server tool manifests minimal to preserve headroom.
API CALL INVOCATION EXAMPLE
// Example: Calling BGE Multilingual Gemma2 via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.BAAI_API_KEY,
});
const response = await client.chat.completions.create({
model: "baai/bge-multilingual-gemma2",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Scalewaybge-multilingual-gemma2
$0.11 / $0.00
Infomaniakbge_multilingual_gemma2
$0.08 / $0.00
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by Baai
Alternative and family models from the same lab
BGE Reranker V2 M3
baai/bge-reranker-v2-m3•Baai
Lightweight multilingual cross-encoder that scores query-document relevance
4.1K out max
In: $0.01 • Out: Free
BaaiBGE M3
baai/bge-m3•Baai
Multilingual embedding model combining dense, sparse, and multi-vector retrieval
4.1K out max
In: $0.01 • Out: Free
Baai