Embeddings
bge-small-en-v1.5: GPU memory and a server to run it
By our estimate bge-small-en-v1.5 needs about 2 GB of GPU memory and 40 GB of disk with the Embeddings and reranking server (Infinity) template. Below: how the figure is worked out, the servers that fit and what they cost now.
Cheapest GPU that fits right now: one RTX 2070 SUPER, $0.1511 per hour while it runs.
These are estimates from the model's recorded files, not measurements. Real use can need more, for example with longer prompts or several requests at once.
- GPU memory (estimate)
- 2 GB
- Disk
- 40 GB
- Time until it answers
- about 13 min
- Cheapest server that fits
- $0.1511 per hour
About bge-small-en-v1.5
- Task
- Embeddings
- Parameters
- 30 M
- Stored precision
- F32
- Template that runs it
- Embeddings and reranking server (Infinity)
- Licence
- MIT
- Model page
- BAAI/bge-small-en-v1.5
The licence is set by the model's publisher; read it on the model's own page. We do not give licence advice.
How to run bge-small-en-v1.5 on a GPU
Four steps from an empty account to a running server.
- 1
Start Embeddings and reranking server (Infinity)
Sign up, then start the Embeddings and reranking server (Infinity) template with bge-small-en-v1.5 already set. There is nothing to install on your computer.
- 2
Pick a GPU with at least 4 GB of memory
This page's estimate for bge-small-en-v1.5 is 2 GB. The cheapest GPU that fits right now is one RTX 2070 SUPER, $0.1511 per hour.
- 3
Send your first text
The server returns a vector for each text you send; the sample further down this page shows the request.
- 4
Stop it when you are done
A server bills by the hour only while it runs. Stop or delete it from the console and the charge ends.
How much GPU memory bge-small-en-v1.5 needs
A model's weights must fit in the memory on the graphics card (GPU memory, or VRAM), with room for the text it is working on. More parameters need more memory. Quantisation stores each weight in fewer bits, for example 4 instead of 16, so the same model needs about a quarter of the memory, with a small loss of quality. What GPU memory is
| Build | Weights | Cache | Overhead | Total (estimate) |
|---|---|---|---|---|
| F32this page | 0.1 GB | 0 GB | 1.5 GB | 2 GB |
Estimate: (weights + overhead) ÷ 1 × 1.05, rounded up. Weights are the recorded file sizes, and the overhead is what the serving software needs on top.
The Embeddings and reranking server (Infinity) template asks for at least 4 GB of GPU memory, so servers are chosen with 4 GB.
These are estimates from the model's recorded files, not measurements. Real use can need more, for example with longer prompts or several requests at once.
Servers that fit bge-small-en-v1.5
Chosen from our live catalogue with at least 4 GB of GPU memory. Prices include the disk the launch uses.
Cheapest that fits
Available1× RTX 2070 SUPER, 8 GB GPU memory
$0.1511 per hour, disk included
RTX 2070 SUPER plans and pricesFaster option
Available1× RTX 3060, 12 GB GPU memory
$0.1862 per hour, disk included
RTX 3060 plans and pricesWhat it costs to run
| Server | 1 hour | 8 hours |
|---|---|---|
| 1× RTX 2070 SUPERCheapest that fits | $0.1511 | $1.2088 |
| 1× RTX 3060Faster option | $0.1862 | $1.489 |
Hourly price today with the launch disk included, times 1 and 8. It is an estimate: you pay for the time the server runs and see the exact price before you deploy. Stop the server when you are done.
GPU types that fit
- RTX 2070 SUPER
- GTX 1080 Ti
- RTX 2070
- RTX 3060
- RTX 3060 Ti
- RTX A4000
- RTX 4060 Ti
- RTX 3080
- RTX 3070
- RTX 3080 Ti
- RTX 4070 Ti SUPER
- RTX 3090
- RTX 4080
- RTX 4070
- RTX 4090
- A40
- A100 PCIe
- A100 SXM4
- GTX 1070
- Quadro P4000
- RTX 4060
- RTX 2080 Ti
- RTX 2060 SUPER
- Tesla V100
- Tesla T4
- Quadro RTX 6000
- Tesla P100
- RTX 3050
- Titan RTX
- RTX 3070 Ti
- RTX 4070 SUPER
- RTX A5000
- RTX 4080 SUPER
- Quadro RTX 8000
- RTX 4070 Ti
- Tesla P40
- RTX 3090 Ti
- RTX A6000
- RTX 5880 Ada
- RTX A4500
- L40S
- RTX 6000 Ada
- RTX 6000D
- H200 NVL
- H200
- GTX 1080not in stock
- RTX 2060not in stock
- GTX 1070 Tinot in stock
- GTX TITAN Xnot in stock
- Quadro RTX 4000not in stock
- Quadro RTX 5000not in stock
- RTX 4000 Adanot in stock
- A10not in stock
- RTX 4090Dnot in stock
- RTX 5000 Adanot in stock
- RTX 4500 Adanot in stock
- RTX 5090Dnot in stock
- L4not in stock
- A100Xnot in stock
- H100 SXMnot in stock
- H100 NVLnot in stock
- H100 PCIenot in stock
What you get
An embeddings API on your own server, locked with a key the server creates. Once it runs, send requests like this:
curl http://SERVER_ADDRESS/embeddings \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "BAAI/bge-small-en-v1.5", "input": ["Hello world"]}'from openai import OpenAI
client = OpenAI(base_url="http://SERVER_ADDRESS", api_key="API_KEY")
out = client.embeddings.create(model="BAAI/bge-small-en-v1.5", input=["Hello world"])
print(len(out.data[0].embedding))Replace SERVER_ADDRESS and API_KEY with the address and key shown on the server's Connect tab.
Launch settings
Deploy the Embeddings and reranking server (Infinity) template and set these variables at launch:
- EMBEDDING_MODEL
- BAAI/bge-small-en-v1.5
Questions
How much GPU memory does bge-small-en-v1.5 need?
About 2 GB by our estimate: 0.1 GB of weights, 0 GB of cache for 0 tokens and 1.5 GB of overhead. Servers are chosen with at least 4 GB.
Which GPU do I need for bge-small-en-v1.5?
Right now the cheapest of our servers that fits is 1× RTX 2070 SUPER with 8 GB of GPU memory.
How long until bge-small-en-v1.5 answers?
About 13 minutes after launch by our estimate: the machine starts, 0.1 GB of model files and the serving software download, then the server sets itself up.
How do I use bge-small-en-v1.5 once it runs?
Through an embeddings API on your server, with a key the server creates.
Before you start
A short guide that explains the numbers on this page for bge-small-en-v1.5.
Ready to try bge-small-en-v1.5? Pick a server and start it with the model already set; stop it whenever you like.