Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,15 @@
"v3/integrations/langchain"
]
},
{
"group": "AI Gateway",
"icon": "network-wired",
"expanded": false,
"pages": [
"v3/integrations/bifrost",
"v3/integrations/lynkr"
]
},
{
"group": "Coding Agents",
"icon": "robot",
Expand Down
3 changes: 3 additions & 0 deletions integration-logo/bifrost-icondoc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions integration-logo/lynkr-icondoc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
115 changes: 115 additions & 0 deletions v3/integrations/bifrost.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
---
title: "Bifrost"
icon: "/integration-logo/bifrost-icondoc.svg"
description: "Use Bifrost with Eden AI to route to 500+ AI models through one OpenAI-compatible gateway."
---

import { TechArticleSchema } from "/snippets/TechArticleSchema.mdx";

<TechArticleSchema
title={"Bifrost"}
description={"Use Bifrost with Eden AI to route to 500+ AI models through one OpenAI-compatible gateway."}
path="v3/integrations/bifrost"
articleSection="AI Gateway"
about={"LLM Gateway Integration"}
proficiencyLevel="Intermediate"
keywords={["Eden AI", "AI API", "Bifrost", "LLM Gateway", "Go"]}
datePublished="2026-07-16T00:00:00Z"
dateModified="2026-07-16T00:00:00Z"
/>

Use Bifrost with Eden AI to route to 500+ AI models through one OpenAI-compatible gateway.

## Overview

Bifrost is a high-performance open-source LLM gateway (Go) that adds routing, fallbacks, load-balancing and governance across providers. Because Eden AI is fully OpenAI-compatible, you add it through Bifrost's **Custom Provider** configuration — no build and no fork — and route to models from OpenAI, Anthropic, Google, Cohere, Meta and more behind one key, with EU-based, GDPR-aligned inference.

Check warning on line 25 in v3/integrations/bifrost.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/bifrost.mdx#L25

Did you really mean 'Bifrost's'?

## Installation

<CodeGroup>
```bash Docker
docker run -p 8080:8080 -v $(pwd)/data:/app/data maximhq/bifrost
```

```bash npx
npx -y @maximhq/bifrost
```
</CodeGroup>

## Quick Start

Add Eden AI as a Custom Provider in your `config.json`, then point any request at it:

<CodeGroup>
```json config.json
{
"providers": {
"edenai": {
"keys": [
{ "name": "edenai-key", "value": "env.EDEN_AI_API_KEY", "models": ["*"], "weight": 1.0 }
],
"network_config": { "base_url": "https://api.edenai.run/v3" },
"custom_provider_config": {
"base_provider_type": "openai",
"allowed_requests": {
"chat_completion": true,
"chat_completion_stream": true,
"embedding": true
}
}
}
}
}
```

```bash curl
curl -X POST http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "edenai/openai/gpt-5.5",
"messages": [{"role": "user", "content": "Hello! How are you?"}]
}'
```
</CodeGroup>

You can also add the provider at runtime via `POST /api/providers` or from the Bifrost web UI under **Model Providers** — no restart needed.

## Available Models

Call any Eden AI model through Bifrost as `edenai/<provider>/<model>`:

**OpenAI**
- `edenai/openai/gpt-5.5`
- `edenai/openai/gpt-5-mini`

**Anthropic**
- `edenai/anthropic/claude-sonnet-5`
- `edenai/anthropic/claude-haiku-4-5`

**Google**
- `edenai/google/gemini-2.5-pro`
- `edenai/google/gemini-3.5-flash`

**Mistral**
- `edenai/mistral/mistral-large-2512`
- `edenai/mistral/mistral-small-2603`

## Routing & Fallbacks

Because Eden AI is a standard Bifrost provider, it participates in Bifrost's reliability features — weighted keys, load-balancing and provider fallbacks. Add Eden AI alongside other providers and let Bifrost route or fall back to it as needed, all through the same OpenAI-compatible endpoint.

## Environment Variables

Bifrost reads the key referenced as `env.EDEN_AI_API_KEY` in `config.json` from the environment:

<CodeGroup>
```bash .env
EDEN_AI_API_KEY=your_api_key_here
```
</CodeGroup>

## Next Steps

- [Chat Completions](/v3/llms/chat-completions) - Core LLM endpoint
- [List LLM Models](/v3/llms/listing-models) - Browse available providers and models
- [OpenAI SDK (Python)](/v3/integrations/openai-sdk-python) - Direct SDK usage
134 changes: 134 additions & 0 deletions v3/integrations/lynkr.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
---
title: "Lynkr"
icon: "/integration-logo/lynkr-icondoc.svg"
description: "Use Lynkr with Eden AI to route your gateway to 500+ AI models with tier-based cost optimisation."

Check warning on line 4 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L4

Did you really mean 'Lynkr'?
---

import { TechArticleSchema } from "/snippets/TechArticleSchema.mdx";

<TechArticleSchema
title={"Lynkr"}
description={"Use Lynkr with Eden AI to route your gateway to 500+ AI models with tier-based cost optimisation."}

Check warning on line 11 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L11

Did you really mean 'Lynkr'?
path="v3/integrations/lynkr"
articleSection="AI Gateway"
about={"LLM Gateway Integration"}
proficiencyLevel="Intermediate"
keywords={["Eden AI", "AI API", "Lynkr", "LLM Gateway", "Routing"]}
datePublished="2026-07-16T00:00:00Z"
dateModified="2026-07-16T00:00:00Z"
/>

Use Lynkr with Eden AI to route your gateway to 500+ AI models with tier-based cost optimisation.

## Overview

Lynkr is an open-source LLM gateway that cuts costs with **tier-based routing** — it scores each request 0–100 and sends it to the cheapest model that can handle it. Eden AI is a built-in Lynkr provider, so you reach models from OpenAI, Anthropic, Google, Mistral and 500+ more behind one key, with EU-based, GDPR-aligned inference and unified billing.

Check warning on line 25 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L25

Did you really mean 'Lynkr'?

## Installation

<CodeGroup>
```bash npm
npm install -g lynkr
```

```bash Homebrew
brew tap fast-editor/lynkr

Check warning on line 35 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L35

Did you really mean 'lynkr'?
brew install lynkr
```

```bash Install script
curl -fsSL https://raw.githubusercontent.com/Fast-Editor/Lynkr/main/install.sh | bash
```
</CodeGroup>

## Quick Start

Initialise Lynkr, point it at Eden AI, and start the gateway:

Check warning on line 46 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L46

Did you really mean 'Lynkr'?

<CodeGroup>
```bash Terminal
lynkr init # scaffold a .env

Check warning on line 50 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L50

Did you really mean 'lynkr'?
export EDENAI_API_KEY=your-edenai-key
export MODEL_PROVIDER=edenai # send all requests to Eden AI
lynkr start # OpenAI-compatible endpoint on port 8081

Check warning on line 53 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L53

Did you really mean 'lynkr'?
```
</CodeGroup>

```bash curl
curl -X POST http://localhost:8081/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "mistral/mistral-small-2603",
"messages": [{"role": "user", "content": "Hello from Lynkr + Eden AI"}]
}'
```

## Configuration

Lynkr reads provider credentials from environment variables (or a `.env` file):

Check warning on line 68 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L68

Did you really mean 'Lynkr'?

<CodeGroup>
```bash .env
EDENAI_API_KEY=your-edenai-key
EDENAI_MODEL=openai/gpt-5-mini # default model (provider/model naming)
EDENAI_EMBEDDINGS_MODEL=openai/text-embedding-ada-002
EDENAI_ENDPOINT=https://api.edenai.run/v3/chat/completions
```
</CodeGroup>

### Routing modes

**Static** — every request goes to Eden AI:

<CodeGroup>
```bash Static
export MODEL_PROVIDER=edenai
```
</CodeGroup>

**Tier-based (recommended for cost)** — set all four tiers to Eden AI models; Lynkr routes by request complexity:

Check warning on line 89 in v3/integrations/lynkr.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/lynkr.mdx#L89

Did you really mean 'Lynkr'?

<CodeGroup>
```bash Tier-based
export TIER_SIMPLE=edenai:mistral/mistral-small-2603
export TIER_MEDIUM=edenai:openai/gpt-5-mini
export TIER_HARD=edenai:anthropic/claude-sonnet-5
export TIER_EXPERT=edenai:openai/gpt-5.5
```
</CodeGroup>

## Available Models

Use the `provider/model` format for any Eden AI model:

**OpenAI**
- `openai/gpt-5.5`
- `openai/gpt-5-mini`

**Anthropic**
- `anthropic/claude-sonnet-5`
- `anthropic/claude-haiku-4-5`

**Google**
- `google/gemini-2.5-pro`
- `google/gemini-3.5-flash`

**Mistral**
- `mistral/mistral-large-2512`
- `mistral/mistral-small-2603`

## Environment Variables

<CodeGroup>
```bash .env
EDENAI_API_KEY=your_api_key_here
EDENAI_MODEL=openai/gpt-5-mini
EDENAI_ENDPOINT=https://api.edenai.run/v3/chat/completions
```
</CodeGroup>

## Next Steps

- [Chat Completions](/v3/llms/chat-completions) - Core LLM endpoint
- [List LLM Models](/v3/llms/listing-models) - Browse available providers and models
- [OpenAI SDK (Python)](/v3/integrations/openai-sdk-python) - Direct SDK usage
Loading