Skip to main content
Apidly Cloud
Cookie policy

Analytics and ad cookies stay off unless you accept. Cookie policy

We would like to use Google Analytics and Microsoft Clarity to understand how the public pages are used, including page views and session recordings, and the Reddit Pixel to measure whether our ads on Reddit lead to visits and sign-ups. You choose here whether they are on. Rejecting changes nothing about how the site works.

Embeddings

mxbai-embed-large: GPU memory and a server to run it

By our estimate mxbai-embed-large needs about 2 GB of GPU memory and 100 GB of disk with the Ollama 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.1862 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.

mxbai-embed-large
GPU memory (estimate)
2 GB
Disk
100 GB
Time until it answers
about 5 min
Cheapest server that fits
$0.1862 per hour

About mxbai-embed-large

Task
Embeddings
Parameters
335 M
Stored precision
F16
Template that runs it
Ollama
Licence
Apache 2.0

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 mxbai-embed-large on a GPU

Four steps from an empty account to a running server.

  1. 1

    Start Ollama

    Sign up, then start the Ollama template with mxbai-embed-large already set. There is nothing to install on your computer.

  2. 2

    Pick a GPU with at least 8 GB of memory

    This page's estimate for mxbai-embed-large is 2 GB. The cheapest GPU that fits right now is one RTX 2070 SUPER, $0.1862 per hour.

  3. 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. 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 mxbai-embed-large 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

Estimated GPU memory of mxbai-embed-large by build
BuildWeightsCacheOverheadTotal (estimate)
F16this page0.6 GB0 GB1.2 GB2 GB
F16other build0.6 GB0 GB1.5 GB3 GB

Estimate: (weights + cache + overhead) ÷ 1 × 1.05, rounded up. Weights are the recorded file sizes, the cache holds one sequence of 2048 tokens, and the overhead is what the serving software needs on top.

The layer shape of this model is not recorded, so the cache uses a cautious figure per billion parameters.

The Ollama template asks for at least 8 GB of GPU memory, so servers are chosen with 8 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 mxbai-embed-large

Chosen from our live catalogue with at least 8 GB of GPU memory. Prices include the disk the launch uses.

Cheapest that fits

Available

1× RTX 2070 SUPER, 8 GB GPU memory

$0.1862 per hour, disk included

RTX 2070 SUPER plans and prices

Faster option

Available

1× RTX 3060, 12 GB GPU memory

$0.2142 per hour, disk included

RTX 3060 plans and prices

What it costs to run

Estimated cost of one hour and eight hours on the servers that fit
Server1 hour8 hours
1× RTX 2070 SUPERCheapest that fits$0.1862$1.4896
1× RTX 3060Faster option$0.2142$1.7136

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.

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
curl http://SERVER_ADDRESS/v1/embeddings \
  -H "Authorization: Bearer API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "mxbai-embed-large", "input": ["Hello world"]}'
Python
from openai import OpenAI

client = OpenAI(base_url="http://SERVER_ADDRESS/v1", api_key="API_KEY")
out = client.embeddings.create(model="mxbai-embed-large", 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 Ollama template and set these variables at launch:

OLLAMA_MODEL
mxbai-embed-large

Questions

How much GPU memory does mxbai-embed-large need?

About 2 GB by our estimate: 0.6 GB of weights, 0 GB of cache for 2048 tokens and 1.2 GB of overhead. Servers are chosen with at least 8 GB.

Which GPU do I need for mxbai-embed-large?

Right now the cheapest of our servers that fits is 1× RTX 2070 SUPER with 8 GB of GPU memory.

How long until mxbai-embed-large answers?

About 5 minutes after launch by our estimate: the machine starts, 0.7 GB of model files and the serving software download, then the server sets itself up.

How do I use mxbai-embed-large 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 mxbai-embed-large.

Ready to try mxbai-embed-large? Pick a server and start it with the model already set; stop it whenever you like.