Repository navigation
docs: add SOKKAN Router endpoint guide - #910
Open
nicolas-micaud wants to merge 1 commit into
Open
nicolas-micaud wants to merge 1 commit into
nicolas-micaud wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E8TyjH3dbVJSg5yxs2Mu8W
|
Someone is attempting to deploy a commit to the LibreChat's projects Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a SOKKAN Router custom endpoint guide under the LibreChat YAML AI endpoints docs, following the NEAR AI Cloud guide (#668) and the AMD Lemonade guide (#759) for the icon registration.
SOKKAN Router (https://router.sokkan.ch) is an OpenAI-compatible inference gateway operated by NINABOT Sàrl (Geneva, Switzerland). It serves open-weight models from the EU and Switzerland, with streaming and tool calls, billed per token from a prepaid balance.
content/docs/configuration/librechat_yaml/ai_endpoints/sokkan.mdx: API key,endpoints.customentry, optionalX-Data-Locationheader, notes.ai_endpoints/meta.jsonand a card in the "Other compatible endpoints" list ofai_endpoints/index.mdx.components/icons/providers/sokkan.tsx, derived from the published mark (https://sokkan.ch/brand/sokkan-icon.svg), registered incomponents/icons/providers/index.tsandlib/icons.tsx.The example uses:
SOKKAN_API_KEYhttps://router.sokkan.ch/v1models.fetch: falsewith the five models thatGET /v1/modelslists with"availability": "on_demand"on 2026-11-03:qwen/qwen3.6-35b-a3b-eu,qwen/qwen3.8-27b,qwen/qwen3.5-397b-a17b,openai/gpt-oss-120b,openai/gpt-oss-20bfetchis off on purpose, and the page says why: the public model list also contains a committed-throughput model, which returns403 committed_throughputon a pay-per-token key, and a best-effort one. Withfetch: trueboth would appear in the model picker.Affiliation: this guide was written by the team that operates SOKKAN Router.
Testing
pnpm exec prettier --checkon every changed file: passes.pnpm exec eslint --max-warnings 0on the icon and the two icon registries: passes.pnpm exec fumadocs-mdx && pnpm exec tsc --noEmit: passes.pnpm check:locale-meta: passes (the 13 translatedmeta.*.jsonsidebars were regenerated withpnpm sync:locale-meta).pnpm check:config-version: passes.pnpm test: 42 files / 480 tests pass.curl -fsSL https://router.sokkan.ch/v1/models | jq -e '[.data[] | select(.availability == "on_demand") | .id] | contains(["qwen/qwen3.6-35b-a3b-eu", "qwen/qwen3.8-27b", "qwen/qwen3.5-397b-a17b", "openai/gpt-oss-120b", "openai/gpt-oss-20b"])'get_weather→finish_reason: "tool_calls") againsthttps://router.sokkan.ch/v1with each of the five model ids. LibreChat itself was not run against the endpoint.