{
  "run_id": "2026-09-23-r3-perplexity",
  "round": 2,
  "tool": "perplexity",
  "mode": "answer",
  "tc_id": "TC8",
  "capability": "C3",
  "scenario": "S8",
  "suite_role": "control",
  "query_text": "What is the maximum size of an individual file I can upload through OpenAI's Files API?",
  "restrict_domain": null,
  "restriction_mechanism": null,
  "answer_key": "up to 512 MB",
  "key_urls": [
    {
      "url": "https://developers.openai.com/api/reference/resources/files/methods/create",
      "role": "supports"
    }
  ],
  "pass_criteria": "Answer states 512 MB (not vague), and its citation genuinely backs that figure",
  "key_verified_date": "2026-09-07",
  "before_check_rule": null,
  "timestamp_utc": "2026-09-23T09:21:55Z",
  "region": "ap-south-1",
  "status": "ok",
  "graded": null,
  "pass_fail": null,
  "grader_notes": null,
  "latency_ms": 4269.7,
  "http_status": 200,
  "error": null,
  "attempts": 1,
  "credits_reported": 0.0037,
  "tokens_reported": 3814,
  "results": [
    {
      "rank": 1,
      "url": "https://developers.openai.com/api/reference/resources/files/methods/create",
      "title": "Upload file | OpenAI API Reference",
      "content": "Upload a file that can be used across various endpoints.\nIndividual files\ncan be up to 512 MB, and each project can store up to 2.5 TB of files in\ntotal.\nThere is no organization-wide storage limit.\nUploads to this\nendpoint are rate-limited to 1,000 requests per minute per authenticated\nuser.\n- The Assistants API supports files up to 2 million tokens and of specific\n...\n- The Fine-tuning API only supports `.jsonl` files.",
      "content_chars": 424,
      "published_date": null
    },
    {
      "rank": 2,
      "url": "https://developers.openai.com/api/docs/guides/file-inputs",
      "title": "File inputs | OpenAI API",
      "content": "|Input method|Responses API|Chat Completions|\n...\nKeep these constraints in mind when you use file inputs:\n...\n- **File size limits:** A single request can include more than one file, but each file must be under 50 MB.\nThe combined limit across all files in the request is 50 MB.",
      "content_chars": 279,
      "published_date": null
    },
    {
      "rank": 3,
      "url": "https://community.openai.com/t/questions-about-file-upload-limits-with-the-openai-file-api/1358472",
      "title": "Questions about File Upload Limits with the OpenAI File API",
      "content": "However, when I use the **OpenAI File API**, I don\u2019t seem to run into this limitation.\n...\nFrom what I understand, the only clear limits are:\n- Maximum file size per upload: **512MB**\n- Maximum total storage per organization: **100GB**\n...\nThe files endpoint is free, and you can run it up to 1TB now (according to a patch in the Python SDK.)\nAsking an AI about said files - that\u2019s where they get you in input token billings and file_search tool fees.",
      "content_chars": 451,
      "published_date": "2025-09-16"
    },
    {
      "rank": 4,
      "url": "https://community.openai.com/t/400gb-to-vector-store-s-assistant/1363219",
      "title": "400GB to Vector Store(s) + Assistant - OpenAI Developer Community",
      "content": "This is different than the 512MB limit for \u201cFiles\u201d.\n...\nFrom what I could find, the limit seems to be 5 million tokens per file.\n> ### Limits\n> The maximum file size is 512 MB.\nEach file should contain no more than 5,000,000 tokens per file (computed automatically when you attach a file).\n...\nThat is the FILES limit which the API will gladly accept a 500MB file.\n...\n> Each file can be at most 512 MB in size and have a maximum of 5,000,000 tokens.\nBy default, the size of all the files uploaded in your project cannot exceed 100 GB, but you can reach out to our support team to increase this limit.\n...\nThe catch is, it is either 512MB or 5 million tokens, whichever comes first (which is usually tokens in this case).\nNotice that tokens are a bit different than MB.",
      "content_chars": 769,
      "published_date": "2025-10-20"
    },
    {
      "rank": 5,
      "url": "https://www.eesel.ai/blog/openai-files-api",
      "title": "OpenAI Files API: file inputs, search, and support knowledge - eesel AI",
      "content": "For files that will be passed as model inputs, OpenAI documents `user_data` as the appropriate upload purpose.\nA request can contain more than one file, but the current input-file limits are 50 MB per file and 50 MB in total.\nTreat those as product constraints to recheck before you ship, not as a reason to split confidential material into smaller unreviewed uploads.",
      "content_chars": 368,
      "published_date": "2025-10-12"
    },
    {
      "rank": 6,
      "url": "https://fast.io/resources/openai-files-api-alternative/",
      "title": "OpenAI Files API Alternatives for AI Document Storage - Fastio",
      "content": "OpenAI's documentation shows the Files API supports individual files up to 512 MB, with a total storage quota of 2.5 TB per project.\nThis works fine for basic prototypes.\n...\n**Key limitations:**\n- 512MB maximum file size blocks large video, datasets, or archives\n...\nOpenAI Files API supports individual files up to 512 MB with storage beyond that limit and compatibility with multiple AI frameworks Storage pricing at $0.10/GB/day for vector store indexing on OpenAI platform Files API has a 512MB per-file limit, charges $0.10/GB/day for vector storage, and caps assistants at 20 files each Store large files for AI agents beyond 512MB using cloud storage services with larger limits\n...\nThe Files API has a 512MB per-file limit, charges $0.10/GB/day for vector storage, caps assistants at 20 files each, and provides no visual interface for file management.",
      "content_chars": 861,
      "published_date": "2026-02-13"
    },
    {
      "rank": 7,
      "url": "https://github.com/speakeasy-sdks/openai-go-sdk/blob/main/docs/sdks/files/README.md",
      "title": "openai-go-sdk/docs/sdks/files/README.md at main \u00b7 speakeasy-sdks/openai-go-sdk",
      "content": "The size of all the files uploaded by one organization can be up to 100 GB.\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants.\nSee the Assistants Tools guide to learn more about the types of files supported.\nThe Fine-tuning API only supports `.jsonl` files.\n...\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants.",
      "content_chars": 394,
      "published_date": "2023-02-21"
    },
    {
      "rank": 8,
      "url": "https://help.openai.com/en/articles/8555545-file-uploads-faq",
      "title": "File Uploads FAQ - OpenAI Help Center",
      "content": "Keep in mind there are file size restrictions and usage caps per user/org.\n## What are the file upload size restrictions?\n- All files uploaded to a GPT or a ChatGPT conversation have a hard limit of 512MB per file.\n- All text and document files uploaded to a GPT or to a ChatGPT conversation are capped at 2M tokens per file.\nThis limitation does not apply to spreadsheets.\n- For CSV files or spreadsheets, the file size cannot exceed approximately 50MB, depending on the size of each row.\n- For images, there's a limit of 20MB per image.\n- Additionally, there are usage caps:\n- Each end-user is capped at 25GB.\n- Each organization is capped at 100GB.\n- Note: An error will be displayed if a user/org cap has been hit.\nUsers can upload up to 80 files every 3 hours.\nFree users are limited to 3 file uploads per day.\nNote that we may lower these limits during peak hours.\n...\nIf you see an \u201cupload limit reached\u201d message despite few or no recent uploads, try the steps below:\n...\n- Remember there are two kinds of limits: a rolling upload rate (e.g., up to 80 files per 3 hours) and shared storage caps (25 GB per user / 100 GB per org) that apply across chats, Projects, and custom GPT knowledge.\n...\nAdditionally, to help ensure a smooth experience for all users, we've also updated the file upload limits for *Projects* based on subscription plan.\n- **Free**: Up to 5 files per project\n- **Go, Plus**: Up to 25 files per project\n- **Edu, Pro, Business, Enterprise**: Up to 40 files per project",
      "content_chars": 1495,
      "published_date": "2026-09-23"
    },
    {
      "rank": 9,
      "url": "https://openai.apidog.io/api-3845640",
      "title": "Upload file - Open AI (ChatGPT)",
      "content": "Currently, the size of all the files uploaded by one organization can be up to 1 GB.\nPlease contact us if you need to increase the storage limit.",
      "content_chars": 145,
      "published_date": "2025-09-17"
    },
    {
      "rank": 10,
      "url": "https://community.openai.com/t/token-limit-for-custom-gpts/946259",
      "title": "Token limit for Custom GPT's - OpenAI Developer Community",
      "content": "What are those file upload size restrictions?\n> All files uploaded to a GPT or a ChatGPT conversation have a hard limit of 512MB per file.\n> All text and document files uploaded to a GPT or to a ChatGPT conversation are capped at 2M tokens per file.\nThis limitation does not apply to spreadsheets.\n> For CSV files or spreadsheets, the file size cannot exceed approximately 50MB, depending on the size of each row.\n> For images, there\u2019s a limit of 20MB per image.\n> Additionally, there are usage caps:\n> Each end-user is capped at 10GB.\n...\nThe size limit for file uploads can vary depending on the platform or tool you\u2019re using.\nFor OpenAI\u2019s API, which powers GPT-based models, the file upload limit is generally:\n- **5 MB per file**: The maximum size allowed for any individual file uploaded to OpenAI\u2019s API is 5 megabytes (MB).",
      "content_chars": 829,
      "published_date": "2024-09-18"
    },
    {
      "rank": 11,
      "url": "https://developers.openai.com/api/docs/guides/retrieval",
      "title": "Retrieval | OpenAI API",
      "content": "|Storage|Cost|\n...\n|Up to 1 GB (across all stores)|Free|\n|Beyond 1 GB|$0.10/GB/day|\n...\nAdding files is rate limited per vector store ID.\nRequests to `/vector_stores/{vector_store_id}/files` and `/vector_stores/{vector_store_id}/file_batches` share a per-vector-store limit of 300 requests per minute.\n...\nThe maximum file size is 512 MB.\nEach file should contain no more than 5,000,000 tokens per file (computed automatically when you attach a file).",
      "content_chars": 451,
      "published_date": null
    },
    {
      "rank": 12,
      "url": "https://community.openai.com/t/why-cant-i-upload-files-over-50mb-to-openai-via-both-windows-app-and-browser/1028681",
      "title": "Why Can't I Upload Files Over 50MB to OpenAI via Both ...",
      "content": "- **File Sizes**: 117MB and 150MB (both `.txt` files).\n...\n> All text and document files uploaded to a GPT or to a ChatGPT conversation are capped at 2M tokens per file.\nThis limitation does not apply to spreadsheets.\n...\nFor CSV files or spreadsheets, the file size cannot exceed approximately 50MB.",
      "content_chars": 300,
      "published_date": "2024-11-23"
    },
    {
      "rank": 13,
      "url": "https://help.openai.com/en/articles/8550641-assistants-api-v2-faq",
      "title": "Assistants API (v2) FAQ",
      "content": "### What are the restrictions for File upload?\nThe restrictions for uploading a File are:\n- 512 MB per file\n- 5M tokens per file\n- 10k files per vector store\n- 1 vector store per assistant\n- 1 vector store per thread\nThe overall storage limit for each project in an organization is 100 GB.\n...\nWhen using the File Search tool, we recommend setting the max_prompt_tokens to no less than 20,000.\nFor longer conversations or multiple interactions with File Search, consider increasing this limit to 50,000, or ideally, removing the max_prompt_tokens limits altogether to get the highest quality results.",
      "content_chars": 600,
      "published_date": "2026-09-22"
    },
    {
      "rank": 14,
      "url": "https://developers.openai.com/api/docs/guides/batch",
      "title": "Batch API - OpenAI Developers",
      "content": "Prefer referencing remote assets with `image_url` (instead of base64 blobs) to\nkeep your `.jsonl` files well below the 200\u00a0MB Batch upload limit,\nespecially for multimodal Moderations requests.\n...\nSimilar to our Fine-tuning API, you must first upload your input file so that you can reference it correctly when kicking off batches.\nUpload your `.jsonl` file using the Files API.\n...\nOnce the batch is complete, you can download the output by making a request against the Files API via the `output_file_id` field from the Batch object and writing it to a file on your machine, in this case `batch_output.jsonl`\n...\nThe Batch API has three types of rate limits:\n1. **Per-batch limits:** A single batch may include up to 50,000 requests, and a batch input file can be up to 200 MB in size.\nNote that `/v1/embeddings` batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch.\n2. **Queued prompt tokens per model:** Each model has a maximum number of prompt tokens that can be queued for batch processing.\n...\n3. **Batch creation rate limit:** You can create up to 2,000 batches per hour.\nIf you need to submit more requests, increase the number of requests per batch.\nThe Batch API currently has no output-token limit.",
      "content_chars": 1259,
      "published_date": null
    }
  ],
  "answer_text": "The maximum size for an individual file uploaded through OpenAI\u2019s **Files API is 512 MB**.\n\nSome uses impose additional limits\u2014for example, files used with retrieval or file search may also be limited to **5 million tokens per file**.",
  "citations": [],
  "raw_response": {
    "background": false,
    "completed_at": 1790155311,
    "created_at": 1790155311,
    "error": null,
    "frequency_penalty": 0,
    "id": "resp_72d84a55-81a7-47d7-a2d9-633b4c5623a0",
    "incomplete_details": null,
    "instructions": null,
    "max_output_tokens": null,
    "max_tool_calls": null,
    "metadata": {},
    "model": "perplexity/sonar",
    "object": "response",
    "output": [
      {
        "queries": [
          "OpenAI Files API maximum individual file size upload limit"
        ],
        "results": [
          {
            "id": 1,
            "last_updated": "2026-07-13",
            "snippet": "Upload a file that can be used across various endpoints.\nIndividual files\ncan be up to 512 MB, and each project can store up to 2.5 TB of files in\ntotal.\nThere is no organization-wide storage limit.\nUploads to this\nendpoint are rate-limited to 1,000 requests per minute per authenticated\nuser.\n- The Assistants API supports files up to 2 million tokens and of specific\n...\n- The Fine-tuning API only supports `.jsonl` files.",
            "source": "web",
            "title": "Upload file | OpenAI API Reference",
            "url": "https://developers.openai.com/api/reference/resources/files/methods/create"
          },
          {
            "id": 2,
            "last_updated": "2026-09-18",
            "snippet": "|Input method|Responses API|Chat Completions|\n...\nKeep these constraints in mind when you use file inputs:\n...\n- **File size limits:** A single request can include more than one file, but each file must be under 50 MB.\nThe combined limit across all files in the request is 50 MB.",
            "source": "web",
            "title": "File inputs | OpenAI API",
            "url": "https://developers.openai.com/api/docs/guides/file-inputs"
          },
          {
            "date": "2025-09-16",
            "id": 3,
            "last_updated": "2026-08-26",
            "snippet": "However, when I use the **OpenAI File API**, I don\u2019t seem to run into this limitation.\n...\nFrom what I understand, the only clear limits are:\n- Maximum file size per upload: **512MB**\n- Maximum total storage per organization: **100GB**\n...\nThe files endpoint is free, and you can run it up to 1TB now (according to a patch in the Python SDK.)\nAsking an AI about said files - that\u2019s where they get you in input token billings and file_search tool fees.",
            "source": "web",
            "title": "Questions about File Upload Limits with the OpenAI File API",
            "url": "https://community.openai.com/t/questions-about-file-upload-limits-with-the-openai-file-api/1358472"
          },
          {
            "date": "2025-10-20",
            "id": 4,
            "last_updated": "2026-09-23",
            "snippet": "This is different than the 512MB limit for \u201cFiles\u201d.\n...\nFrom what I could find, the limit seems to be 5 million tokens per file.\n> ### Limits\n> The maximum file size is 512 MB.\nEach file should contain no more than 5,000,000 tokens per file (computed automatically when you attach a file).\n...\nThat is the FILES limit which the API will gladly accept a 500MB file.\n...\n> Each file can be at most 512 MB in size and have a maximum of 5,000,000 tokens.\nBy default, the size of all the files uploaded in your project cannot exceed 100 GB, but you can reach out to our support team to increase this limit.\n...\nThe catch is, it is either 512MB or 5 million tokens, whichever comes first (which is usually tokens in this case).\nNotice that tokens are a bit different than MB.",
            "source": "web",
            "title": "400GB to Vector Store(s) + Assistant - OpenAI Developer Community",
            "url": "https://community.openai.com/t/400gb-to-vector-store-s-assistant/1363219"
          },
          {
            "date": "2025-10-12",
            "id": 5,
            "last_updated": "2026-09-22",
            "snippet": "For files that will be passed as model inputs, OpenAI documents `user_data` as the appropriate upload purpose.\nA request can contain more than one file, but the current input-file limits are 50 MB per file and 50 MB in total.\nTreat those as product constraints to recheck before you ship, not as a reason to split confidential material into smaller unreviewed uploads.",
            "source": "web",
            "title": "OpenAI Files API: file inputs, search, and support knowledge - eesel AI",
            "url": "https://www.eesel.ai/blog/openai-files-api"
          },
          {
            "date": "2026-02-13",
            "id": 6,
            "last_updated": "2026-09-22",
            "snippet": "OpenAI's documentation shows the Files API supports individual files up to 512 MB, with a total storage quota of 2.5 TB per project.\nThis works fine for basic prototypes.\n...\n**Key limitations:**\n- 512MB maximum file size blocks large video, datasets, or archives\n...\nOpenAI Files API supports individual files up to 512 MB with storage beyond that limit and compatibility with multiple AI frameworks Storage pricing at $0.10/GB/day for vector store indexing on OpenAI platform Files API has a 512MB per-file limit, charges $0.10/GB/day for vector storage, and caps assistants at 20 files each Store large files for AI agents beyond 512MB using cloud storage services with larger limits\n...\nThe Files API has a 512MB per-file limit, charges $0.10/GB/day for vector storage, caps assistants at 20 files each, and provides no visual interface for file management.",
            "source": "web",
            "title": "OpenAI Files API Alternatives for AI Document Storage - Fastio",
            "url": "https://fast.io/resources/openai-files-api-alternative/"
          },
          {
            "date": "2023-02-21",
            "id": 7,
            "last_updated": "2026-04-17",
            "snippet": "The size of all the files uploaded by one organization can be up to 100 GB.\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants.\nSee the Assistants Tools guide to learn more about the types of files supported.\nThe Fine-tuning API only supports `.jsonl` files.\n...\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants.",
            "source": "web",
            "title": "openai-go-sdk/docs/sdks/files/README.md at main \u00b7 speakeasy-sdks/openai-go-sdk",
            "url": "https://github.com/speakeasy-sdks/openai-go-sdk/blob/main/docs/sdks/files/README.md"
          },
          {
            "date": "2026-09-23",
            "id": 8,
            "last_updated": "2026-09-23",
            "snippet": "Keep in mind there are file size restrictions and usage caps per user/org.\n## What are the file upload size restrictions?\n- All files uploaded to a GPT or a ChatGPT conversation have a hard limit of 512MB per file.\n- All text and document files uploaded to a GPT or to a ChatGPT conversation are capped at 2M tokens per file.\nThis limitation does not apply to spreadsheets.\n- For CSV files or spreadsheets, the file size cannot exceed approximately 50MB, depending on the size of each row.\n- For images, there's a limit of 20MB per image.\n- Additionally, there are usage caps:\n- Each end-user is capped at 25GB.\n- Each organization is capped at 100GB.\n- Note: An error will be displayed if a user/org cap has been hit.\nUsers can upload up to 80 files every 3 hours.\nFree users are limited to 3 file uploads per day.\nNote that we may lower these limits during peak hours.\n...\nIf you see an \u201cupload limit reached\u201d message despite few or no recent uploads, try the steps below:\n...\n- Remember there are two kinds of limits: a rolling upload rate (e.g., up to 80 files per 3 hours) and shared storage caps (25 GB per user / 100 GB per org) that apply across chats, Projects, and custom GPT knowledge.\n...\nAdditionally, to help ensure a smooth experience for all users, we've also updated the file upload limits for *Projects* based on subscription plan.\n- **Free**: Up to 5 files per project\n- **Go, Plus**: Up to 25 files per project\n- **Edu, Pro, Business, Enterprise**: Up to 40 files per project",
            "source": "web",
            "title": "File Uploads FAQ - OpenAI Help Center",
            "url": "https://help.openai.com/en/articles/8555545-file-uploads-faq"
          },
          {
            "date": "2025-09-17",
            "id": 9,
            "last_updated": "2026-08-22",
            "snippet": "Currently, the size of all the files uploaded by one organization can be up to 1 GB.\nPlease contact us if you need to increase the storage limit.",
            "source": "web",
            "title": "Upload file - Open AI (ChatGPT)",
            "url": "https://openai.apidog.io/api-3845640"
          },
          {
            "date": "2024-09-18",
            "id": 10,
            "last_updated": "2026-08-25",
            "snippet": "What are those file upload size restrictions?\n> All files uploaded to a GPT or a ChatGPT conversation have a hard limit of 512MB per file.\n> All text and document files uploaded to a GPT or to a ChatGPT conversation are capped at 2M tokens per file.\nThis limitation does not apply to spreadsheets.\n> For CSV files or spreadsheets, the file size cannot exceed approximately 50MB, depending on the size of each row.\n> For images, there\u2019s a limit of 20MB per image.\n> Additionally, there are usage caps:\n> Each end-user is capped at 10GB.\n...\nThe size limit for file uploads can vary depending on the platform or tool you\u2019re using.\nFor OpenAI\u2019s API, which powers GPT-based models, the file upload limit is generally:\n- **5 MB per file**: The maximum size allowed for any individual file uploaded to OpenAI\u2019s API is 5 megabytes (MB).",
            "source": "web",
            "title": "Token limit for Custom GPT's - OpenAI Developer Community",
            "url": "https://community.openai.com/t/token-limit-for-custom-gpts/946259"
          },
          {
            "id": 11,
            "last_updated": "2026-09-12",
            "snippet": "|Storage|Cost|\n...\n|Up to 1 GB (across all stores)|Free|\n|Beyond 1 GB|$0.10/GB/day|\n...\nAdding files is rate limited per vector store ID.\nRequests to `/vector_stores/{vector_store_id}/files` and `/vector_stores/{vector_store_id}/file_batches` share a per-vector-store limit of 300 requests per minute.\n...\nThe maximum file size is 512 MB.\nEach file should contain no more than 5,000,000 tokens per file (computed automatically when you attach a file).",
            "source": "web",
            "title": "Retrieval | OpenAI API",
            "url": "https://developers.openai.com/api/docs/guides/retrieval"
          },
          {
            "date": "2024-11-23",
            "id": 12,
            "last_updated": "2026-09-22",
            "snippet": "- **File Sizes**: 117MB and 150MB (both `.txt` files).\n...\n> All text and document files uploaded to a GPT or to a ChatGPT conversation are capped at 2M tokens per file.\nThis limitation does not apply to spreadsheets.\n...\nFor CSV files or spreadsheets, the file size cannot exceed approximately 50MB.",
            "source": "web",
            "title": "Why Can't I Upload Files Over 50MB to OpenAI via Both ...",
            "url": "https://community.openai.com/t/why-cant-i-upload-files-over-50mb-to-openai-via-both-windows-app-and-browser/1028681"
          },
          {
            "date": "2026-09-22",
            "id": 13,
            "last_updated": "2026-09-22",
            "snippet": "### What are the restrictions for File upload?\nThe restrictions for uploading a File are:\n- 512 MB per file\n- 5M tokens per file\n- 10k files per vector store\n- 1 vector store per assistant\n- 1 vector store per thread\nThe overall storage limit for each project in an organization is 100 GB.\n...\nWhen using the File Search tool, we recommend setting the max_prompt_tokens to no less than 20,000.\nFor longer conversations or multiple interactions with File Search, consider increasing this limit to 50,000, or ideally, removing the max_prompt_tokens limits altogether to get the highest quality results.",
            "source": "web",
            "title": "Assistants API (v2) FAQ",
            "url": "https://help.openai.com/en/articles/8550641-assistants-api-v2-faq"
          },
          {
            "id": 14,
            "last_updated": "2026-09-22",
            "snippet": "Prefer referencing remote assets with `image_url` (instead of base64 blobs) to\nkeep your `.jsonl` files well below the 200\u00a0MB Batch upload limit,\nespecially for multimodal Moderations requests.\n...\nSimilar to our Fine-tuning API, you must first upload your input file so that you can reference it correctly when kicking off batches.\nUpload your `.jsonl` file using the Files API.\n...\nOnce the batch is complete, you can download the output by making a request against the Files API via the `output_file_id` field from the Batch object and writing it to a file on your machine, in this case `batch_output.jsonl`\n...\nThe Batch API has three types of rate limits:\n1. **Per-batch limits:** A single batch may include up to 50,000 requests, and a batch input file can be up to 200 MB in size.\nNote that `/v1/embeddings` batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch.\n2. **Queued prompt tokens per model:** Each model has a maximum number of prompt tokens that can be queued for batch processing.\n...\n3. **Batch creation rate limit:** You can create up to 2,000 batches per hour.\nIf you need to submit more requests, increase the number of requests per batch.\nThe Batch API currently has no output-token limit.",
            "source": "web",
            "title": "Batch API - OpenAI Developers",
            "url": "https://developers.openai.com/api/docs/guides/batch"
          }
        ],
        "type": "search_results"
      },
      {
        "content": [
          {
            "annotations": [],
            "text": "The maximum size for an individual file uploaded through OpenAI\u2019s **Files API is 512 MB**.\n\nSome uses impose additional limits\u2014for example, files used with retrieval or file search may also be limited to **5 million tokens per file**.",
            "type": "output_text"
          }
        ],
        "id": "msg_e174bc45-7ba6-4ad8-b635-26dc2a903962",
        "role": "assistant",
        "status": "completed",
        "type": "message"
      }
    ],
    "parallel_tool_calls": true,
    "presence_penalty": 0,
    "previous_response_id": null,
    "prompt_cache_key": null,
    "reasoning": null,
    "safety_identifier": null,
    "service_tier": "default",
    "status": "completed",
    "store": true,
    "temperature": 1,
    "text": {
      "format": {
        "type": "text"
      }
    },
    "tool_choice": "auto",
    "tools": [
      {
        "type": "web_search"
      }
    ],
    "top_logprobs": 0,
    "top_p": 1,
    "truncation": "",
    "usage": {
      "cost": {
        "cache_creation_cost": 0.00079,
        "currency": "USD",
        "input_cost": 0.00014,
        "output_cost": 0.00027,
        "tool_calls_cost": 0.0025,
        "tool_calls_cost_details": {
          "search_web": 0.0025
        },
        "total_cost": 0.0037
      },
      "input_tokens": 3708,
      "input_tokens_details": {
        "cache_creation_input_tokens": 3153,
        "cache_read_input_tokens": 0,
        "cached_tokens": 0
      },
      "output_tokens": 106,
      "output_tokens_details": {
        "reasoning_tokens": 0
      },
      "tool_calls_details": {
        "search_web": {
          "cost_usd": 0.0025,
          "invocation": 1
        }
      },
      "total_tokens": 3814
    },
    "user": null
  }
}