LuaRocks.org had a security incident in September 2026. Read the incident report.

lua-openai

Bindings to the OpenAI HTTP API for Lua.

$ luarocks install lua-openai

Bindings 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

1.8.0-1167 days ago72 downloads
1.7.0-1254 days ago480 downloads
1.6.0-1309 days ago21 downloads
1.5.0-1313 days ago8 downloads
1.4.3-11 year ago331 downloads
1.4.2-12 years ago1,254 downloads
1.4.1-12 years ago958 downloads
1.4.0-12 years ago16 downloads
1.3.0-12 years ago42 downloads
1.2.0-13 years ago587 downloads
1.1.0-13 years ago53 downloads
1.0.0-13 years ago391 downloads
dev-1dev3 years ago(revision: 3)5 downloads

Dependencies

lua >= 5.1

Labels

Manifests