GeezerVison is showing github.com — docs: add Eden AI to the providers list (#43386) · chid/opencode@bbe4c95
File tree
Expand file treeCollapse file tree
Open diff view settings
packages/web/src/content/docs
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/providers.mdx +48Lines changed: 48 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -874,6 +874,54 @@ Selecting a router model is a drop-in replacement for any other model — OpenCo |
874 | 874 |
|
875 | 875 | --- |
876 | 876 |
|
| 877 | +### Eden AI |
| 878 | + |
| 879 | +[Eden AI](https://www.edenai.co/) is an EU-based gateway that serves models from many vendors over a single OpenAI-compatible API, with a separate EU endpoint for teams that need inference to stay in the EU. |
| 880 | + |
| 881 | +1. Head over to the [Eden AI platform](https://app.edenai.run/user/register) to create an account and generate an API key. |
| 882 | + |
| 883 | +2. Run the `/connect` command and search for **Eden AI**. |
| 884 | + |
| 885 | + ```txt |
| 886 | + /connect |
| 887 | + ``` |
| 888 | + |
| 889 | +3. Enter your Eden AI API key. |
| 890 | + |
| 891 | + ```txt |
| 892 | + ┌ API key |
| 893 | + │ |
| 894 | + │ |
| 895 | + └ enter |
| 896 | + ``` |
| 897 | + |
| 898 | +4. Run the `/models` command to select a model like _Mistral Large 3_ or _Claude Sonnet 5_. |
| 899 | + |
| 900 | + ```txt |
| 901 | + /models |
| 902 | + ``` |
| 903 | + |
| 904 | + Eden AI model ids are themselves in `vendor/model` form, so a full reference has three segments, for example `edenai/anthropic/claude-sonnet-5`. |
| 905 | + |
| 906 | +5. To keep requests on Eden AI's EU gateway, set its base URL. |
| 907 | + |
| 908 | + ```json title="opencode.json" |
| 909 | + { |
| 910 | + "$schema": "https://opencode.ai/config.json", |
| 911 | + "provider": { |
| 912 | + "edenai": { |
| 913 | + "options": { |
| 914 | + "baseURL": "https://api.eu.edenai.run/v3" |
| 915 | + } |
| 916 | + } |
| 917 | + } |
| 918 | + } |
| 919 | + ``` |
| 920 | + |
| 921 | + The default is `https://api.edenai.run/v3`, so this swaps the global endpoint for the EU one. The EU endpoint serves the subset of the catalog that is available in the EU, so a model chosen in step 4 may not be reachable through it. |
| 922 | + |
| 923 | +--- |
| 924 | + |
877 | 925 | ### FrogBot |
878 | 926 |
|
879 | 927 | 1. Head over to the [FrogBot dashboard](https://app.frogbot.ai/signup), create an account, and generate an API key. |
|