corehu

OPEN MODELS / Text embeddings

Run SFR-Embedding-2_R on a cloud GPU

SFR-Embedding-2_R is an open model by Salesforce (category: Text embeddings). See how much GPU memory it needs, which GPUs it fits on today and what it costs to run it yourself, billed per second.

Parameters
7.1B
GPU memory needed
≈ 19 GB
License
cc-by-nc-4.0
Downloads
17,858
Updated Feb 4, 2025
Library
Sentence Transformers
Languages
English

GPUs it fits on today

Our estimate is about 19 GB for inference with BF16 weights, including working memory. Real use depends on resolution, batch size and context length.

GPUMemoryPer hour10 hours
Tesla P4024 GB$0.27$2.70Rent
Tesla V10032 GB$0.31$3.10Rent
Q RTX 600024 GB$0.32$3.20Rent
Titan RTX24 GB$0.37$3.70Rent
RTX 309024 GB$0.38$3.80Rent

Live starting prices from our catalog. You pay per second while the machine runs.

How to run SFR-Embedding-2_R

  1. 01

    Rent a GPU

    Pick one of the GPUs above. Billing is per second; stop the machine and you stop paying.

  2. 02

    Open a terminal or Jupyter

    Connect over SSH or open Jupyter in your browser. PyTorch and CUDA are ready to use.

  3. 03

    Download and run the model

    Run the commands below. The weights download straight from Hugging Face to your machine.

pip install -U sentence-transformers
python -c "from sentence_transformers import SentenceTransformer; m = SentenceTransformer('Salesforce/SFR-Embedding-2_R', device='cuda'); print(m.encode(['hello world']).shape)"

Why run it yourself?

Embed millions of documents on your own GPU for a fixed hourly price instead of paying per token, and keep your data private.

Questions

What is SFR-Embedding-2_R?
SFR-Embedding-2_R is an open model by Salesforce (category: Text embeddings).
How much GPU memory does SFR-Embedding-2_R need?
By our estimate about 19 GB for inference (7.1B parameters). Higher resolution, longer context or bigger batches need more.
How much does it cost to run SFR-Embedding-2_R?
From $0.27 per hour on Tesla P40, billed per second. Ten hours cost about $2.70.
What license does SFR-Embedding-2_R use?
SFR-Embedding-2_R is published under the cc-by-nc-4.0 license. Check the model card for the full terms before commercial use.
Do I need a subscription?
No. You pay only for the time your machine runs, from your USD balance. Stop it whenever you are done.

Try it on your own GPU in minutes

Pick a GPU, open Jupyter or SSH and run any open model. You pay per second and can stop anytime; no subscription, no setup fee.

  • Per-second billing in USD
  • PyTorch and CUDA ready in minutes
  • Rent from ChatGPT or Claude too

Similar Text embeddings models

More from Salesforce