ruby-openai
OpenAI API + Ruby! 🤖❤️ Now with Responses API + DeepSeek! (by alexrudall)
ruby_llm
Stop juggling AI SDKs! RubyLLM offers one delightful Ruby interface for OpenAI, Anthropic, Gemini, Bedrock, OpenRouter, DeepSeek, Ollama & compatible APIs. Chat, Vision, Audio, PDF, Images, Embeddings, Tools, Streaming & Rails integration. (by crmne)
ruby-openai | ruby_llm | |
---|---|---|
14 | 14 | |
3,121 | 2,507 | |
1.0% | 8.0% | |
9.0 | 9.7 | |
9 days ago | 29 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ruby-openai
Posts with mentions or reviews of ruby-openai.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-05-05.
-
Official OpenAI Ruby Gem
What’s the relationship, if any, with https://github.com/alexrudall/ruby-openai ?
That gem is actively maintained and widely used. It’s a good gem! But by definition they’re always playing catch up.
- RubyLLM: A delightful Ruby way to work with AI
-
tiktoken_ruby VS ruby-openai - a user suggested alternative
2 projects | 3 May 2024
If you are using Open AI's API, this tokenizer is more accurate than the one coming with `ruby-openai` gem.
-
ruby and ML/AI chatgpt
ruby-openai
-
Building an app around a LLM, Rails + Python or just Python?
If you can just interact with OpenAI api directly without langchain then that eliminates need for python. Here’s a gem for interacting with the OpenAI api : https://github.com/alexrudall/ruby-openai
- Use OpenAI embeddings with Rails?
-
I need help building a Chatbot using Openai Chatgpt API
There is a gem developed by Alex - https://github.com/alexrudall/ruby-openai.
-
Looking for self-hosted tools with OpenAI API support
I've been playing with ruby-openai, a Ruby gem (ie, library) that interfaces with the OpenAI API. I'm building myself a small movie-recommendation tool, just a personal need, as well as to teach myself how this stuff works. It's unlikely I'll ever build it into a proper app, as I'm okay with interacting in the shell and with text files, versus a web-based thing. But if there's interest, I'll push my tool up to Github.
-
Creating AI assistant with GPT and Ruby and Redis using embeddings
Can use https://github.com/alexrudall/ruby-openai to do this sort of thing also :)
- OpenAI API and Ruby Now with ChatGPT
ruby_llm
Posts with mentions or reviews of ruby_llm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-07-09.
-
Async Ruby is the Future of AI Apps (And It's Already Here)
Then, building RubyLLM and Chat with Work, I noticed that LLM communication is async Ruby's killer app. The unique demands of streaming AI responses -- long-lived connections, token-by-token delivery, thousands of concurrent conversations -- expose exactly why async matters.
-
RubyLLM 1.3.0: Just When You Thought the Developer Experience Couldn't Get Any Better 🎉
Want to shape RubyLLM's future? Join us on GitHub.
-
ruby_llm VS langchainrb - a user suggested alternative
2 projects | 14 May 2025
-
langchainrb VS ruby_llm - a user suggested alternative
2 projects | 14 May 2025
- RubyLLM 1.2.0: Now works with any OpenAI-compatible API (Ollama, Azure, etc.)
- RubyLLM 1.1.0: AWS Bedrock support, resilient error handling for LLMs, and more
- RubyLLM 1.1.0rc1 is out with Bedrock support and other improvements
- Ruby LLM
- Ruby_LLM: A delightful Ruby way to work with AI
- RubyLLM: A delightful Ruby way to work with AI
What are some alternatives?
When comparing ruby-openai and ruby_llm you can also consider the following projects:
langchainrb - Build LLM-powered applications in Ruby
simple-openai - A Java library to use the OpenAI Api in the simplest possible way.
pycall.rb - Calling Python functions from the Ruby language
activeagent - ActiveAgent Rails framework for Agent Apps
discourse-ai
AppleAI - A MacOS menu bar app for ChatGPT, Gemini, Claude, Perplexity, Copilot, DeepSeek, Grok and many more into one streamlined interface