edenai provider for both the LLM and the embedder, so one Eden AI key covers both.
Overview
With Eden AI as the provider:- 1000+ models: reach OpenAI, Anthropic, Google, Mistral and more through one key
- LLM and embedder from the same key: no second account for embeddings
- EU endpoint:
EDENAI_BASE_URLcovers both the LLM and the embedder in one setting
Prerequisites
- Repowise installed:
uv tool install repowise(orpipx install repowise,pip install repowise). See the Repowise repository - An Eden AI API key from app.edenai.run → API Keys
Setup
1. Export your key
2. Initialise with Eden AI
Always pass--provider edenai. Repowise detects Eden AI last, after any other provider key it recognises, such as ANTHROPIC_API_KEY or OPENAI_API_KEY, so if one of those is also set, auto-detection picks that provider instead.
gpt-5, o1, o3 or o4, so use the version-named id here. With an alias such as ~gpt-luna-latest, Repowise offers no reasoning levels for the model and init fails with Provider validation failed when you pass --reasoning.
Model naming
Use a model name or~ alias from GET /v3/models, such as ~claude-sonnet-latest; a provider/model id pins one provider. Repowise passes the identifier through unchanged, and its own default, mistral/mistral-small-latest, is a provider/model id. The live catalogues are public and need no key:
The chat and embedding catalogues are separate endpoints. An embedding model will not appear in
/v3/models, which is a common source of confusion when picking one.Embeddings for semantic search
Select the embedder explicitly, for the same reason as the LLM: Eden AI is detected last, so a Gemini, OpenAI or OpenRouter key (orOLLAMA_EMBEDDING_MODEL) in the environment wins otherwise.
--embedder accepts edenai alongside openai, gemini, ollama, openrouter and mock. You can also set REPOWISE_EMBEDDER=edenai. Pick the embedding model with REPOWISE_EMBEDDING_MODEL:
provider/model id. The default is Amazon Titan Text Embeddings v2, and google/gemini-embedding-001 and openai/text-embedding-3-small are among the others (the full set is in Repowise’s EdenAIEmbedder._DIMS). For any other id, Repowise prints a warning containing Unknown embedding model and falls back to keyless embeddings, so the run finishes without semantic search, even when Eden AI serves the model. Browse the models Eden AI serves in the embeddings catalogue above.
A model’s vector width is a property of the gateway serving it, not of the model name alone. The same identifier can return a different number of dimensions through two different gateways, so use the width Repowise records for Eden AI rather than copying a figure from another provider’s table.
EU data residency
One variable covers both the LLM and the embedder:- Chat:
~gpt-luna-latest,gpt-5-miniandmistral/mistral-small-latest(the Repowise default) are served. For any other model, see Model names on the EU endpoint. - Embeddings: leave
REPOWISE_EMBEDDING_MODELunset, because the default (Amazon Titan Text Embeddings v2) is served, or set the EU-servedamazon/cohere.embed-multilingual-v3:
google/gemini-embedding-001, are not in the EU embeddings catalogue.
Check the current lists with curl https://api.eu.edenai.run/v3/models and curl "https://api.eu.edenai.run/v3/embeddings/models?view=endpoints".
Troubleshooting
401 Unauthorized
Check that EDENAI_API_KEY is exported in the shell Repowise 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 any other token shape.
model not found
Copy the identifier exactly as the catalogue returns it, and make sure you read the right catalogue: chat models from /v3/models, embedding models from /v3/embeddings/models?view=endpoints, because Repowise takes an embedding model only by its provider/model id. On the EU endpoint, read the EU catalogues.
Unknown embedding model
Repowise did not accept REPOWISE_EMBEDDING_MODEL, warned, and carried on with keyless embeddings. Set one of the models it accepts, listed in the embeddings section above, then run repowise reindex.
Semantic search returns nothing useful
Confirm the embedder actually resolved toedenai rather than falling back. With no embedder set and no recognised key, or with an embedder that could not be built (an unaccepted model, a missing key), Repowise degrades to keyless embeddings, which index without producing real vectors.
Next Steps
- Chat Completions - Core LLM endpoint
- Embeddings - Vector embeddings endpoint
- List LLM Models - Browse available providers and models
- aisuite - Unified LLM interface on Eden AI