BGE-M3 embeddings for RAG over long documents
BGE-M3 for RAG over long documents: 1024 dimensions, up to 8,192 tokens, 100+ languages, no prefix needed. MIT license.
| Modell | BAAI/bge-m3 |
|---|---|
| Dimensionen | 1024 |
| Max. Tokens | 8192 |
| Distanz | cosine |
| Sprachen | en, es, fr, de, it, pt, zh, ja |
| Chunk-Größe | 1000 |
Notizen
No prefix needed for queries or passages. Handles long inputs (8,192 tokens): chunks of about 1,000 words work well. The model can also produce sparse vectors (keyword search) with the FlagEmbedding library. Published by BAAI under the MIT license.
Geschätzte Kosten
Eingabe-Tokens pro Aufruf : ≈ 225
| Modell | Pro Aufruf | Pro 1.000 Aufrufe |
|---|---|---|
| Mistral Large · Mistral AI | 0,00010 € | 0,10 € |
| DeepSeek Flash · DeepSeek | 0,00006 € | 0,06 € |
| DeepSeek V4 Pro · DeepSeek | 0,00026 € | 0,26 € |
| GPT-6 Luna · OpenAI | 0,00002 € | 0,02 € |
| GPT-6 Sol · OpenAI | 0,00040 € | 0,40 € |
| Claude Sonnet 5.5 · Anthropic | 0,00040 € | 0,40 € |
| Claude Opus 5.5 · Anthropic | 0,00079 € | 0,79 € |
| Selbst gehostetes Open-Source-Modell (Ollama, vLLM) | 0 € API-Kosten (nur Serverkosten) | |
Nur Eingabekosten, ohne die Antwort des Modells. Öffentliche Standardpreise der Anbieter (Mistral AI, DeepSeek, OpenAI, Anthropic) von USD in Euro umgerechnet zum EZB-Kurs vom 29. September 2026. Schätzung: 1 Token ≈ 3,6 Zeichen.
Common to all 3 regions
Sources under a compatible licence.
Sources : BAAI/bge-m3 model, MIT license (Hugging Face model card)
Commercial use allowed · credit the author · changes allowed.
Text or data only: no access to files, network or commands.
Hosted in France (Scaleway, Paris). No transfer outside the EU.
European Union · 5/5
No personal data.
No training data: no summary required.
United States · 5/5
No personal data.
No training data: no documentation to publish.
China · 5/5
No personal data.
No training data; AI-generated content published in China must be labelled (2025).
Indicative summary as of 30/09/2026, not a legal certification. Method and sources →
Statistiken
Gefällt mir : 0 · Kommentare : 0
Klicken Sie auf einen Zähler, um ihn ein- oder auszublenden; fahren Sie über das Diagramm für Details. Ein Aufruf pro Besucher und Tag, ohne Bots; Zählung seit dem 30. September 2026.
- Kennung
- contextetech--bge-m3-long-documents
- Typ
- Embeddings
- Datei
- bge-m3-long-documents.embedding.json
- Format
- JSON (application/json)
- Größe
- 629 Bytes
- Kodierung
- UTF-8
- Geschätzte Tokens
- ≈ 175
- Sprache
- Englisch
- Lizenz
- MIT
- Kommerzielle Nutzung
- Erlaubt
- Personenbezogene Daten
- Keine
- Version
- 1.0
- Veröffentlicht am
- 2. Oktober 2026 um 21:54
- Aktualisiert am
- 2. Oktober 2026 um 21:54
- Speicherung
- in der Datenbank
- Nutzungen
- 0
- Gefällt mir
- 0
bge-m3-long-documents.embedding.json
{
"format": "contextetech/embedding/v1",
"id": "contextetech/bge-m3-long-documents",
"description": "BGE-M3 for RAG over long documents: 1024 dimensions, up to 8,192 tokens, 100+ languages, no prefix needed. MIT license.",
"tags": [
"rag",
"multilingual",
"long-documents"
],
"license": "MIT",
"language": "en",
"model": "BAAI/bge-m3",
"dimensions": 1024,
"maxTokens": 8192,
"distance": "cosine",
"languages": [
"en",
"es",
"fr",
"de",
"it",
"pt",
"zh",
"ja"
],
"prefixes": {
"query": "",
"passage": ""
},
"chunkSize": 1000,
"benchmarks": []
}Vektorisieren (Python)
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("BAAI/bge-m3")
q = model.encode(["deine Eingabe hier"], normalize_embeddings=True)
docs = model.encode(["…"], normalize_embeddings=True)
print(q.shape) # (1, 1024)
print(q @ docs.T) # similarité
Community
Noch keine Kommentare. Teile deine Erfahrung, sie hilft den Nächsten.