Providers
Meridian supports multiple LLM providers through a single unified API. Add your provider keys once, and Meridian automatically routes requests to the correct provider based on the model name.
Adding a provider
- Navigate to the Providers page in the Meridian dashboard.
- Click Add Key on the provider card you want to configure.
- Paste your API key from the provider's console.
- Click Save. The key is encrypted with AES-256-GCM before storage.
You can add keys for all three providers simultaneously. Meridian detects which provider to use based on the model name in each request. The dashboard surfaces current recommended models instead of older or deprecated defaults.
How routing works
When a request arrives at any /api/v1/* endpoint, Meridian inspects the model field and matches it against known model prefixes:
| Model prefix | Routes to |
|---|---|
gpt-*, gpt-image-*, text-embedding-*, tts-* | OpenAI |
claude-* | Anthropic |
gemini-* | Google Gemini |
Responses are always translated to OpenAI-compatible format regardless of the upstream provider.
OpenAI
Get your API key from platform.openai.com/api-keys. Keys start with sk-.
| Model | Type | Description |
|---|---|---|
gpt-4.1 | Chat | Current flagship reasoning and generation model |
gpt-4.1-mini | Chat | Best balance of speed, quality, and cost |
gpt-4.1-nano | Chat | Low-latency lightweight model |
gpt-4o | Chat | Strong multimodal model for general workloads |
gpt-4o-mini | Chat | Affordable multimodal option |
gpt-image-1 | Image | Current OpenAI image generation model |
text-embedding-3-small | Embedding | Small embedding model |
text-embedding-3-large | Embedding | Large embedding model |
tts-1 | Audio | Text-to-speech |
tts-1-hd | Audio | High-definition text-to-speech |
Anthropic
Get your API key from console.anthropic.com/settings/keys. Keys start with sk-ant-.
| Model | Type | Description |
|---|---|---|
claude-sonnet-4-20250514 | Chat | Recommended default for high-quality production workloads |
claude-opus-4-20250514 | Chat | Highest-capability Claude model |
claude-3-7-sonnet-20250219 | Chat | Reliable cross-provider comparison baseline |
Google Gemini
Get your API key from aistudio.google.com/app/apikey. Keys start with AIza.
| Model | Type | Description |
|---|---|---|
gemini-2.5-pro | Chat | Highest-quality Gemini model |
gemini-2.5-flash | Chat | Fast production default for most requests |
gemini-2.0-flash | Chat | Lower-latency Gemini option |
gemini-flash-latest | Chat | Rolling alias for the latest supported flash release |
Removing a provider
Click Remove on the provider card in the dashboard. This deletes the encrypted key from the database. Any requests targeting that provider's models will return a 400 error until a new key is added.
Coming soon
Support for Mistral AI, Cohere, and Perplexity is planned for Meridian v2.0. See the Roadmap for details.