For 开源 LLM 托管平台, the strongest matches are josstorer/rwkv-runner (RWKV-Runner is a self-hostable platform for running RWKV large), abetlen/llama-cpp-python (llama-cpp-python wraps llama) and optimalscale/lmflow (LMFlow is a self-hostable suite for fine-tuning and serving). sgl-project/sglang and arthur-ficial/apfel round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
我们为您精选了匹配 “open source openai alternatives” 的开源 GitHub 仓库。结果按与您查询的相关性进行排名 — 您可以使用下方筛选器缩小范围,或通过 AI 进行优化。
RWKV-Runner is a self-hostable platform for running RWKV large language models locally, featuring a chat interface and an OpenAI-compatible API, which directly fits the sought-after category—though it is limited to the RWKV architecture and lacks the multimodal vision support specified in the requirements.
llama-cpp-python provides a Python interface for the llama.cpp library, enabling the execution of large language models with hardware acceleration. It functions as a GGUF model loader and a structured text generator capable of running inference servers and multimodal runtimes for processing both text and image inputs. The project distinguishes itself through a local inference server that exposes model capabilities via an OpenAI-compatible web API. It supports advanced execution techniques including speculative decoding, weight quantization, and layer-based GPU offloading to manage memory acro
llama-cpp-python wraps llama.cpp into a Python library that provides a local inference server with an OpenAI-compatible API, making it a self-hostable replacement for OpenAI's chat and completion services with support for multimodal vision and LoRA-based fine-tuning.
LMFlow is a comprehensive suite for large language model fine-tuning, context extension, multimodal processing, and inference execution. It provides a toolkit for updating model parameters through full tuning or memory-efficient adapter algorithms, alongside an inference engine for executing tuned models via command-line or web-based interfaces. The framework includes a dedicated alignment suite for supervised tuning and reward model training to refine model behavior. It features a context window extender to increase maximum input lengths and a multimodal framework for building chatbots that
LMFlow is a self-hostable suite for fine-tuning and serving large language models that includes a web-based chat interface and multimodal processing, fitting your need for an open-source AI platform, though its API for completions is less emphasized than its training and alignment tools.
Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr
Sglang is a high-performance, self-hostable inference engine and serving system for LLMs and multimodal models, providing an OpenAI-compatible API and a programmable interface for chat and complex generation workflows, which directly matches the need for a self-hosted AI service replacement.
The free AI already on your Mac. CLI tool, OpenAI-compatible server, and interactive chat — all on-device via Apple Intelligence. No API keys, no cloud, no downloads.
apfel is an open-source, self-hostable LLM serving platform that provides an OpenAI-compatible API and interactive chat, all running on-device via Apple Intelligence — it fits the search for a self-hosted AI chatbot server, though it is limited to Apple Silicon and lacks fine-tuning and explicit multimodal support.
GLM-4 is a large language model and fine-tuning framework designed for human-like text production, complex reasoning, and multilingual conversation. It functions as a multimodal system capable of processing high-resolution visual content and as a long-context model designed to analyze documents with a context window of up to one million tokens. The project differentiates itself through a function calling interface that enables AI agent development by connecting the model to external APIs and real-time web browsing. It includes specialized capabilities for generating functional programming cod
GLM-4 is a large language model and fine-tuning framework with OpenAI-compatible APIs, multimodal (vision) support, and a long-context capability, making it a self-hostable solution for AI completions and chat that directly meets the visitor's requirements.
ds4 is a local inference engine for DeepSeek models that includes a distributed runtime for splitting transformer layers across networked computers. It functions as a reasoning controller with a local weight streamer and an API server that streams chat completions via industry standard endpoints. The system employs a memory management model that loads model experts from disk on demand to execute models that exceed available system RAM. It provides controls for reasoning effort and model behavior steering, allowing the modification of response characteristics through activation directions. Th
ds4 is a self-hostable local inference engine that serves LLM chat completions via an OpenAI-compatible API, making it a direct fit for replacing OpenAI's services, though it does not cover fine-tuning or multimodal vision.
This project is a comprehensive platform for hosting and interacting with large language models directly on local hardware. It provides a web-based graphical interface that allows users to manage model loading, configure generation parameters, and execute text or chat interactions entirely offline. By running models locally, the software ensures complete data privacy and eliminates reliance on external cloud services for generative tasks. Beyond basic inference, the platform functions as a versatile workbench for generative AI development. It includes an integrated pipeline for fine-tuning mo
This repository provides a self-hostable web interface and API for running large language models locally, covering chat, completions, and fine-tuning—though the given evidence does not explicitly confirm multimodal vision support, it remains a solid match for the core need.
Qwen is a comprehensive framework for large language model development, serving, and deployment. It provides a complete ecosystem for transformer-based sequence modeling, offering base models alongside specialized tools for instruction-tuned alignment, fine-tuning, and long-context inference. The project is designed to support both research and production environments, enabling users to train, optimize, and host generative models locally or across distributed hardware. The framework distinguishes itself through its focus on high-performance serving and extensibility. It features a high-perfor
Qwen is a comprehensive framework for developing, serving, and deploying large language models (including the popular Qwen family) that you can self-host, and it covers fine-tuning and long-context inference, though it does not explicitly advertise a built-in chat interface or multimodal support as a primary feature.
ChatGLM-6B is a generative AI inference engine designed for local execution of transformer-based language models. It provides a comprehensive runtime environment that allows users to load and run pre-trained neural network weights directly on their own hardware, ensuring data privacy and independence from external cloud services. The project distinguishes itself through a hardware-agnostic execution backend that supports deployment across diverse environments, including standard processors, Apple Silicon, and multi-GPU configurations. It incorporates advanced optimization techniques such as w
ChatGLM-6B is a self-hostable inference engine that runs transformer-based LLMs locally, providing chat interfaces, API endpoints, fine-tuning tools, and vision support, covering all the key features needed to replace OpenAI's services.
Ollama provides a framework for running and managing local machine learning models. It includes a command-line interface for model lifecycle management, such as creation, embedding generation, and configuration, alongside a stable API for programmatic interaction across multiple programming languages. The platform supports the import of models and adapters in various formats, including GGUF and Safetensors. Users can define custom model behaviors, prompt templates, and system messages through a configuration file format. It also offers tools for fine-tuning models with LoRA adapters and apply
Ollama is a self-hostable LLM serving platform with a built-in chat interface, a stable API for completions, LoRA-based fine-tuning, and support for multimodal vision models — directly matching what you're looking for.
Jan is a desktop application that functions as a local artificial intelligence model runtime and an open-standard API server. It enables the execution of large language models directly on local hardware, ensuring that data remains private and accessible offline while providing a unified interface for managing model weights and inference runtimes. The platform distinguishes itself by offering a modular inference backend that allows users to swap execution engines based on hardware compatibility and performance needs. It acts as a cross-platform orchestrator, providing the ability to switch bet
Jan is a desktop application that runs large language models locally with a built-in API server and chat interface, making it a self-hostable platform for replacing OpenAI's chat/completion API, though it does not currently advertise fine-tuning or multimodal support.
Oumi is a comprehensive large language model development platform designed for synthesizing data, fine-tuning models, and running performance evaluations. It serves as a unified environment for the entire model lifecycle, encompassing a training and fine-tuning suite, an evaluation framework, and tools for synthetic data generation and model distillation. The platform is distinguished by its iterative, failure-driven synthesis approach, which analyzes model weaknesses during evaluation to generate targeted training data. It utilizes an LLM-based judge framework to programmatically score respo
Oumi is a full-lifecycle LLM development platform that includes fine-tuning capabilities and an OpenAI-compatible inference server, making it suitable for self-hosted model serving and completions, though its primary focus on development rather than a dedicated chat interface means it may not be the most out-of-the-box replacement for a chatbot service.
GPT4All is a cross-platform runtime environment designed to execute large language models directly on local consumer hardware. By leveraging an optimized C++ inference backend, it enables private, offline AI interactions without requiring an internet connection or external cloud services. The project provides a comprehensive ecosystem for managing the entire model lifecycle, including discovery, downloading, and configuration of local weights. What distinguishes the platform is its integrated retrieval-augmented generation engine, which allows users to index local documents into semantic vect
GPT4All is a cross-platform runtime for running large language models locally with a chat interface and local document indexing, making it a solid self-hostable alternative to OpenAI's services, though it lacks built-in fine-tuning and multimodal support.
MLC LLM is a machine learning compiler and inference engine designed to execute large language models locally across diverse hardware platforms, including desktop, mobile, and web environments. By utilizing machine learning compilation, the project transforms high-level model definitions into specialized, hardware-specific binary libraries. This process optimizes model weights and generates compute kernels tailored to the unique memory and processing characteristics of target graphics and mobile hardware. The engine distinguishes itself by providing a unified runtime abstraction that enables
MLC LLM is an inference engine and compiler that lets you serve large language models locally on your own hardware, including via API servers, which directly matches the self-hostable LLM serving platform intent, though it does not include a built-in chat interface, fine-tuning, or multimodal support out of the box.
mistral.rs is an inference engine for large language models that runs locally and exposes models behind OpenAI and Anthropic-compatible APIs. It serves as a multi-model serving platform, capable of loading several models in a single server process with per-request routing and on-demand loading and unloading. The engine supports multimodal inference, processing text alongside images, video, audio, and speech inputs, and includes a quantized model deployment runtime that reduces memory use and speeds up inference on consumer hardware. The project distinguishes itself through an agentic tool exe
mistral.rs is a self-hostable inference engine that serves LLMs behind OpenAI-compatible APIs, supports multimodal inputs (images, video, audio), and can handle multiple models in one server — but its description does not mention fine-tuning, so it fits your core need for a local AI platform and API, though that feature isn't covered.
LiteRT-LM is a high-performance inference framework designed to execute large language models locally on mobile, desktop, and IoT hardware. It serves as an on-device model runtime that utilizes CPU, GPU, and NPU acceleration to provide low-latency processing. The framework is distinguished by its ability to process text, vision, and audio inputs through a single multi-modal inference engine. It features a local HTTP server that emulates OpenAI-compatible API endpoints and a WebGPU-based runtime for executing models directly within a web browser. To ensure output reliability, it includes a con
LiteRT-LM is an on-device inference framework that runs LLMs locally and provides an OpenAI-compatible API server with multimodal support, making it a strong self-hostable alternative for chat and completion endpoints, though fine-tuning is not covered in the evidence.
FastChat is a training and serving platform for large language models that provides an integrated toolkit for fine-tuning, hosting, and benchmarking chatbots. It functions as an inference server capable of hosting multiple models and exposing them via a standardized API for chat applications. The platform distinguishes itself through a distributed model controller that manages worker nodes and routes requests across a hardware-agnostic inference layer supporting various accelerators. It includes a dedicated evaluation framework for assessing model quality using automated judges, multi-turn di
FastChat is an open-source platform for training, serving, and evaluating large language models with a chat API, which directly matches your need for a self-hostable LLM serving platform, though it does not include built-in multimodal support for vision.
vLLM is a high-throughput inference engine designed for the efficient serving and execution of large language models. It functions as a production-ready distributed model server, providing standard API protocols for online serving while also supporting offline batch processing. The system is built to maximize token generation speed and memory efficiency, enabling both large-scale cloud deployments and local execution on personal hardware. The project distinguishes itself through advanced memory management and request scheduling techniques, most notably its use of non-contiguous key-value cach
vLLM is a production-grade inference engine for serving large language models via standard APIs, making it an excellent self-hostable backend for AI chat and completion services, though it focuses on inference and lacks a built-in chat interface or fine-tuning capabilities.
Text Generation Inference is a production-ready engine designed for the deployment and serving of large language models. It functions as a containerized runtime environment that manages model execution, scales across distributed hardware, and provides high-performance inference capabilities for demanding production environments. The project distinguishes itself through advanced optimization techniques, including continuous batching to maximize hardware utilization and tensor parallelism to shard large models across multiple accelerator cards. It supports efficient inference through custom com
Text Generation Inference (TGI) is a self-hostable, production-ready engine that serves large language models with a high-performance API compatible with chat completions, fitting the core need for an open-source LLM serving platform — though it lacks built-in fine-tuning and doesn't emphasize multimodal support.
This project provides a unified server environment and gateway for hosting and executing open-source large language models on private infrastructure. It functions as a standardized interface that exposes locally deployed models through widely-adopted API protocols, allowing existing applications to interact with them without requiring code modifications. The platform distinguishes itself by acting as a compatibility layer that translates standard REST requests into model-specific execution calls. It supports advanced interaction patterns including real-time token streaming, function calling f
This repository provides an OpenAI-compatible API server that supports a wide range of open-source large language models, making it a self-hostable LLM serving platform that directly addresses the need for an alternative to OpenAI's API, though it lacks a built-in chat interface and fine-tuning support.
| 仓库 | Star 数 | 语言 | 许可证 | 最后推送 |
|---|---|---|---|---|
| josstorer/rwkv-runner | 6.2K | TypeScript | mit | |
| abetlen/llama-cpp-python | 10K | Python | mit | |
| optimalscale/lmflow | 8.5K | Python | Apache-2.0 | |
| sgl-project/sglang | 29.1K | Python | Apache-2.0 | |
| arthur-ficial/apfel | 5.9K | Swift | MIT | |
| zai-org/glm-4 | 7.1K | Python | apache-2.0 | |
| antirez/ds4 | 15.1K | C | MIT | |
| oobabooga/text-generation-webui | 47.3K | Python | AGPL-3.0 | |
| qwenlm/qwen | 21.3K | Python | Apache-2.0 | |
| zai-org/chatglm-6b | 41K | Python | Apache-2.0 |