AvailableOpenAIEmbeddingSync
text-embedding-3-small

Build next-gen apps with text-embedding-3-small

API Code Example

Pricing

Embedding

Per 1M Tokens
Official Price
Input $0.02 / Output $0.00
TokenLab Price
Input $0.02 / Output $0.00
Discount
-

One-click test

Sign in once and Web Agent keeps this model, prompt, and request preset for you.

Test text-embedding-3-small in Web Agent. Run a minimal embedding request at /v1/embeddings, then show request body and response shape.

API workbench

The default route for production. The code sample below uses this endpoint with the format you pick.

EmbeddingTokenLab endpoint
POST/v1/embeddings
curl -X POST "https://api.tokenlab.sh/v1/embeddings" \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "embedding",
  "encoding_format": "float",
  "model": "text-embedding-3-small",
  "input": "The quick brown fox jumps over the lazy dog."
}'

Use cases

01

Semantic search

Build vector representations for search, recommendations, clustering, and RAG.

02

Side-by-side test

Compare real response quality, latency, and price for production defaults.

Prompt examples

Embed five product FAQ snippets and explain the response shape.

Send the smallest possible request and walk me through every response field.

Compare this model with a cheaper one in the same category — when is each worth it?

Cost Calculator

1M
0.5M
Estimated Monthly Cost$0.02

FAQ

How much does text-embedding-3-small cost?

On TokenLab, text-embedding-3-small costs Input $0.02 / Output $0.00 Per 1M Tokens. The pricing table above shows the full breakdown.

How do I call the text-embedding-3-small API?

Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/embeddings. The API workbench above has a recommended endpoint and copy-ready code.

Which endpoint should text-embedding-3-small use?

Use https://api.tokenlab.sh/v1/embeddings as the default for text-embedding-3-small. If a provider-native format is supported, the API workbench shows that endpoint too.

Can I test text-embedding-3-small before integrating it?

Yes. Try in Web Agent opens a ready test for text-embedding-3-small and keeps your prompt after sign-in, so you don’t lose context.

Which operations does text-embedding-3-small support?

text-embedding-3-small supports Embedding. Pick an operation in the API workbench above to see the matching endpoint and code sample.

Related Models