Skip to main content
BAAI · Text Embeddings · 568M

BGE-M3

BGE-M3 is a text embeddings model by BAAI (BAAI BGE, 568M). Multilingual, multi-granularity text embedding model by BAAI supporting 100+ languages and up to 8,192 tokens for cross-lingual semantic search and RAG.

Selected Model

BGE-M3

bge-m3

Connect Your API Key for the Selected Provider to Run Live

Cloudflare Workers AI

Transport: Stateless proxy · Key setup guide

Not Set
66 chars
Press Ctrl + Enter to run

API Call Cost Estimator

Published RatePre-Run Char Estimate

Input (37 tok)

$0.000000

$0.012 / 1M

Approx. Call Cost

$0.000000

Est. ~4 chars/tok

Total Tokens

37

Estimated count


Official Model Card

About BGE-M3

Model specifications sourced from the official model card, separated cleanly from provider-specific availability and pricing.

BGE-M3 model-card specifications
AttributeVerified Value
Model NameBGE-M3
Canonical IDbge-m3
MakerBAAI
FamilyBAAI BGE
TaskText Embeddings
Parameters568M
ArchitectureXLM-RoBERTa-Large Encoder
Context Window8K tokens
Capabilities1,024-dim vectors
LicenseMIT
Release2024-01
Source: BAAI bge-m3 Model CardVerified 2026-11-30

Confirmed Providers

Where to Run BGE-M3

Only providers whose official model lists confirm this model are listed below, each with verified per-million token pricing, account requirements, key status, and a direct launch action.

Cloudflare Workers AIStandard AccessNo Key Saved
Model ID: @cf/baai/bge-m3$0.012 per 1M input tokens

Included in Cloudflare Workers AI 10,000 free daily Neurons (resets 00:00 UTC).

Add Key

Benchmark Runner

Measured Results

Dated outputs, latency, and token metrics produced by scripts/run-benchmarks.ts with the provider used and measurement date.

No Measured Benchmark Results Yet for BGE-M3

Benchmark measurements are never fabricated. Run scripts/run-benchmarks.ts with a supported provider API key and commit data/results/{model-id}.json to publish dated outputs, latency, and token metrics.


Integration

API Code Snippets

Copy ready-to-run curl, JavaScript, and Python code snippets for any confirmed provider offering this model.

curl -X POST "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/baai/bge-m3" \
  -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "text": [
    "Dense vector embeddings capture semantic meaning across sentences."
  ]
}'

Head-to-Head

Model Comparisons

Explore enabled comparison pages or launch an interactive side-by-side test in the Compare tool.

No Pre-Built Comparison Pages Enabled for BGE-M3

Launch the interactive Compare tool to test this model side by side against any other model or provider right now.

Frequently Asked Questions

What Is BGE-M3 Best Suited For?

BGE-M3 is designed for text embeddings workloads by BAAI. Multilingual, multi-granularity text embedding model by BAAI supporting 100+ languages and up to 8,192 tokens for cross-lingual semantic search and RAG.

How Can I Run BGE-M3 Live in the Browser?

Select one of the 1 confirmed provider listed in the Where to Run section, add your browser-stored API key for that provider, and run prompts directly in the live playground above.

Related Models and Tools