diff --git a/components/icons/providers/boostrail.tsx b/components/icons/providers/boostrail.tsx new file mode 100644 index 000000000..d5f8e7f66 --- /dev/null +++ b/components/icons/providers/boostrail.tsx @@ -0,0 +1,13 @@ +import React from 'react' + +export default function BoostRailIcon({ className, ...props }: React.SVGProps) { + return ( + + + + ) +} diff --git a/components/icons/providers/index.ts b/components/icons/providers/index.ts index e287de290..cb3f2e727 100644 --- a/components/icons/providers/index.ts +++ b/components/icons/providers/index.ts @@ -6,6 +6,7 @@ export { default as AutheliaIcon } from './authelia' export { default as AuthentikIcon } from './authentik' export { default as AWSIcon } from './aws' export { default as AzureIcon } from './azure' +export { default as BoostRailIcon } from './boostrail' export { default as CloudflareIcon } from './cloudflare' export { default as CohereIcon } from './cohere' export { default as DatabricksIcon } from './databricks' diff --git a/content/docs/configuration/librechat_yaml/ai_endpoints/boostrail.mdx b/content/docs/configuration/librechat_yaml/ai_endpoints/boostrail.mdx new file mode 100644 index 000000000..6d12506d8 --- /dev/null +++ b/content/docs/configuration/librechat_yaml/ai_endpoints/boostrail.mdx @@ -0,0 +1,39 @@ +--- +title: BoostRail +icon: BoostRail +description: Configure BoostRail as a custom endpoint in LibreChat. +--- + +BoostRail is an OpenAI- and Anthropic-compatible API for text, image and video models from multiple labs. LibreChat connects to its OpenAI-compatible endpoint through `endpoints.custom`. + +## Get an API key + +Create an account at [BoostRail](https://www.boostrail.com) and create an API key in the [console](https://app.boostrail.com). Keys start with `br_`. Add the key to your `.env` file: + +```bash filename=".env" +BOOSTRAIL_API_KEY=br_your-key-here +``` + +## Configuration + +Add the endpoint under `endpoints.custom` in your `librechat.yaml`: + +```yaml filename="librechat.yaml" + - name: "BoostRail" + apiKey: "${BOOSTRAIL_API_KEY}" + baseURL: "https://api.boostrail.com/v1" + models: + default: ["deepseek-v4.1-flash"] + fetch: true + titleConvo: true + titleModel: "deepseek-v4.1-flash" + modelDisplayLabel: "BoostRail" +``` + +To let each user supply their own key through the LibreChat UI instead of reading one from `.env`, set `apiKey: "user_provided"`. + +## Notes + +- With `fetch: true`, LibreChat loads the model list from BoostRail's `/v1/models` endpoint. The `default` list is used only if that request fails. +- Models marked `byok_only` in the `/v1/models` response run on your own key for that lab, added in the BoostRail console. See [Bring your own key](https://www.boostrail.com/byok/). +- Model ids and per-token prices are listed on the [BoostRail Models page](https://www.boostrail.com/models/). BoostRail's own setup guide for LibreChat is in its [docs](https://www.boostrail.com/docs/frameworks/#librechat). diff --git a/content/docs/configuration/librechat_yaml/ai_endpoints/meta.json b/content/docs/configuration/librechat_yaml/ai_endpoints/meta.json index c46fe3dfd..1247424eb 100644 --- a/content/docs/configuration/librechat_yaml/ai_endpoints/meta.json +++ b/content/docs/configuration/librechat_yaml/ai_endpoints/meta.json @@ -5,6 +5,7 @@ "anyscale", "apipie", "azure", + "boostrail", "cloudflare", "cohere", "databricks", diff --git a/lib/icons.tsx b/lib/icons.tsx index 71e187c54..4316e304c 100644 --- a/lib/icons.tsx +++ b/lib/icons.tsx @@ -8,6 +8,7 @@ import { AuthentikIcon, AWSIcon, AzureIcon, + BoostRailIcon, CloudflareIcon, CohereIcon, DatabricksIcon, @@ -242,6 +243,7 @@ const icons: Record = { Authentik: , AWS: , Azure: , + BoostRail: , Cloudflare: , Cohere: , Databricks: ,