Supported Providers

Sonny supports multiple LLM providers. Each provider has specific configuration requirements.

Declaring a Provider

Use the provider field in your configuration to specify the LLM provider.

Supported Providers

  • openai
  • anthropic
  • ollama

Authentication Modes

Each provider supports different authentication methods:

  • OpenAI: API key via OPENAI_API_KEY.
  • Anthropic: API key via ANTHROPIC_API_KEY.
  • Ollama: Token via OLLAMA_TOKEN.

For more details, see Credentials .