7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

11 alternatives ranked by real activity

Open-source Google Gemini alternatives

A curated, ranked list of the 11 best open-source alternatives to Google Gemini.

The best open-source alternative to Google Gemini is Ollama. If that doesn't suit you, other good options are Open WebUI, LobeHub, AnythingLLM and LibreChat.

Google Gemini alternatives are mainly AI tools, but some are also AI infrastructure tools. 8 of them shipped code in the last 30 days, 11 can be self-hosted, and 6 use a permissive licence.

Last updated October 2, 2026 · ranked by GitHub stars, growth and recent commits

Ollama

A tool for downloading and running open large language models locally through a command line and REST API, with Docker support and many integrations.

GitHub stars
182k
Last commit
today
Latest release
v0.35.0
Licence
MIT
Self-hosted
Yes
ollama.comOllama homepage screenshot

Ollama makes it straightforward to run open large language models on your own machine. You install it on macOS, Windows or Linux, or use the official Docker image, then pull a model and chat with it from the command line. It is written in Go and released under the MIT license, and it builds on the llama.cpp project for inference.

Besides the CLI, Ollama provides a REST API for managing and running models, with official Python and JavaScript client libraries. Models can be imported and customized through a Modelfile, and an online library lists what is available. It can be connected to coding agents and assistants such as Claude Code, OpenCode, Codex and OpenClaw, and many community chat interfaces, including Open WebUI and LibreChat, work with it.

Because models run on your own hardware, Ollama can serve as a self-hosted alternative to cloud assistants such as ChatGPT and Perplexity when privacy, offline use or cost control matter. It is aimed at developers and hobbyists experimenting with open models, and at teams that want to wire local models into their own applications.

Key features

  • Run open language models locally from the CLI
  • REST API for managing and running models
  • Official Python and JavaScript libraries
  • Modelfile for customizing and importing models
  • Official Docker image
  • Integrations with coding agents and chat interfaces

Pricing: Running models locally is free, and the Free plan includes starter cloud credits. Pro costs $20, Max $100 and Team $500 per month with included usage credits; Enterprise is custom.

Read more about OllamaWebsite GitHub

Open WebUI

A self-hosted chat interface for local and cloud language models, supporting Ollama and OpenAI-compatible APIs, with RAG, user roles and a plugin system.

GitHub stars
154k
Last commit
yesterday
Latest release
v0.11.4
Self-hosted
Yes
openwebui.comOpen WebUI homepage screenshot

Open WebUI is a self-hosted web interface for working with large language models. It connects to Ollama for local models and to any OpenAI-compatible endpoint, so one deployment can front LM Studio, Groq, Mistral, OpenRouter, vLLM and similar backends side by side. It is designed to keep working fully offline when you rely only on local models.

Administrators get role-based access control with user groups and per-group permissions, which suits shared team or household installs. Beyond chat there is retrieval-augmented generation over your documents, custom models that bundle instructions, tools and knowledge into agents, and an extension system made of filters, actions, pipes, tools and skills. External services attach through MCP, MCPO and OpenAPI tool servers, and an optional Open Terminal feature gives agents a filesystem to work in.

You can install it with pip, uv or Docker, or deploy it to Kubernetes using kubectl, kustomize or Helm, and container images are tagged for bundled Ollama and for CUDA. The project lists an enterprise plan for organizations that want vendor support. Its license is listed as custom rather than a standard one, so review the terms before reselling or rebranding it.

Key features

  • Connects to Ollama and OpenAI-compatible APIs
  • Role-based access control with user groups
  • Retrieval-augmented generation over your own documents
  • Plugin system with filters, tools and pipes
  • MCP and OpenAPI tool server support
  • Custom agents combining models, tools and knowledge
  • Install via pip, Docker or Kubernetes

Pricing: Free to self-host; an enterprise plan is available through the vendor's sales team.

Read more about Open WebUIWebsite GitHub

LobeHub

An open-source platform that organizes AI agents into continuous operations, with options to self-host through Docker or major cloud platforms.

GitHub stars
83k
Last commit
today
Latest release
v2.2.18
Self-hosted
Yes
lobehub.comLobeHub homepage screenshot

LobeHub describes itself as a Chief Agent Operator that organizes your AI agents into around-the-clock operation. It is designed to take on the hiring, scheduling and reporting for a whole team of agents so that you stay in charge without having to stay online. The project is written in TypeScript, and its GitHub topics point to chat, agent, knowledge base and MCP functionality.

The README groups its features around four ideas: Operator, Create, Collaborate and Evolve, which cover treating agents as the unit of work, scaling new kinds of collaboration networks, and the co-evolution of humans and agents. A plugin ecosystem extends the platform, and the project's topics reference model providers such as OpenAI, Claude, Gemini and DeepSeek.

LobeHub can be self-hosted: the README documents deployment on Vercel, Zeabur, Sealos and Alibaba Cloud, as well as Docker, and describes the environment variables used for configuration. GitHub lists the license as 'Other', so check the repository for the exact terms. It suits individuals and teams who want to run a shared workspace of AI agents on infrastructure they choose.

Key features

  • Agents organized into continuous operations
  • Scheduling and reporting for agent teams
  • Knowledge base, skills and MCP support
  • Plugin ecosystem for extending agents
  • Docker and cloud platform deployment
  • Support for major model providers

Pricing: Free plan with 500,000 monthly credits. Starter costs $12.90, Premium $24.90 and Ultimate $49.90 per month billed monthly, or about $9.90, $19.90 and $39.90 billed yearly; Enterprise Edition is by contact.

Read more about LobeHubWebsite GitHub

AnythingLLM

An all-in-one AI application for chatting with your documents and running AI agents locally, with multi-user support and desktop and Docker versions.

GitHub stars
67k
Last commit
yesterday
Latest release
v1.17.0
Licence
MIT
Self-hosted
Yes
Hosted version
Available
anythingllm.comAnythingLLM homepage screenshot

AnythingLLM is an all-in-one AI application for chatting with your own documents and automating work with AI agents. It runs locally by default, lets you connect local or cloud language models, and is written in JavaScript under the MIT license. The README describes it as a way to build a private, fully featured assistant in the style of ChatGPT.

Vector databases, document processing pipelines, multi-user support and agents all come included. Newer features listed include dynamic model routing based on rules you define, automatic and user-managed memories, scheduled tasks with agent capabilities, skill selection, a no-code agent builder, MCP compatibility and multi-modal support for both closed and open-source models.

It is available as a desktop app for Mac, Windows and Linux, as a Docker version that adds multi-user access control, and as a hosted instance, and there is an open-source Android app. Administrators can control access and experience per user. It suits individuals and teams who want a private document-chat and agent workspace without much setup.

Key features

  • Chat with your documents using RAG
  • Built-in AI agents and no-code agent builder
  • Multi-user access control in Docker version
  • Connects to local or cloud LLMs
  • Vector database and document pipeline support
  • MCP compatibility and scheduled tasks
  • Desktop apps for Mac, Windows and Linux

Pricing: Self-hosting with Docker is free. Hosted Cloud costs $50 per month (Basic) or $99 per month (Pro); Enterprise with on-premise deployment is quoted on request.

Read more about AnythingLLMWebsite GitHub

LibreChat

A self-hostable, open-source ChatGPT-style chat interface that works with many AI providers and includes agents, MCP support, artifacts and multi-user auth.

GitHub stars
45k
Last commit
today
Licence
MIT
Self-hosted
Yes
librechat.aiLibreChat homepage screenshot

LibreChat is an open-source chat interface modeled on ChatGPT that you can self-host. It is written in TypeScript and released under the MIT license. Rather than being tied to one vendor, it connects to many providers, including OpenAI, Anthropic, Azure, AWS, Google Vertex AI and Gemini, Mistral, Groq, DeepSeek and OpenRouter, and lets you switch between models within a conversation.

Its feature set includes agents, MCP and skills, artifacts, a code interpreter, image generation, OpenAPI actions and functions, presets, message search and secure multi-user authentication. The recent README highlights an agent management API in beta, optional attached workspaces for code workers that are described as highly experimental, code approval controls, manual context compaction and unified file attachments.

Administrators can set role-based grants and approval modes for sensitive actions such as file writes and command execution. LibreChat suits individuals and organizations that want a private alternative to ChatGPT with a choice of models, and teams that need multi-user access control on infrastructure they manage.

Key features

  • Chat with many AI providers in one interface
  • Switch models within a conversation
  • Agents, skills and MCP support
  • Artifacts and code interpreter
  • Message search and presets
  • Secure multi-user authentication
  • Agent management API in beta

Pricing: Free and open source under the MIT license.

Read more about LibreChatWebsite GitHub

Jan

An open-source desktop app that acts as a ChatGPT replacement, running local language models offline or connecting to cloud providers, with an OpenAI-compatible local server.

GitHub stars
45k
Last commit
today
Latest release
v0.8.4
Self-hosted
Yes
jan.aiJan homepage screenshot

Jan is an open-source desktop application that serves as a ChatGPT alternative you control. It can download and run language models such as Llama, Gemma, Qwen and GPT-oss from Hugging Face entirely on your own computer, so conversations stay private and work without an internet connection.

When you want more capability than local hardware allows, Jan can connect to cloud models from OpenAI, Anthropic, Mistral, Groq, MiniMax and others from the same interface. You can create custom assistants for specific tasks, and Model Context Protocol support adds agentic abilities. A built-in local server on localhost port 1337 exposes an OpenAI-compatible API, so other applications can use your local models as a drop-in backend.

Jan is built with Rust and Tauri and ships installers for Windows, macOS and Linux in deb and AppImage form. Its license is listed as 'Other' on GitHub, so check the repository terms before redistributing it. It is meant for people who want local AI with a polished interface rather than a command line.

Key features

  • Download and run local LLMs from Hugging Face
  • Connect to OpenAI, Anthropic, Mistral and Groq
  • Custom assistants for specific tasks
  • OpenAI-compatible local server
  • Model Context Protocol integration
  • Installers for Windows, macOS and Linux

Pricing: Free and open source; running local models costs nothing beyond your own hardware, and cloud providers bill you separately.

Read more about JanWebsite GitHub

Chatbox

A desktop AI client for ChatGPT, Claude, Gemini, Ollama and other LLMs on Windows, Mac and Linux, open sourced as a community edition under GPLv3.

GitHub stars
42k
Last commit
8 days ago
Latest release
v1.23.5
Licence
GPL-3.0
chatboxai.appChatbox homepage screenshot

Chatbox is a desktop client for talking to ChatGPT, Claude and other large language models, available for Windows, Mac and Linux. This repository holds the Community Edition, which is published as open source under GPLv3, and the maintainers say they regularly sync code between it and their pro repository. It is written in TypeScript.

It works with multiple providers, including OpenAI, Azure OpenAI, Claude, Google Gemini and Ollama, which makes local models such as Llama, Mistral and Mixtral available, plus ChatGLM-6B, and it can generate images through DALL-E 3. Setup is a matter of downloading an installer, launching the app and entering your provider settings.

System requirements listed are Windows 10, macOS 11 on Intel or Apple Silicon, or Ubuntu 20.04 and compatible AppImage-capable distributions. Download links for iOS and Android, including an APK, are mentioned alongside the desktop builds. Chatbox suits people who want a single desktop front end for several AI services, using their own API keys or local models.

Key features

  • Desktop client for ChatGPT, Claude and Gemini
  • Local model access through Ollama
  • Azure OpenAI and ChatGLM support
  • Image generation with DALL-E 3
  • Windows, macOS and Linux installers
  • Community Edition under GPLv3

Pricing: A free plan covers light use. Chatbox AI Lite is $3.99, Pro $19.99 and Pro+ $39.99 per month, with lower annual-billing rates.

Read more about ChatboxWebsite GitHub

NextChat

NextChat is an open-source AI chat client for the web, desktop and mobile that connects to Claude, GPT, Gemini, DeepSeek and other model providers.

GitHub stars
89k
Last commit
1 mo ago
Latest release
v2.16.1
Licence
MIT
Self-hosted
Yes
Hosted version
Available
nextchat.clubNextChat homepage screenshot

NextChat is a lightweight AI chat assistant that works with several model providers, including Claude, GPT, Gemini and DeepSeek, and local runtimes such as Ollama. It is available as a web app and PWA, with desktop apps for Windows, macOS and Linux built using Tauri, and mobile apps. The code is written in TypeScript with Next.js and React, and it is released under the MIT license.

You can deploy your own instance, for example on Vercel, or use the hosted NextChatAI service, which the project describes as pay-as-you-go and not requiring your own API key. The README also notes support for the Model Context Protocol when an environment flag is set before building. An Enterprise Edition targets companies that need private deployment, brand customization, centralized management of AI resources, permission controls and integration of internal knowledge bases.

Key features

  • Chat with Claude, GPT, Gemini and DeepSeek
  • Web, PWA, desktop and mobile clients
  • Deploy your own instance on Vercel or Docker
  • Model Context Protocol support when enabled
  • Hosted NextChatAI option without own API key
  • Enterprise edition with admin and permission controls

Pricing: Open source under the MIT license; the hosted NextChatAI service is pay-as-you-go and an Enterprise Edition is available.

Read more about NextChatWebsite GitHub

Khoj

A self-hostable personal AI app that chats with local or cloud LLMs, answers from the web and your documents, builds custom agents and automates research.

GitHub stars
38k
Last commit
2 mo ago
Latest release
2.0.0-beta.28
Licence
AGPL-3.0
Self-hosted
Yes
Hosted version
Available
khoj.devKhoj homepage screenshot

Khoj is a personal AI app that you can run on your own machine or scale up to an enterprise cloud deployment. You can chat with local or online models, such as Llama, Qwen, Gemma, Mistral, GPT, Claude, Gemini and DeepSeek, and get answers drawn from the internet and from your own documents, including images, PDFs, Markdown, org-mode files, Word documents and Notion pages.

It can be reached from a browser, Obsidian, Emacs, a desktop app, a phone or WhatsApp. Users create agents with their own knowledge, persona, chat model and tools, set up automations that deliver personal newsletters and smart notifications by email, and use advanced semantic search to find relevant documents. It can also generate images and speak responses aloud. The README highlights benchmark results for retrieval and reasoning and introduces Pipali, a separate open-source AI coworker for your own computer.

Khoj is written in Python and licensed under AGPL-3.0. You can self-host it, with offline models via llama.cpp, or use the hosted app. It suits individuals and teams who want an AI assistant grounded in their notes and files while keeping a choice of model.

Key features

  • Chat with local or online LLMs
  • Answers from the web and your documents
  • Access from Obsidian, Emacs, WhatsApp and browser
  • Custom agents with their own knowledge and tools
  • Scheduled automations and newsletters
  • Semantic search over personal documents
Read more about KhojWebsite GitHub

Big-AGI

Big-AGI is an open-source, multi-model AI chat workspace with Beam for comparing models, personas, voice, image generation and PDF import.

GitHub stars
7.1k
Last commit
today
Latest release
v2.1.0
Licence
MIT
Self-hosted
Yes
Hosted version
Available
big-agi.comBig-AGI homepage screenshot

Big-AGI is a multi-model AI workspace aimed at engineers, founders and researchers who want to use several AI models from one interface. This repository is the open-source foundation of the product, and it can be deployed on your own infrastructure or in the cloud.

Its main feature is Beam, which sends a question to multiple models and merges the answers, with the aim of reducing hallucinations. Further capabilities include AI personas, native search, image generation from text, voice, streamed responses, code highlighting and execution, PDF import and developer presets. Repository topics show connections to APIs from OpenAI, Anthropic, Gemini, DeepSeek, Perplexity and xAI.

Big-AGI is written in TypeScript and licensed under MIT. The project describes itself as independent and not venture-funded, with a Pro subscription at $10.99 per month that pays for development, which also benefits the free and open-source tiers.

Key features

  • Beam multi-model chat and merge
  • AI personas
  • Native search
  • Text-to-image and voice
  • Code highlighting and execution
  • PDF import
  • Presets for developers

Pricing: Open-source and hosted Free tiers cost nothing. Pro is $9 per month billed as $108 per year and adds cloud backup and sync; Business is quoted on request.

Read more about Big-AGIWebsite GitHub

1 more Google Gemini alternative

Google Gemini alternatives: questions

What is the best open-source alternative to Google Gemini?
Ollama is the top-ranked open-source alternative to Google Gemini on Enlisted: A tool for downloading and running open large language models locally through a command line and REST API, with Docker support and many integrations. Other strong options are Open WebUI, LobeHub, AnythingLLM and LibreChat.
Are these Google Gemini alternatives free?
All 11 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 4 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Google Gemini alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 8 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all