Text Embedding 3 Large
Text Embedding 3 Large costs $0.13 per 1M input tokens on LLM API and returns 3072-dimension vectors, with an 8K-token input limit.
Pricing
Served by OpenAI, the only provider.
| Input | $0.13 | per 1M tokens |
|---|
Specifications
- Dimensions3072
- Max input8K tokens
Call Text Embedding 3 Large
POST /v1/embeddingsSet LLMAPI_KEY to your LLM API key.Embeddings docs
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.llmapi.ai/v1",
api_key=os.environ["LLMAPI_KEY"],
)
result = client.embeddings.create(model="text-embedding-3-large", input="Hello")
print(len(result.data[0].embedding))import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.llmapi.ai/v1",
apiKey: process.env.LLMAPI_KEY,
});
const result = await client.embeddings.create({ model: "text-embedding-3-large", input: "Hello" });
console.log(result.data[0].embedding.length);curl https://api.llmapi.ai/v1/embeddings \
-H "Authorization: Bearer $LLMAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "text-embedding-3-large", "input": "Hello"}'More from OpenAI
All OpenAI embedding models
Text Embedding 3 Smalltext-embedding-3-small$0.02per 1M tokens
Azure OpenAI Text Embedding 3 Largeazure/text-embedding-3-large$0.13per 1M tokens
Azure OpenAI Text Embedding 3 Smallazure/text-embedding-3-small$0.02per 1M tokens
Prices synced .