$ luarocks install lua-openaiBindings to the OpenAI HTTP API for Lua. Compatible with any HTTP library that supports LuaSocket's http request interface. Compatible with OpenResty using lapis.nginx.http. This project implements both the classic Chat Completions API in addition to the modern Responses API.
Compatibility clients for Google Gemini and OpenRouter are also included.
Versions
Dependencies
lua >= 5.1