providers/BAAI
BAAI · Beijing, China

BAAI models on AIgateway — pricing, context, capabilities

BAAI ships 6 models on AIgateway spanning embedding, rerank, reranking. 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, rerank, rerankinglocation · Beijing, China
embedding

BAAI embedding models

4 embedding models from BAAI.

Bge-M3
★ featured
baai/bge-m3
Multi-Functionality, Multi-Linguality, and Multi-Granularity embeddings model.
see pricing60,000 ctx
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
see pricing
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
see pricing
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
see pricing153,600 ctx
rerank

BAAI rerank models

1 rerank model from BAAI.

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
reranking

BAAI reranking models

1 reranking model 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.
see pricing
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-M3. 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-m3"). 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?
AIgateway's free tier is 100 requests/day on Kimi K2.6 — any account can test without a card. Paid BAAI models require a $5 minimum credit top-up.
Other providers

Browse other labs

AnthropicOpenAIGooglexAIMoonshotDeepSeekMetaMistralAlibabaDeepgramBlack Forest LabsAll providers →