Supported Providers
Layerr connects to any provider that speaks OpenAI-compatible HTTP. The following providers are supported out of the box with automatic capability detection.
Cloud Providers
Section titled “Cloud Providers”| Provider | Type | Chat | Vision | Tools | Embeddings | Reasoning | Streaming | Long Context |
|---|---|---|---|---|---|---|---|---|
| OpenAI | OPENAI | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Anthropic | ANTHROPIC | ✓ | ✓ | ✓ | - | ✓ | ✓ | ✓ |
| Google Gemini | GEMINI | ✓ | ✓ | ✓ | ✓ | - | ✓ | ✓ |
| OpenRouter | OPENROUTER | ✓ | - | ✓ | - | - | ✓ | - |
| Groq | GROQ | ✓ | - | ✓ | - | - | ✓ | - |
| Together AI | TOGETHER | ✓ | - | ✓ | - | - | ✓ | - |
| Fireworks AI | FIREWORKS | ✓ | - | ✓ | - | - | ✓ | - |
| DeepInfra | DEEPINFRA | ✓ | - | ✓ | - | - | ✓ | - |
Local & Self-Hosted
Section titled “Local & Self-Hosted”| Provider | Type | Chat | Vision | Tools | Embeddings | Reasoning | Streaming | Long Context |
|---|---|---|---|---|---|---|---|---|
| Ollama | OLLAMA | ✓ | - | - | - | - | ✓ | - |
| LM Studio | LM_STUDIO | ✓ | - | - | - | - | ✓ | - |
| LiteLLM Proxy | LITELLM | ✓ | - | ✓ | - | - | ✓ | - |
| Custom OpenAI-compatible | CUSTOM_OPENAI_COMPATIBLE | ✓ | - | - | - | - | ✓ | - |
Adding a Provider
Section titled “Adding a Provider”Any provider that implements the OpenAI chat completions API can be added via the Custom OpenAI-compatible type. Layerr will auto-detect capabilities on first use.
curl -X POST http://localhost:3000/api/providers \ -H "Authorization: Bearer ***" \ -H "Content-Type: application/json" \ -d '{ "name": "My Custom Provider", "providerType": "CUSTOM_OPENAI_COMPATIBLE", "baseUrl": "https://api.myprovider.com/v1", "apiKey": "sk-..." }'Capability Legend
Section titled “Capability Legend”- Chat, Standard text generation
- Vision, Image input support
- Tools, Function calling / tool use
- Embeddings, Vector embedding generation
- Reasoning, Chain-of-thought / reasoning models
- Streaming, Server-sent events for real-time responses
- Long Context, 100K+ token context windows