Skip to content

openai/openai-ruby

Official

Official Ruby SDK for the OpenAI API

434 stars48 forksRubyUpdated June 2026
✅ Reviewed by My AI Guide

Our Review

  • Full-featured with streaming, pagination, and types
  • Auto-paging iterators simplify API lists
  • Comprehensive Yard/RBS/RBI docs

Our Verdict

Official Ruby SDK for the OpenAI API. For Ruby developers integrating OpenAI models into apps. Key differentiator: official maintenance ensures full compatibility and rapid updates versus unofficial gems.

Frequently Asked Questions

Is openai-ruby the official OpenAI Ruby SDK?

Yes, openai/openai-ruby is the official Ruby SDK for the OpenAI API, directly from OpenAI. It enables Ruby developers to access endpoints like chat completions and embeddings with reliable, up-to-date support.

What is openai-ruby?

Official Ruby SDK for the OpenAI API

How do I install openai-ruby?

Visit the GitHub repository at https://github.com/openai/openai-ruby for installation instructions.

What license does openai-ruby use?

openai-ruby uses the Apache-2.0 license.

What are alternatives to openai-ruby?

Search My AI Guide for similar tools in this category.

🔒

Open source & community-verified

Apache-2.0 licensed: free to use in any project, no strings attached. 434 developers have starred this, meaning the community has reviewed and trusted it.

Reviewed by My AI Guide for relevance, quality, and active maintenance before listing.