Please rotate your device

To continue exploring this website, please rotate your device to a vertical orientation

Nemotron 3 Embed 1B

nvidia/Nemotron-3-Embed-1B-BF16

Nemotron 3 Embed 8B is a compact embedding model built for fast, accurate retrieval across enterprise knowledge and code.

embedding

NVIDIA Nemotron 3 Embed 1B is a compact, efficient embedding model designed for semantic search, code retrieval, and AI agents. It generates high-quality text and code embeddings quickly, making it well suited for indexing large collections and keeping retrieval systems fresh as content changes.

Input

python
import os
from openai import OpenAI

# Replace the empty string with your model id below
model_id = ""
baseten_api_key = os.environ["BASETEN_API_KEY"]

client = OpenAI(
    base_url=f"https://model-{model_id}.api.baseten.co/environments/production/sync/v1",
    api_key=os.getenv("BASETEN_API_KEY")
)

inputs = ["query: What is the capital of France?",
          "passage: Paris is the capital of France."]

# Call model endpoint
resp = client.embeddings.create(
    model="nvidia/Nemotron-3-Embed-1B-BF16",
    input=inputs
)

# Print the output of the model
print(resp.to_json())

Output

json
{
  "data": [
    {
      "embedding": [
        0.001,
        0.001
      ],
      "index": 1,
      "object": "embedding"
    }
  ],
  "model": "nvidia/Nemotron-3-Embed-1B-BF16",
  "object": "list",
  "usage": {
    "prompt_tokens": 19,
    "total_tokens": 19,
    "completion_tokens": 0,
    "prompt_tokens_details": null
  },
  "id": "embd-xxxx",
  "created": 1784142524
}