Overview
PyGPT is a desktop application for chat, vision, image generation and agents. Eden AI is a built-in provider:- 1000+ models: reach OpenAI, Anthropic, Google, Mistral and more through one key
- Its own settings tab: Eden AI has a dedicated tab under API Keys
- LLM and embeddings: the provider can serve both, but embeddings stay on OpenAI until you select Eden AI (see Embeddings)
- EU endpoint: change one field to route through
api.eu.edenai.run
Prerequisites
- PyGPT installed. See the PyGPT repository
- An Eden AI API key from app.edenai.run
Setup
1. Enter your key
- Open Config > Settings….
- Go to the API Keys section and select the Eden AI tab.
- Paste your key into Eden AI API key.
- Leave API Endpoint at its default,
https://api.edenai.run/v3. - Click Save.
2. Add an Eden AI model
- Open Config > Models > Edit models.
- Add a model and choose Eden AI as its provider.
- Set the model id to a model name or
~alias from/v3/models, for example~claude-sonnet-latest.
Model naming
Use a model name or~ alias from GET /v3/models, such as ~claude-sonnet-latest; a provider/model id pins one provider. PyGPT forwards it unchanged. The catalogue is public and needs no key:
Embeddings
PyGPT does not use Eden AI for embeddings until you select it. Its Embeddings provider defaults to OpenAI, and it ships no default embedding model for Eden AI.- Open Config > Settings… and go to Indexes / RAG, then the Embeddings tab.
- Set Embeddings provider to Eden AI.
- In Default embedding models, add an entry for the
edenaiprovider with an Eden AI embedding model id, for examplemistral-embed.
/v3/models, which is a common source of confusion when picking one.
EU data residency
Change the API Endpoint field in the Eden AI settings tab:https://api.eu.edenai.run/v3/embeddings/models, for example mistral-embed.
Troubleshooting
Authentication errors
Re-check the key in Config > Settings… > API Keys > Eden AI. Make sure it is an Eden AI key and not a vendor key, and that it was pasted into the Eden AI tab rather than another provider’s. Eden AI answers 401 withInvalid API key for a wrong or revoked sk-eden- key and Invalid token for other token shapes.
The wrong model name
PyGPT sends the model id exactly as you typed it. Use the id exactly asGET /v3/models returns it, for example ~gpt-sol-latest.
The endpoint field was cleared
Set API Endpoint back tohttps://api.edenai.run/v3, or to https://api.eu.edenai.run/v3 for the EU endpoint.
Next Steps
- Chat Completions - Core LLM endpoint
- List LLM Models - Browse available providers and models
- LibreChat - Another chat interface on Eden AI
- Open WebUI - Self-hosted chat UI on Eden AI