This project is not covered by Drupal’s security advisory policy.
The OpenAI batch module is a wrapper module that allows you to work with OpenAI's Batch API.
The point for the module is to easily send requests to OpenAI's Batch service to process your requests in bulk, asynchronously. The biggest benefit for using OpenAi's Batch service is that the cost is significantly reduced.
The module offers a framework for developing your own plugins. To use it, you must implement a OpenAiBatchProcessor plugin in a custom module of yours. Set your plugin class to: extends OpenAiBatchProcessorPluginBase implements OpenAiBatchVBOActionInterface and implement the required methods. It will give you a VBO that, when executed on the content entities you have selected, it will create a batch and send it to ChatGPT. When the processing is finished, cron will download and parse the response.
Example use cases could be: Ask ChatGPT to create summaries, to tag content with taxonomy terms, or anything you need to!
See the included WriteSummary example class.
Additional Requirements
It depends on the Drupal AI module and the provider module ai_provider_openai.
Similar projects
TODO write list
Project information
- Project categories: Developer tools
10 sites report using this module
- Created by efpapado on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Development version: 1.0.x-dev updated 4 Nov 2025 at 13:26 UTC

