From 623ac8654e21a60fc3dd1c9287695b31d822b648 Mon Sep 17 00:00:00 2001 From: uxidev <69417372+uxidev@users.noreply.github.com> Date: Thu, 1 Oct 2026 22:54:06 +0900 Subject: [PATCH] docs: add FutureInfra AI endpoint guide Co-Authored-By: Claude Opus 5.5 --- components/icons/providers/futureinfra.tsx | 13 ++++++ components/icons/providers/index.ts | 1 + .../ai_endpoints/futureinfra.mdx | 41 +++++++++++++++++++ .../librechat_yaml/ai_endpoints/meta.json | 1 + lib/icons.tsx | 2 + 5 files changed, 58 insertions(+) create mode 100644 components/icons/providers/futureinfra.tsx create mode 100644 content/docs/configuration/librechat_yaml/ai_endpoints/futureinfra.mdx diff --git a/components/icons/providers/futureinfra.tsx b/components/icons/providers/futureinfra.tsx new file mode 100644 index 000000000..5eda5183a --- /dev/null +++ b/components/icons/providers/futureinfra.tsx @@ -0,0 +1,13 @@ +import React from 'react' + +export default function FutureInfraIcon({ className, ...props }: React.SVGProps) { + return ( + + + + ) +} diff --git a/components/icons/providers/index.ts b/components/icons/providers/index.ts index e287de290..3b9acc485 100644 --- a/components/icons/providers/index.ts +++ b/components/icons/providers/index.ts @@ -16,6 +16,7 @@ export { default as DiscordIcon } from './discord' export { default as FacebookIcon } from './facebook' export { default as FirebaseIcon } from './firebase' export { default as FireworksIcon } from './fireworks' +export { default as FutureInfraIcon } from './futureinfra' export { default as GoogleIcon } from './google' export { default as GroqIcon } from './groq' export { default as HeliconeIcon } from './helicone' diff --git a/content/docs/configuration/librechat_yaml/ai_endpoints/futureinfra.mdx b/content/docs/configuration/librechat_yaml/ai_endpoints/futureinfra.mdx new file mode 100644 index 000000000..a52417ae1 --- /dev/null +++ b/content/docs/configuration/librechat_yaml/ai_endpoints/futureinfra.mdx @@ -0,0 +1,41 @@ +--- +title: FutureInfra +icon: FutureInfra +description: Configure FutureInfra as a custom endpoint in LibreChat. +--- + +FutureInfra is a Korean cloud provider whose AI router serves 300+ models from OpenAI, Anthropic, and other providers through a single OpenAI-compatible endpoint. + +## Get an API key + +Create an account at [futureinfra.ai](https://futureinfra.ai/) and generate a key in the console under [AI Router](https://futureinfra.ai/console/?screen=ai-router). The key starts with `pk_live_`. Add it to your `.env` file: + +```bash filename=".env" +FUTUREINFRA_API_KEY=pk_live_your-key-here +``` + +## Configuration + +Add the endpoint under `endpoints.custom` in your `librechat.yaml`: + +```yaml filename="librechat.yaml" + - name: "FutureInfra" + apiKey: "${FUTUREINFRA_API_KEY}" + baseURL: "https://futureinfra.ai/v1/ai" + models: + default: ["openai/gpt-4o-mini", "anthropic/claude-sonnet-4"] + fetch: true + titleConvo: true + titleModel: "openai/gpt-4o-mini" + modelDisplayLabel: "FutureInfra" +``` + +To pin a fixed model list instead of fetching the full catalog, set `fetch: false` and list the models yourself. + +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 `https://futureinfra.ai/v1/ai/models`. The `default` array is only the initial selection. +- Model IDs use the `vendor/model` format, for example `openai/gpt-4o-mini`. +- Usage is billed per call from the prepaid wallet in your FutureInfra account. See the [FutureInfra docs](https://futureinfra.ai/docs/) for details. diff --git a/content/docs/configuration/librechat_yaml/ai_endpoints/meta.json b/content/docs/configuration/librechat_yaml/ai_endpoints/meta.json index c46fe3dfd..785096148 100644 --- a/content/docs/configuration/librechat_yaml/ai_endpoints/meta.json +++ b/content/docs/configuration/librechat_yaml/ai_endpoints/meta.json @@ -10,6 +10,7 @@ "databricks", "deepseek", "fireworks", + "futureinfra", "groq", "helicone", "huggingface", diff --git a/lib/icons.tsx b/lib/icons.tsx index 71e187c54..2e92ff729 100644 --- a/lib/icons.tsx +++ b/lib/icons.tsx @@ -18,6 +18,7 @@ import { FacebookIcon, FirebaseIcon, FireworksIcon, + FutureInfraIcon, GoogleIcon, GroqIcon, HeliconeIcon, @@ -252,6 +253,7 @@ const icons: Record = { Facebook: , Firebase: , Fireworks: , + FutureInfra: , Google: , Groq: , Helicone: ,