Assistants API (v2) FAQ

Review Assistants API v2 features, limits, pricing, and migration to the Responses API.

Updated: 12 hours ago

The Assistants API shut down on August 26, 2026. Use the Responses API for new integrations. To migrate an existing integration, follow the Assistants migration guide.

Historical reference

What was the Assistants API?

The Assistants API let developers build assistants into their apps. It managed conversation history, provided access to tools such as Code Interpreter and File Search, and supported function calling for third-party tools.

What was an assistant?

An assistant used OpenAI’s models and could access files, maintain persistent threads, and call tools.

What was a thread?

A thread stored the messages in a conversation between a user and an assistant. When the conversation exceeded the model’s context length, the API truncated the message history sent to the model.

How did File Search work?

The file_search tool retrieved relevant content from uploaded files for the model to use in its responses.

It used these default settings.

  • Chunk size: 800 tokens

  • Chunk overlap: 400 tokens

  • Embedding model: text-embedding-3-large at 256 dimensions

  • Maximum number of chunks added to context: 20

What were the file upload limits?

The following limits applied to uploaded files.

  • 512 MB per file

  • 5M tokens per file

  • 10k files per vector store

  • 1 vector store per assistant

  • 1 vector store per thread

The storage limit was 100 GB per project.

What limitations did File Search have?

Earlier versions of File Search had the following limitations.

  1. Developers couldn’t change the chunking, embedding, or retrieval settings.

  2. File Search couldn’t parse images embedded in documents.

  3. File Search couldn’t retrieve data from structured files such as CSV or JSONL files.

What were the rate limits?

The Assistants API set default rate limits by request type, independently of usage tier and model. Some endpoints had different limits.

  • GET: 1000 RPM

  • POST: 300 RPM

  • DELETE: 300 requests per minute

How was Code Interpreter priced?

Code Interpreter cost $0.03 per session. If an assistant called Code Interpreter at the same time in two different threads, it started two sessions. Each session lasted one hour by default. Additional calls in the same thread during that hour didn’t incur another session fee.

How was File Search priced?

File Search cost $0.10 per GB of vector store storage per day. The first GB was free. Storage was measured after files were parsed, split into chunks, and embedded.

Vector stores created before April 17, 2024, were free through the end of 2024. The following rules applied after that.

  • Stores used in at least one run after April 17, 2024, were billed at $0.10 per GB per day.

  • Stores unused in any run between April 17 and December 31, 2024, were scheduled for deletion to avoid charges.

How many assistants could an organization create?

There was no limit on the number of assistants an organization could create.

Did the Assistants API support streaming?

Yes, the Assistants API supported streaming.

Did the Assistants API support JSON mode?

Yes. Developers could enable JSON mode with the response_format parameter on an Assistant or Run object.

Did the Assistants API execute third-party function calls?

No. The model selected tools and formatted requests. The application executed the calls.

How did the Assistants API handle uploaded data?

As with other OpenAI API data, uploaded data and files were never used to train our models. The Assistants API stored uploaded data until a user deleted it.

Was DALL·E available through the Assistants API?

No. The Assistants API didn’t support DALL·E.

How long could assistant instructions be?

The instructions field allowed up to 256,000 characters.

What should I do if I see “The server had an error while processing your request”?

The Assistants API is no longer available. Follow the Assistants migration guide to move your application to the Responses API.

What prompt token limit did OpenAI recommend for File Search?

For File Search, OpenAI recommended setting max_prompt_tokens to at least 20,000. For longer conversations or repeated searches, OpenAI recommended raising the limit to 50,000 or removing it.

Was this article helpful?