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.
Required Ruby Version
>= 3.2.0
Authors
Antar Azri, 0x1eef
Versions
- 15.3.0 September 15, 2026 (325 KB)
- 15.2.2 September 15, 2026 (323 KB)
- 15.2.1 September 14, 2026 (322 KB)
- 15.2.0 September 10, 2026 (321 KB)
- 15.1.0 August 24, 2026 (308 KB)
- 3.0.0 January 25, 2026 (54.5 KB)