Models/Embedding
Text

Embedding

by OpenAI

OpenAI text embeddings for semantic search, retrieval, clustering, and ranking workflows.

Capabilities

  • Embeddings
  • Retrieval
  • Clustering

Available models

Pass any of these IDs in the model field.

Model IDDetailPrice
text-embedding-4-large3072 dims$0.13 / 1M tokens
text-embedding-4-small1536 dims$0.02 / 1M tokens

Pricing starts at

$0.0000 / 1K tokens

Pay only for what you use. Each response returns the exact amount settled against your balance — no subscriptions, no minimums.

Quickstart

Embedding · text-embedding-4-large

cURL
curl https://capi.ai/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "text-embedding-4-large",
    "messages": [{"role": "user", "content": "Hello"}]
  }'