| Features | - Responses API and Chat Completions
- SSE streaming (responses.stream, chat.completions.stream)
- structured outputs and function calling with OpenAI::BaseModel, ArrayOf, EnumOf and UnionOf, parsed results
- structured-output models from Sorbet T::Struct classes
- automatic chat completions tool runner
- Realtime WebSocket sessions and WebRTC calls; Responses WebSockets
- auto-paginating list methods
- file uploads and vector store ingestion polling
- All 14 features
| - 23 providers and any OpenAI-compatible API
- chat with streaming through a block
- attachments: images, video, audio, PDFs and other documents
- structured output with with_schema and response.parsed
- tools, tool approval, provider tools and MCP connectors
- RubyLLM::Agent and a step-by-step agentic loop
- image and video generation, transcription and speech, OCR, embeddings, reranking, moderation
- prompt caching, compaction, token counting, fallbacks and cancellation
- All 14 features
| - chat completions with streaming procs
- JSON mode and functions
- Responses API and conversations
- embeddings, batches, files, fine-tunes, vector stores
- assistants, threads and runs
- image generation, edits and variations; moderations; Whisper
- Realtime WebRTC sessions
- Azure OpenAI and OpenAI-compatible providers (Ollama, Groq, Deepseek, Gemini)
- All 9 features
|