[Enhancement]: LibreChat support for gab.ai API #8781
Replies: 2 comments
-
✅ Confirmation & small tweaks for Gab AI integrationI’ve just tested the current Gab AI endpoints; everything is 100 % OpenAI-compatible except for two tiny details that will save you some 400-errors:
That’s it—no custom parsing, no streaming quirks. I can open a PR that adds API docs: https://gab.ai/docs (requires login → “API Keys” tab). |
Beta Was this translation helpful? Give feedback.
-
Adding the Gab AI provider is still desired. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What features would you like to see added?
Is your feature request related to a problem? Please describe.
Yes, LibreChat provides excellent support for APIs from providers like Anthropic (Claude), Google (Gemini), and OpenAI, allowing users to seamlessly switch between models. However, it currently lacks integration with Gab AI (https://gab.ai), which offers its own API with unique models emphasizing free speech and alternative perspectives. This limits users who want to access Gab's models directly within LibreChat, often forcing workarounds like routing through tools such as OpenWebUI. Adding this would enhance LibreChat's versatility as a multi-provider platform, making more AI options available without external dependencies.
Describe the solution you'd like
I'd like to see native support for Gab AI's API, implemented similarly to existing providers (e.g., via a new file in
/api/providers/
likegab.js
, mirroringanthropic.js
orgoogle.js
). Key features could include:baseURL: 'https://gab.ai/v1'
and standard endpoints like/chat/completions
. This should make integration straightforward, with minimal custom parsing needed.This would allow users to access additional models easily, expanding LibreChat's ecosystem while aligning with its open-source, user-centric design.
For reference, here's a quick example from Gab AI's documentation showing OpenAI-compatible usage:
Node.js Example:
Python Example:
Describe alternatives you've considered
Native support in LibreChat feels like the best fit, given its existing architecture for handling similar APIs.
Additional context
Gab AI's API details can be found via their developer resources (e.g., at https://gab.ai – note: API full-access requires a Gab account and key generation). It currently supports models like "Qwen 3 235b", "Arya", "Moonshot Kimi K2" and potentially others, but with very reasonable pricing and rate limits similar to other providers (e.g., token-based). This integration could attract users from communities valuing less censored AI, boosting LibreChat's adoption.
I'm happy to provide more details, test implementations, or even contribute a draft pull request if helpful – I've reviewed the repo and believe this could build directly on the OpenAI provider code. Thanks for maintaining such an awesome project!
More details
https://gab.ai
Which components are impacted by your request?
No response
Pictures
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions