ruby-openai and chatgpt-ruby

Both are Ruby client libraries for the OpenAI API, making them direct competitors offering similar core functionality with the primary differentiator being the more mature and widely-adopted ruby-openai library versus the simpler chatgpt-ruby alternative.

ruby-openai
49
Emerging
chatgpt-ruby
48
Emerging
Maintenance 2/25
Adoption 10/25
Maturity 16/25
Community 21/25
Maintenance 10/25
Adoption 7/25
Maturity 16/25
Community 15/25
Stars: 3,212
Forks: 381
Downloads:
Commits (30d): 0
Language: Ruby
License: MIT
Stars: 40
Forks: 7
Downloads:
Commits (30d): 0
Language: Ruby
License: MIT
Stale 6m No Package No Dependents
No Package No Dependents

About ruby-openai

alexrudall/ruby-openai

OpenAI API + Ruby! 🤖❤️ GPT-5 & Realtime WebRTC compatible!

Comprehensive Ruby bindings for OpenAI's full API surface including chat streaming, vision capabilities, Responses API for persistent conversations, and Realtime WebRTC bidirectional audio. Built on Faraday HTTP client with configurable base URIs, streaming support, and logging; also compatible with alternative providers (Azure, Deepseek, Ollama, Groq, Gemini). Covers 25+ endpoints: embeddings, fine-tuning, vector stores, assistants with file search, image generation/editing, speech-to-text, and moderation.

About chatgpt-ruby

rubyonai/chatgpt-ruby

🤖💎 ChatGPT Ruby – a simple gem for accessing the OpenAI API

Scores updated daily from GitHub, PyPI, and npm data. How scores work