providers/BAAI
BAAI · Beijing, China

BAAI models on AIgateway — pricing, context, capabilities

BAAI ships 6 models on AIgateway spanning embedding, rerank. Call any of them via the OpenAI-compatible endpoint at api.aigateway.sh/v1 with one key. Pass-through inference pricing plus a 5% platform fee at credit top-up. No per-call markups, no seat fees, no minimum.

Get your key →See pricingVisit BAAI
models · 6modalities · embedding, reranklocation · Beijing, China
embedding

BAAI embedding models

4 embedding models from BAAI.

Bge-M3
baai/bge-m3
Multi-Functionality, Multi-Linguality, and Multi-Granularity embeddings model.
$0.012 in · $0.000 out / 1M60,000 ctx
Bge-Small-EN-V1.5
baai/bge-small-en-v1.5
BAAI general embedding (Small) model that transforms any given text into a 384-dimensional vector
$0.020 in · $0.000 out / 1M
Bge-Large-EN-V1.5
baai/bge-large-en-v1.5
BAAI general embedding (Large) model that transforms any given text into a 1024-dimensional vector
$0.020 in · $0.000 out / 1M
Bge-Base-EN-V1.5
baai/bge-base-en-v1.5
BAAI general embedding (Base) model that transforms any given text into a 768-dimensional vector
$0.020 in · $0.000 out / 1M
rerank

BAAI rerank models

2 rerank models from BAAI.

Bge-Reranker-Base
baai/bge-reranker-base
Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding. You can get a relevance score by inputting query and passage to the reranker. And the score can be mapped to a float value in [0,1] by sigmoid function.
$0.001 in · $0.000 out / 1M
BGE Reranker Base
baai/bge-reranker-base
Paired with bge-m3 for two-stage retrieval: recall with embeddings, precision with this reranker.
$0.00000 / req
About BAAI

Who they are, what they focus on

Beijing Academy of Artificial Intelligence (BAAI) maintains the BGE family — the most-cited open-weight embedding and reranker models. BGE-M3 is a multi-lingual embedding model (100+ languages); BGE-Reranker-Base pairs with it for precision retrieval.

Headquartered in Beijing, China. Homepage: www.baai.ac.cn/english.html.

FAQ

Common questions about BAAI on AIgateway

Which BAAI models does AIgateway support?
AIgateway routes 6 BAAI models including Bge-Reranker-Base. Full catalog with pricing and context windows is in the sections above.
How do I call a BAAI model from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to the BAAI slug (e.g. "baai/bge-reranker-base"). Request and response shapes are identical to OpenAI.
How much do BAAI models cost on AIgateway?
Pass-through BAAI pricing plus a 5% platform fee applied at credit top-up, not per call. No seat fees, no minimum beyond the $5 top-up floor.
Can I bring my own BAAI API key (BYOK)?
Yes. Attach your BAAI key in the AIgateway dashboard. Calls to BAAI models flip to pass-through and AIgateway waives the 5% platform fee on those calls.
Where is BAAI based?
BAAI is headquartered in Beijing, China.
Is there a free tier?
Every new account gets $5 in signup credit (no card required) spendable on a curated edge-tier shortlist. Paid BAAI models require a $5 minimum credit top-up.
Other providers

Browse other labs

AnthropicOpenAIGooglexAIMoonshotDeepSeekMetaMistralAlibabaDeepgramBlack Forest LabsAll providers →