• OpenAI
  • Embeddings

Text-embedding-3-small API: pricing, capabilities and setup

pay as you go · no subscription · key right after sign-up

Model ID
Input
$0.03 / 1M
Get a key No subscription · pay as you go

How much Text-embedding-3-small costs

  • Input
    $0.03
    per 1M tokens

Cost calculator

500 M tokens

With llmbox
$15.00

Setup in three steps

  1. 01
    Get a key

    Sign up and create an API key in the dashboard.

    Get a key →
  2. 02
    Set the base URL

    In any OpenAI-compatible client, point the API address to:

  3. 03
    Pass the model id

    Put this identifier in the model field:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmbox.cc/v1",
    api_key=os.environ["LLMBOX_API_KEY"],
)
resp = client.embeddings.create(
    model="openai/text-embedding-3-small",
    input="Embeddings help search texts by meaning",
)
print(len(resp.data[0].embedding))
Use in

Text-embedding-3-small vs neighbours

ModelPrice
Text-embedding-3-small$0.03 / 1M
openai/text-embedding-3-large $0.24 / 1M
All OpenAI models

Other OpenAI models

Articles about the model