Text Embedding 3 Small

Available
openai/text-embedding-3-small

OpenAI's efficient embedding model for search, clustering and retrieval. 1,536 dimensions by default; shorten with `dimensions`.

  • Embeddings
  • 1,536 dimensions

Pricing

Price
$0.02 per 1M tokens

What it costs

Indexing 10,000 documents of about 500 tokens$0.10

Specifications

Type
Embeddings
Served by
OpenAI
Dimensions
1,536, can be shortened

Use it

curl https://api.sparrowcodes.com/v1/embeddings \
  -H "Authorization: Bearer $SPARROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/text-embedding-3-small", "input": ["first document", "second document"]}'

Set "model" to openai/text-embedding-3-small. The response includes its exact cost.

Text Embedding 3 Small API: pricing and examples · SparrowCodes