Skip to main content
PyGPT ships Eden AI as a built-in provider, so setup is a key and an endpoint in the settings window, with no config file to edit. This page covers the key, the model entry, the embeddings switch and the EU endpoint.

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

Setup

1. Enter your key

  1. Open Config > Settings….
  2. Go to the API Keys section and select the Eden AI tab.
  3. Paste your key into Eden AI API key.
  4. Leave API Endpoint at its default, https://api.edenai.run/v3.
  5. Click Save.

2. Add an Eden AI model

  1. Open Config > Models > Edit models.
  2. Add a model and choose Eden AI as its provider.
  3. Set the model id to a model name or ~ alias from /v3/models, for example ~claude-sonnet-latest.
The model editor has a Tool calls (function calling) option. Turn it on for models that support function calling. PyGPT sends tool definitions only when its Tools option is enabled (it is off by default).

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.
  1. Open Config > Settings… and go to Indexes / RAG, then the Embeddings tab.
  2. Set Embeddings provider to Eden AI.
  3. In Default embedding models, add an entry for the edenai provider with an Eden AI embedding model id, for example mistral-embed.
The key and endpoint come from the Eden AI tab under API Keys. Embedding models live on a separate catalogue:
An embedding model will not appear in /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:
After switching, pick models from the EU catalogue, which is public:
See Model names on the EU endpoint for which of your model entries run there. Embeddings use the same endpoint field, so pick an id from 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 with Invalid 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 as GET /v3/models returns it, for example ~gpt-sol-latest.

The endpoint field was cleared

Set API Endpoint back to https://api.edenai.run/v3, or to https://api.eu.edenai.run/v3 for the EU endpoint.

Next Steps