Skip to content

Model Providers

Nyravio supports multiple AI model providers simultaneously. Provider connections are configured through the application interface at Settings > Providers.

Connects to the OpenAI API and any OpenAI-compatible service.

  • API key: Your OpenAI API key
  • Base URL: https://api.openai.com/v1 (default) or a custom endpoint
  • Models: GPT-4o, GPT-4, GPT-3.5, and other OpenAI models

The OpenAI adapter also works with services that implement the OpenAI-compatible API, including:

  • Azure OpenAI Service
  • OpenRouter
  • Together AI
  • Self-hosted inference servers (vLLM, LiteLLM, LocalAI)

Connects to Anthropic’s Claude models.

  • API key: Your Anthropic API key
  • Models: Claude 4 (Opus, Sonnet), Claude 3.5, and other Claude models

Connects to Google’s Gemini models.

  • API key: Your Google AI API key
  • Models: Gemini 2.5, Gemini 2.0, and other Gemini models

Connects to locally running models via Ollama.

  • Base URL: http://host.docker.internal:11434 (from Docker) or http://localhost:11434
  • No API key required
  • Models: Any model available in your Ollama installation

For Docker deployments, use host.docker.internal to reach Ollama running on the host machine. On Linux, you may need to add --add-host=host.docker.internal:host-gateway to your Docker configuration.

Providers are managed through the web interface:

  1. Navigate to Settings > Providers
  2. Add a new provider connection
  3. Select the provider type
  4. Enter the required credentials
  5. Test the connection
  6. Save

Credentials are encrypted at rest using NYRAVIO_ADMIN_ENCRYPTION_KEY.

After configuring providers, available models appear in the model catalog. You can:

  • View available models from all connected providers
  • Configure model capabilities and availability
  • Set default models for different use cases
  • Manage model access and visibility

Beyond text generation, providers can support:

Capability Providers
Embeddings OpenAI-compatible providers
Image generation OpenAI (DALL-E)
Speech-to-text OpenAI (Whisper)
Web search Configurable adapters

Configure embedding providers to enable semantic document search and knowledge retrieval.