RubyGems Navigation menu

llm.rb 4.2.0

llm.rb is a zero-dependency Ruby toolkit for Large Language Models that includes OpenAI, Gemini, Anthropic, xAI (grok), zAI, DeepSeek, Ollama, and LlamaCpp. The toolkit includes full support for chat, streaming, tool calling, audio, images, files, and structured outputs.

Gemfile:
=

install:
=

Versions:

  1. 4.12.0 April 09, 2026 (99 KB)
  2. 4.11.1 April 06, 2026 (98.5 KB)
  3. 4.11.0 April 04, 2026 (98 KB)
  4. 4.10.0 April 02, 2026 (88.5 KB)
  5. 4.9.0 March 30, 2026 (86.5 KB)
  6. 4.2.0 February 22, 2026 (63.5 KB)
Show all versions (56 total)

Development Dependencies (13):

dotenv ~> 2.8
kramdown ~> 2.4
logger ~> 1.7
rake ~> 13.0
rspec ~> 3.0
standard ~> 1.50
test-cmd.rb ~> 0.12.0
vcr ~> 6.0
webmock ~> 3.24.0
webrick ~> 1.8
yard ~> 0.9.37

Owners:

Pushed by:

Authors:

  • Antar Azri, 0x1eef

SHA 256 checksum:

=

Total downloads 71,207

For this version 197

Version Released:

License:

0BSD

Required Ruby Version: >= 3.2.0

Links: