ruby-openai

ruby-openai

Connect your Ruby app to OpenAI—stream chats, generate images, run GPT calls.

Visit ruby-openai

About ruby-openai

ruby-openai is an open-source Ruby gem that allows developers to easily interact with the OpenAI API from Ruby applications. It supports a wide range of OpenAI features, including GPT-5 chat streaming, completions, embeddings, fine-tuning, file handling, image generation (DALL·E 2 & 3), moderations, real-time conversations with WebRTC, vector stores, and more. Designed for Ruby developers and teams seeking to integrate state-of-the-art generative AI capabilities into their applications or backends quickly and efficiently.

Pricing Plans
Free
$0

Resources

Documentation

Comprehensive API reference and usage guides for integrating the ruby-openai gem.

View docs →

GitHub Issues

Community discussions and troubleshooting for common issues faced by users of ruby-openai.

Join discussions →