Comparisons

OpenAI file search pricing

OpenAI file search costs $2.50 per 1,000 tool calls and $0.10 per GB of storage a day after 1 GB free, plus model tokens. Plans, hidden costs and examples.

Last updated December 2026

OpenAI file search costs $2.50 per 1,000 tool calls and $0.10 per GB of vector storage per day, with the first 1 GB of storage free. There is no plan or subscription: you pay for what you use, on top of the normal model token charges. The main hidden cost is that every chunk the tool retrieves is passed to the model as input, so most of a file search bill is usually tokens rather than the tool fee itself.

This page explains each part of the price, the costs that sit outside the headline rates and what file search costs in practice for three typical workloads. We checked OpenAI’s API pricing page and its file search and retrieval documentation on 3 December 2026. We make Exabase, which appears in one short section near the end as a different kind of option.

OpenAI file search pricing at a glance

Cost

Price

Billing basis

Free allowance

Tool calls

$2.50 per 1,000 calls

Per call, Responses API

None

Vector storage

$0.10 per GB per day

Size of parsed chunks and their embeddings

First 1 GB across all vector stores

Retrieved content

The chosen model’s input token rate

Tokens passed to the model

None

Model output

The chosen model’s output token rate

Tokens generated

None

OpenAI publishes these as usage prices. There is no monthly minimum, no annual plan for file search on its own and no published volume discount on the pricing page. At $0.10 a day, each billable GB of storage costs about $3 for a 30-day month.

What each part of the price covers

Tool calls

Each time the model decides to search your files, it makes a file search call, and OpenAI charges $2.50 per 1,000 of those calls, or $0.0025 each. The model chooses when to call the tool, so a single user question can produce one call, several calls or none. OpenAI’s pricing page says the per-call price applies to the Responses API. If you use file search through another API surface, check the current documentation for how calls are metered there.

Vector storage

Files you upload are parsed, split into chunks and embedded, then held in a vector store. OpenAI bills storage on the size of those parsed chunks and their embeddings, not on the size of the original files. The first 1 GB across all of your vector stores is free; each GB above that costs $0.10 per day. Because the billed size includes embeddings, a vector store can be larger than the folder of files you uploaded, so it is worth checking the reported usage after the first ingestion rather than estimating from file sizes.

Retrieval and model tokens

The search itself returns chunks, and those chunks are passed into the model’s context as input tokens. OpenAI states that tokens used for built-in tools are billed at the chosen model’s per-token rates. Searches return 10 results by default and up to 50 if you raise max_num_results. More results raise the chance that the answer is in the context, and they raise the input token count on every call.

What you get for the price

File search is a hosted RAG pipeline. OpenAI handles parsing, chunking, embedding, storage and search, which combines semantic and keyword matching, so it behaves like hybrid search without extra setup. Supported formats include PDF, DOCX, PPTX, DOC, Markdown, JSON, HTML, plain text and common source code files. You can set a ranker and a score_threshold between 0 and 1 to drop weaker matches, turn on query rewriting, filter on file attributes (up to 16 attribute keys per file) and override the chunking strategy, including chunk size and chunk overlap. Responses include file citations.

How usage adds up

The tool fee is easy to predict because it is a flat amount per call. The token cost is harder, because it depends on three settings you control and one you do not. You control the model, the number of results returned and the chunk size. The model controls how many times it calls the tool for each question.

Take a single question that triggers one search returning 10 chunks of roughly 400 tokens each. That is about 4,000 input tokens of retrieved content before the system prompt, conversation history and user message. At an illustrative input rate of $2.00 per million tokens, the retrieved content costs about $0.008, more than three times the $0.0025 call fee. On a more expensive model the gap widens; on a small model it narrows. This is the same pattern we describe in our token and input vs output tokens entries: the price of retrieval is mostly the context it adds.

Hidden costs

Several costs sit outside the two headline rates. Retrieved chunks are charged as input on every call, and they are charged again if the same conversation searches again on the next turn. If you keep conversation history in the request, earlier retrieved chunks can be carried forward and billed repeatedly, which is how a context window fills up without anyone noticing.

Storage is charged daily for as long as a vector store exists. Test stores, per-user stores that are no longer used and duplicate uploads keep costing money until they are deleted or expire. OpenAI supports expiration policies on vector stores to reduce this, and using them is the simplest saving available.

Chunking choices affect cost in both directions. Larger chunks mean fewer embeddings to store but more tokens per result; smaller chunks are cheaper per result but can split the answer across several chunks, so you need more results to find it. Raising the result count to compensate brings the token cost back.

There are operational limits too. Requests to the file and file batch endpoints share a limit of 300 requests per minute per vector store, and batches take up to 500 files per request. Large initial ingestions need to be paced, which affects how quickly a new tenant or knowledge base becomes searchable rather than what it costs.

Finally, file search keeps no record of what has changed in your source documents. If a policy document is updated, you have to upload the new version and remove the old one yourself, or the tool will return both. Keeping a store current is a knowledge base maintenance job that sits outside OpenAI’s price.

Discounts and renewal

OpenAI’s pricing page lists no volume discounts, committed-use plans or annual pricing for file search. Because pricing is pure usage, there is nothing to renew. Larger customers may be able to negotiate terms with OpenAI’s sales team, but nothing about file search specifically is published. Prices are in US dollars and exclude tax.

What file search costs in practice

These examples use OpenAI’s published file search rates and an illustrative model input rate of $2.00 per million tokens. They assume 10 results of about 400 tokens per call and leave out output tokens, the system prompt and conversation history. They are estimates, not quotes.

A prototype

A team uploads 300 PDFs that come to about 0.5 GB once parsed and embedded, and makes 2,000 file search calls a month while testing. Storage is free because it sits under 1 GB. Calls cost $5. Retrieved content is about 8 million input tokens, or $16. The total is roughly $21 a month.

A support assistant in production

A company indexes 10 GB of help articles and policies and its assistant makes 100,000 file search calls a month. Storage is 9 billable GB at $0.10 a day, about $27 a month. Calls cost $250. Retrieved content is about 400 million input tokens, or $800. The total is roughly $1,077 a month, and nearly three quarters of it is tokens. Cutting max_num_results from 10 to 5, and setting a score_threshold so weak matches are dropped, would take about $400 off the token line if answer quality holds. This is the kind of workload we cover on our customer support agents page.

A multi-tenant SaaS product

A SaaS product gives each of 200 customers its own vector store, 60 GB in total, and makes 1 million calls a month across them. Storage is 59 billable GB, about $177 a month. Calls cost $2,500. At 3,000 retrieved tokens per call, content is about 3 billion input tokens, or $6,000. The total is roughly $8,677 a month. Separate stores per customer are a sensible form of multi-tenancy, but they also make it easy to leave unused stores running, so expiry policies matter more here than in a single-store app.

Choosing how to use it

File search suits teams already building on OpenAI’s Responses API who want retrieval over a modest document set without running their own vector database. The tool fee is rarely the problem. If costs climb, start with the token side: return fewer results, set a score threshold, keep chunks to a size that holds one idea and avoid carrying old retrieved content forward in conversation history. Our reduce token costs page and the free token cost calculator help size the token side for your own numbers. If answers are wrong rather than expensive, the issue is usually retrieval quality, which our RAG accuracy page covers.

Alternatives worth comparing

Teams often compare file search with a self-managed stack: an embedding model plus a vector database such as Pinecone, Weaviate, Qdrant, Milvus or Chroma, with their own parsing and chunking. That route gives more control and can cost less at scale, but you build and maintain the pipeline. Our OpenAI file search alternatives page compares the options, and OpenAI file search vs Pinecone goes into that choice in detail. For the component costs, see OpenAI embeddings pricing, Pinecone pricing, Qdrant pricing and Weaviate pricing. Managed retrieval services such as Vectara and Ragie sit closer to file search; see Vectara pricing, Ragie pricing and our roundup of the best RAG as a service platforms.

Exabase

Exabase is a different kind of product. It stores files, notes, bookmarks, audio and video as Resources, indexes them on arrival and searches inside them with Deep Search, which returns the specific passage with a page number or timestamp rather than pre-cut chunks. That sub-document retrieval and a precision setting per query help keep retrieved context small, which is where most of a file search bill goes. Exabase also handles audio, video and images, which file search does not, and each customer can have an isolated Base. Exabase Free costs $0 a month with 1 GB of storage and 200 credits a month. Scale costs $149 a month, or $1,490 billed yearly, with 2 TB of storage, 5,000 credits a month and up to 10,000 Bases. The searching resources guide shows the API. Where file search is stronger: it is built into OpenAI’s API with no extra vendor, and the model decides when to search on its own. See the Exabase pricing page and our Exabase vs OpenAI file search comparison.

How we checked these prices

We read OpenAI’s API pricing page and its file search and retrieval guides on 3 December 2026. The illustrative token rate, chunk size and call volumes in the worked examples are our own assumptions, and the totals are our own arithmetic from OpenAI’s published rates.

Frequently asked questions

How much does OpenAI file search cost?

OpenAI file search costs $2.50 per 1,000 tool calls and $0.10 per GB of vector storage per day after the first free GB. Retrieved content and the model’s answer are billed separately at the model’s token rates.

Is OpenAI file search free?

No, but part of it is. The first 1 GB of vector storage is free; tool calls and the tokens they add are always charged.

How is OpenAI vector storage measured?

Storage is billed on the size of the parsed chunks and their embeddings, not the original files. It can therefore be larger than your uploaded files.

How much does 1 GB of file search storage cost per month?

About $3 for a 30-day month at $0.10 per GB per day, after the free first GB.

Are retrieved chunks billed as tokens?

Yes. Chunks returned by file search are passed to the model as input and billed at that model’s input token rate.

Why is my file search bill higher than calls times $2.50?

Because retrieved content is billed as input tokens on every call, and with 10 results per call that usually costs more than the call fee. Fewer results and a score threshold reduce it.

How many results does file search return?

File search returns 10 results by default, and you can request up to 50 with max_num_results.

Can I reduce file search costs?

Yes. Return fewer results, set a score threshold, use a cheaper model where quality allows, and set expiration policies on vector stores you no longer need.

Does OpenAI offer discounts on file search?

OpenAI’s pricing page lists no volume discounts or annual plans for file search. Any negotiated terms go through OpenAI’s sales team.

Which file types does file search support?

File search supports PDF, DOCX, PPTX, DOC, Markdown, JSON, HTML, plain text and common source code formats. It does not index audio or video.

Does file search work with Chat Completions?

OpenAI’s documentation describes file search mainly as a Responses API tool, and the per-call price applies to the Responses API. Check the current docs before building on another API surface.

Is Exabase cheaper than OpenAI file search?

It depends on the workload. Exabase prices storage and credits by plan, from $0 on Free to $149 a month on Scale, and its precise retrieval aims to cut the token cost that dominates most file search bills.

Price changelog

3 December 2026: checked OpenAI’s pricing page. File search tool calls $2.50 per 1,000; storage $0.10 per GB per day with 1 GB free.

Related pages: OpenAI file search alternatives, OpenAI file search review, Exabase vs OpenAI file search, OpenAI file search vs Pinecone, OpenAI embeddings pricing, Pinecone pricing, Vectara pricing, RAG accuracy, Vector store, Ragie review

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.