awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

开源 OpenAI 替代方案

排名更新于 2026年6月30日

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 进行优化。

开源 OpenAI 替代方案

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • josstorer/rwkv-runnerjosStorer 的头像

    josStorer/RWKV-Runner

    6,219在 GitHub 上查看↗

    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.

    TypeScriptOpenAI-CompatibleOpenAI-Compatible ServersLoRA Training
    在 GitHub 上查看↗6,219
  • abetlen/llama-cpp-pythonabetlen 的头像

    abetlen/llama-cpp-python

    9,993在 GitHub 上查看↗

    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.

    PythonOpenAI-Compatible Inference ServersOpenAI-Compatible Servers
    在 GitHub 上查看↗9,993
  • optimalscale/lmflowOptimalScale 的头像

    OptimalScale/LMFlow

    8,488在 GitHub 上查看↗

    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.

    PythonModel Fine-TuningParameter-Efficient Training Toolkits
    在 GitHub 上查看↗8,488
  • sgl-project/sglangsgl-project 的头像

    sgl-project/sglang

    29,079在 GitHub 上查看↗

    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.

    PythonOpenAI-Compatible APIsVision-Language ModelsModel Adapters
    在 GitHub 上查看↗29,079
  • arthur-ficial/apfelArthur-Ficial 的头像

    Arthur-Ficial/apfel

    5,856在 GitHub 上查看↗

    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.

    SwiftOpenAI-Compatible API ServersOpenAI-Compatible Servers
    在 GitHub 上查看↗5,856
  • zai-org/glm-4zai-org 的头像

    zai-org/GLM-4

    7,058在 GitHub 上查看↗

    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.

    PythonModel Fine-TuningMultimodal Large Language ModelsOpenAI-Compatible APIs
    在 GitHub 上查看↗7,058
  • antirez/ds4antirez 的头像

    antirez/ds4

    15,143在 GitHub 上查看↗

    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.

    COpenAI-Compatible API ServersOpenAI-Compatible Servers
    在 GitHub 上查看↗15,143
  • oobabooga/text-generation-webuioobabooga 的头像

    oobabooga/text-generation-webui

    47,323在 GitHub 上查看↗

    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.

    PythonModel Fine-TuningConversational Interfaces
    在 GitHub 上查看↗47,323
  • qwenlm/qwenQwenLM 的头像

    QwenLM/Qwen

    21,294在 GitHub 上查看↗

    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.

    PythonModel Fine-TuningOpenAI-Compatible APIs
    在 GitHub 上查看↗21,294
  • zai-org/chatglm-6bzai-org 的头像

    zai-org/ChatGLM-6B

    41,039在 GitHub 上查看↗

    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.

    PythonAutoregressive Inference EnginesLocal Inference EnginesModel Runtimes
    在 GitHub 上查看↗41,039
  • ollama/ollamaollama 的头像

    ollama/ollama

    174,300在 GitHub 上查看↗

    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.

    GoAI Integration APIsAI Agent FrameworksAI and Machine Learning
    在 GitHub 上查看↗174,300
  • janhq/janjanhq 的头像

    janhq/jan

    43,043在 GitHub 上查看↗

    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.

    TypeScriptOpenAI-Compatible Servers
    在 GitHub 上查看↗43,043
  • oumi-ai/oumioumi-ai 的头像

    oumi-ai/oumi

    8,858在 GitHub 上查看↗

    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.

    PythonModel Fine-TuningOpenAI-Compatible Inference ServersPrivate AI Deployments
    在 GitHub 上查看↗8,858
  • nomic-ai/gpt4allnomic-ai 的头像

    nomic-ai/gpt4all

    77,375在 GitHub 上查看↗

    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.

    C++OpenAI-CompatibleOpenAI-Compatible APIs
    在 GitHub 上查看↗77,375
  • mlc-ai/mlc-llmmlc-ai 的头像

    mlc-ai/mlc-llm

    22,057在 GitHub 上查看↗

    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.

    PythonOpenAI-Compatible APIs
    在 GitHub 上查看↗22,057
  • ericlbuehler/mistral.rsEricLBuehler 的头像

    EricLBuehler/mistral.rs

    6,597在 GitHub 上查看↗

    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.

    RustOpenAI-CompatibleOpenAI-Compatible APIsOpenAI-Compatible Servers
    在 GitHub 上查看↗6,597
  • google-ai-edge/litert-lmgoogle-ai-edge 的头像

    google-ai-edge/LiteRT-LM

    5,619在 GitHub 上查看↗

    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.

    C++OpenAI-Compatible API ServersOpenAI-Compatible Servers
    在 GitHub 上查看↗5,619
  • lm-sys/fastchatlm-sys 的头像

    lm-sys/FastChat

    39,472在 GitHub 上查看↗

    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.

    PythonOpenAI-Compatible APIs
    在 GitHub 上查看↗39,472
  • vllm-project/vllmvllm-project 的头像

    vllm-project/vllm

    83,048在 GitHub 上查看↗

    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.

    PythonContinuous Batching StrategiesCustom Model Execution EnginesDistributed Model Servers
    在 GitHub 上查看↗83,048
  • huggingface/text-generation-inferencehuggingface 的头像

    huggingface/text-generation-inference

    10,775在 GitHub 上查看↗

    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.

    PythonModel ServingContinuous Batching StrategiesLarge Language Model Runtimes
    在 GitHub 上查看↗10,775
  • xusenlinzy/api-for-open-llmxusenlinzy 的头像

    xusenlinzy/api-for-open-llm

    2,460在 GitHub 上查看↗

    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.

    PythonOpenAI-Compatible API Servers
    在 GitHub 上查看↗2,460
一览前 10 名对比
仓库Star 数语言许可证最后推送
josstorer/rwkv-runner6.2KTypeScriptmit2026年2月18日
abetlen/llama-cpp-python10KPythonmit2025年8月15日
optimalscale/lmflow8.5KPythonApache-2.02026年5月22日
sgl-project/sglang29.1KPythonApache-2.02026年6月16日
arthur-ficial/apfel5.9KSwiftMIT2026年6月23日
zai-org/glm-47.1KPythonapache-2.02025年7月4日
antirez/ds415.1KCMIT2026年6月17日
oobabooga/text-generation-webui47.3KPythonAGPL-3.02026年6月2日
qwenlm/qwen21.3KPythonApache-2.02026年3月5日
zai-org/chatglm-6b41KPythonApache-2.02024年6月27日

Related searches

  • 开源 LLM 交互界面
  • 开源机器学习框架
  • 用于本地部署的开源模型
  • an open source engine for local LLMs
  • 本地 LLM 运行平台
  • 用于本地 LLM 的开源平台
  • 自托管的 ChatGPT 替代方案
  • 用于本地运行 LLM 的开源框架