Skip to content
Open
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
1 change: 1 addition & 0 deletions components/icons/providers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export { default as HeliconeIcon } from './helicone'
export { default as HuggingFaceIcon } from './huggingface'
export { default as KeycloakIcon } from './keycloak'
export { default as LemonadeIcon } from './lemonade'
export { default as LinkrraIcon } from './linkrra'
export { default as LiteLLMIcon } from './litellm'
export { default as MeilisearchIcon } from './meilisearch'
export { default as MistralIcon } from './mistral'
Expand Down
30 changes: 30 additions & 0 deletions components/icons/providers/linkrra.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import React from 'react'

export default function LinkrraIcon({ className, ...props }: React.SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
className={className}
aria-hidden="true"
{...props}
>
<g stroke="currentColor" strokeWidth="1.3" strokeLinecap="round">
<line x1="12" y1="11" x2="5" y2="7" />
<line x1="12" y1="11" x2="12" y2="4" />
<line x1="12" y1="11" x2="19" y2="8" />
<line x1="12" y1="11" x2="8" y2="18" />
<line x1="12" y1="11" x2="17" y2="17" />
</g>
<g fill="currentColor">
<circle cx="5" cy="7" r="1.4" />
<circle cx="12" cy="4" r="1.4" />
<circle cx="19" cy="8" r="1.4" />
<circle cx="8" cy="18" r="1.4" />
<circle cx="17" cy="17" r="1.4" />
<circle cx="12" cy="11" r="2.1" />
</g>
</svg>
)
}
43 changes: 43 additions & 0 deletions content/docs/configuration/librechat_yaml/ai_endpoints/linkrra.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: Linkrra
icon: Linkrra
description: Configure Linkrra as a custom endpoint in LibreChat.
---

Linkrra provides an OpenAI-compatible inference API for open-weight models that you can add to LibreChat through `endpoints.custom`.

## Get an API key

Sign in on the [Linkrra account page](https://synap.linkrra.com/account) and create an API key. Add it to your `.env` file:

```bash filename=".env"
LINKRRA_API_KEY=your-api-key
```

## Configuration

Add the endpoint to the `custom` list under `endpoints` in your `librechat.yaml`. If your file already has an `endpoints.custom` list, paste only the `- name:` entry into it, keeping the same indentation:

```yaml filename="librechat.yaml"
endpoints:
custom:
- name: "Linkrra"
apiKey: "${LINKRRA_API_KEY}"
baseURL: "https://pool.linkrra.com/v1"
models:
default:
- "qwen3-coder-30b"
- "gpt-oss-20b"
- "gemma-4-26b-a4b-it"
fetch: false
titleConvo: true
titleModel: "qwen3-coder-30b"
modelDisplayLabel: "Linkrra"
```

To let each user supply their own key through the LibreChat UI instead of reading one from `.env`, set `apiKey: "user_provided"`.

## Notes

- Use model IDs exactly as they appear in the list above. Model availability can change over time; the current IDs are published at [`/v1/models?format=openrouter`](https://pool.linkrra.com/v1/models?format=openrouter).
- The endpoint supports chat completions with streaming. See the [Linkrra documentation](https://synap.linkrra.com/docs) for details.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"helicone",
"huggingface",
"lemonade",
"linkrra",
"litellm",
"mistral",
"mlx",
Expand Down
2 changes: 2 additions & 0 deletions lib/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
HuggingFaceIcon,
KeycloakIcon,
LemonadeIcon,
LinkrraIcon,
LiteLLMIcon,
MeilisearchIcon,
MistralIcon,
Expand Down Expand Up @@ -260,6 +261,7 @@ const icons: Record<string, ReactElement> = {
HuggingFace: <HuggingFaceIcon />,
Keycloak: <KeycloakIcon />,
Lemonade: <LemonadeIcon />,
Linkrra: <LinkrraIcon />,
LiteLLM: <LiteLLMIcon />,
Meilisearch: <MeilisearchIcon />,
Mistral: <MistralIcon />,
Expand Down