Companion object providing LLM provider instances and utilities.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LLMProvider.type
Members list
Type members
Classlikes
Anthropic provider for Claude models.
Anthropic provider for Claude models.
Supports Claude 3.5 Sonnet, Claude 3 Opus, and other Anthropic models. Features extended thinking capability for complex reasoning tasks.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
Anthropic.type
Azure OpenAI Service provider.
Azure OpenAI Service provider.
Provides access to OpenAI models via Azure cloud infrastructure. Requires Azure-specific configuration including endpoint and API version.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
Azure.type
DeepSeek provider for DeepSeek models.
DeepSeek provider for DeepSeek models.
Supports DeepSeek-Chat (V3), DeepSeek-Reasoner (R1) and other DeepSeek models. Features reasoning capability for complex tasks. Requires a DeepSeek API key.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
DeepSeek.type
Google Gemini provider for Gemini models.
Google Gemini provider for Gemini models.
Supports Gemini 2.0, 1.5 Pro, 1.5 Flash and other Gemini models. Features large context windows (up to 1M+ tokens) and multimodal capabilities. Requires a Google AI API key.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
Gemini.type
Ollama provider for local model inference.
Ollama provider for local model inference.
Runs models locally without external API dependencies. Supports various open-source models like Llama, Mistral, etc.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
Ollama.type
OpenAI provider for GPT models.
OpenAI provider for GPT models.
Supports GPT-4, GPT-3.5-turbo, and other OpenAI models. Requires an OpenAI API key.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
OpenAI.type
OpenRouter provider for unified model access.
OpenRouter provider for unified model access.
Provides access to multiple LLM providers through a single API. Supports reasoning effort parameter for compatible models.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
OpenRouter.type
Z.ai (ZhipuAI) provider for GLM models.
Z.ai (ZhipuAI) provider for GLM models.
Provides access to GLM-4 series models via OpenAI-compatible API. Supports GLM-4.7 and GLM-4.5-air models.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
Zai.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Parses a provider name string to LLMProvider.
Parses a provider name string to LLMProvider.
Value parameters
- name
-
provider name (case-insensitive)
Attributes
- Returns
-
Some(provider) if valid, None otherwise
Concrete fields
All available providers
All available providers