Embedding costs#

Local embeddings (Local (offline) embeddings) incur no usage-based cost. For the public OpenAI API, see the OpenAI embedding models and pricing guide. A self-hosted OpenAI-compatible endpoint (OpenAI-compatible server) is billed by its own provider, not OpenAI — check that provider’s pricing directly.

OpenAI costs#

Index build cost#

Estimated costs to index the OneTick documentation sources (the four default collections) using the OpenAI API. These figures cover the OneTick sources only:

Model

Estimated index-build cost

text-embedding-3-small

$0.05–$0.10

text-embedding-3-large

$0.30–$0.60

Query cost#

Only the search_* collection tools embed your query at request time. The reference-data (csv) and symbology tools never call an embedding model. Each search tool call embeds just that tool’s query argument, a short natural-language phrase, not the caller’s full conversation — so even a session with many search calls adds at most a few hundred tokens, a small fraction of a cent. In practice this is dwarfed by the cost of the LLM the client itself uses to reason over the retrieved results.