Skip to main content
This page shows the config.yaml entries, the edenai/<model> naming, preference routing and the EU endpoint.

Overview

Plano is a Rust proxy and data plane for agentic apps that handles routing, observability and guardrails. Eden AI is a built-in provider, so there is no plugin to write:
  • 1000+ models: reach OpenAI, Anthropic, Google, Mistral and more through one key
  • Wildcard routing: one edenai/* entry matches any Eden AI model id at request time, with no per-model declaration
  • Client shape translation: Plano accepts OpenAI chat completions, Anthropic Messages and OpenAI Responses requests and translates them to Eden AI’s OpenAI-compatible endpoint
  • EU endpoint: point the provider at api.eu.edenai.run when you have data-residency requirements
Plano treats Eden AI the way it treats OpenRouter and Vercel, as a broad multi-vendor gateway. It keeps no model list for Eden AI, so the edenai/* entry does not appear in Plano’s /models/list. A wildcard entry cannot be the default model and does not satisfy routing_preferences, which need each model declared by name.

Prerequisites

Setup

1. Declare Eden AI in your Plano config

The wildcard form covers the whole catalogue in a single entry. The key is read from the environment:
base_url is required: without it Plano has no route to Eden AI. To pin specific models instead, name them. One of them can be the default:
To let the client supply the key instead, replace access_key with passthrough_auth: true. Plano then forwards the client’s Authorization header and ignores access_key, so the client must send your Eden AI key as its bearer token.

2. Export your key

Skip this step if you use passthrough_auth.

3. Start Plano

Model naming

Use a model name or ~ alias from GET /v3/models, such as ~claude-sonnet-latest; a provider/model id pins one provider. A reference in Plano puts the provider key in front: edenai/<model>, for example edenai/~gemini-flash-latest, or three segments for a provider/model id, edenai/<provider>/<model>. The provider key is spelled exactly edenai; Plano rejects eden_ai. The live catalogue is public and needs no key, so you can browse it before choosing:

Routing preferences

Plano’s own router picks a model per request from the route descriptions you write, and Eden AI serves the model it picks. This is separate from Eden AI’s own provider routing and fallbacks. Every model named in routing_preferences must also be declared by name in model_providers, and the config needs version: v0.4.0 or above. A wildcard entry does not count. A complete config:
Preference routing uses a separate model, Plano-Orchestrator, which is not an Eden AI model. By default Plano sends the conversation and your route descriptions to a Plano-hosted endpoint (free, in the US-central region) to choose the route. Your Eden AI key is the only key you need to start. For production, Plano says to run Plano-Orchestrator yourself or to contact the Plano team for keys.

EU data residency

Point the provider at the EU gateway:
Browse curl https://api.eu.edenai.run/v3/models to see what it serves, and see Model names on the EU endpoint for which references run there. If you also use preference routing, remember that the default Plano-Orchestrator endpoint is hosted in the US-central region and sees the conversation.

Troubleshooting

401 Unauthorized

Check that EDENAI_API_KEY is exported in the environment Plano runs from, and that the value is an Eden AI key rather than a vendor key. Eden AI answers Invalid API key for a wrong or revoked sk-eden- key and Invalid token for other token shapes. With passthrough_auth: true the key travels from the client instead, so verify what your client sends.

Provider not recognised

The provider key is edenai, not eden_ai and not eden-ai. Plano validates it strictly.

Plano refuses to start with not declared in model_providers

A model in routing_preferences is missing from model_providers. Declare each routed model by name.

A model is not recognised

Use the id exactly as the catalog lists it (GET /v3/models), after the provider key: edenai/<model>, or edenai/<provider>/<model> to pin one provider.

Next Steps