RubyLLM: What's New in 2.0 RubyLLM 2.0 adds video, speech, OCR, reranking, files, batches, and a shared API for provider-hosted tools to the Ruby framework, expanding on the chat, tools, agents, structured output, thinking, embeddings, images, transcription, and moderation support already present in version 1.16. The release also introduces tool approvals, citations, thinking, caching, and fallbacks, plus new APIs for media, documents, and search, with usage tracking and workflows for larger applications and Rails integration. The 40 shared features are documented in a provider coverage matrix spanning OpenAI, Anthropic, Gemini, Vertex AI, Amazon Bedrock, Azure OpenAI/Foundry, xAI, DeepSeek, Cohere, Mistral, OpenRouter, Perplexity, Deepgram, ElevenLabs, Ollama, Ollama Cloud, and GPUStack. Skip to content Search ⌘ Ctrl K Main Navigation Guides API What's New in 2.0 Models Blog 2.0.0 stable 2.0.0 stable 1.16.0 Changelog Appearance Star ... Support Star ... Support Guides API What's New in 2.0 Models Blog 2.0.0 stable 2.0.0 stable 1.16.0 Changelog Appearance Star ... Support Search documentation Esc Menu On this page Return to top On this page Copy page Copy page Copy page as Markdown for LLMs View as Markdown View this page as plain text What's New in 2.0 Explore the expanded provider coverage, new AI operations, conversation controls, and Rails integration in RubyLLM 2.0. {: .fs-6 .fw-300 } After reading this guide, you will know: How much more of each provider's API you can use in 2.0. How to use tool approvals, citations, thinking, caching, and fallbacks. Which new APIs you can use for media, documents, and search. How batches, usage tracking, and workflows support larger applications. How these features fit into Rails. RubyLLM 2.0 expands the framework across conversations, agents, media, documents, and Rails. You can use much more of each provider's API through Ruby methods, with consistent results, streaming, and usage tracking. You also get more control over how conversations run and persist. The examples assume you have configured the providers you use https://rubyllm.com/configuration/ . For an existing application, the upgrade guide https://rubyllm.com/upgrading/ covers API changes and database migrations. Provider API Coverage 1.16 already supported chat, tools, agents, structured output, thinking, embeddings, images, transcription, and moderation. 2.0 adds video, speech, OCR, reranking, files, batches, and a shared API for provider-hosted tools. It also extends the existing APIs with more controls and richer results. Red cells show built-in support added in 2.0. Gray cells were already supported in 1.16. Outlined cells with a × mark missing integrations; use “Missing in 2.0” to find them. Select a cell for its sources and implementation notes.