Skip to main content
Configure Doclo providers to work with your preferred AI services.

Provider Configuration

VLM Provider (Vision + Language)

Use createVLMProvider for models that can process images directly:

Configuration Options

OpenRouter vs Native

Use a single API key for all providers:
Benefits:
  • Single API key for all providers
  • Automatic fallback support
  • Usage tracking across providers

Provider with Fallback

Use buildLLMProvider for production workloads with automatic fallback and retry:

Fallback Options

OCR Provider

Configure OCR providers for document parsing:

API Key Best Practices

Security

Never commit API keys to version control. Always use environment variables.

Key Rotation

Store keys in environment variables for easy rotation:

Multiple Environments

Use different keys for development and production:

Model Selection

By Speed

By Accuracy

Next Steps

Providers Reference

Detailed provider configuration

Nodes

Use providers in processing nodes