3,671 prompts from top AI collections
← Back to Market
[UNTESTED] [domkalan/Beacon] 1 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,124 characters
Status: [UNTESTED] Endpoints found: http://localhost:3000/v1/chat/completions Source: https://github.com/domkalan/Beacon <p align="center"> <img src="https://github.com/domkalan/Beacon/blob/main/Beacon-Logo-Small.png?raw=true" alt="Beacon Logo"/> </p> # Beacon Beacon is a LLM gateway/proxy service that routes OpenAI compatible API requests. ## Quick overview - Gateway (server) accepts OpenAI-compatible requests on `/v1/*` endpoints and routes them to connected nodes. - Nodes connect to the gateway over Socket.io (useful for complex NAT situations) and authenticate using a node token created by the included CLI. - A MongoDB instance stores users, nodes, API keys, and model metadata. When a request comes in, the gateway checks whether the requested model is registered. If a connected node is available for that model, Beacon routes the request to that node. If no eligible node is available and the model is configured with cloud fallback, Beacon forwards the request to an OpenAI API-compatible upstream service. ```mermaid flowchart LR Client[Client / App] --> Gateway[Beacon Gateway] Gateway --> Registry[Model Registry] Gateway --> Nodes[Connected GPU Nodes] Nodes --> GPU1[Consumer GPU] Nodes --> GPU2[Datacenter GPU] Gateway --> Fallback[OpenAI-Compatible Cloud Provider] ``` ## Why Beacon? Modern GPU capacity is often fragmented. A developer may have a gaming GPU sitting idle. A lab may have datacenter GPUs that are only used during business hours. A team may want local inference when possible, but still needs cloud fallback for availability. Beacon aims to provide: * A single OpenAI-compatible gateway for clients * Dynamic routing to connected GPU nodes * Model-aware request dispatch * Optional fallback to OpenAI-compatible cloud providers * A path toward cost-efficient distributed inference ## Prerequisites - Node.js 18+ and npm - MongoDB (local or remote) - If using local model providers, the node needs access to an OpenAI-compatible inference endpoint (e.g. Ollama). ## Install Clone the repo and build the Docker image (recommended)
Download .txt