Skip to content
Is there an AI for this?

Alternatives

Self-hosted alternatives to Gemini API

Projects in the registry that can run on your own hardware and serve at least one of the same use cases as Gemini API.

Source
Registry relations over fetched repository records — the evidence sits on each repository page
Verified
Evidence not verified
Confidence
High

01How this list was built

Compared against
Gemini API
Delivery
Cloud platforms
Shared use cases
Choosing a model, Email drafting, Document Q&A, Translation, Agent workflow
Selection rule
open source, or self-hostable, and shares a use case
Candidates found
13

02Alternatives

13
  • AnythingLLM

    Hybrid — hosted or self-hosted

    Desktop and server application that turns a document set into a chat workspace, with per-workspace embeddings, multiple model back ends and a built-in vector store.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Document qa

  • Chroma

    Hybrid — hosted or self-hosted

    Embedded and server-mode vector store with a small API surface, often used for prototypes and single-node retrieval before a larger engine is justified.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Document qa

  • Dify

    Hybrid — hosted or self-hosted

    Platform for building LLM applications: visual workflow editor, retrieval pipelines, agent tools, prompt management and an API layer. Available self-hosted or as a managed cloud service.

    Repository
    langgenius/dify
    Stars
    153,448
    Licence
    Other
    In stacks
    1

    Shares: Document qa

  • Docling

    Libraries

    Document conversion toolkit that parses PDF, Office and image files into structured Markdown or JSON, preserving reading order, tables and figures for downstream retrieval.

    Stars
    65,519
    Licence
    MIT
    In stacks
    5

    Shares: Document qa

  • Flowise

    Hybrid — hosted or self-hosted

    Visual builder for LLM chains and agents, with retrieval nodes, tool calling and an API or embeddable chat widget for the finished flow.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Document qa

  • Jan

    Hybrid — hosted or self-hosted

    Open-source desktop assistant that runs open-weight models locally and can also call remote endpoints. The open alternative to LM Studio for a single-machine deployment.

    Repository
    janhq/jan
    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Document qa

  • Kotaemon

    Self-hosted projects

    Document question-answering application with a configurable retrieval pipeline, inline citations that highlight the source passage, and support for local or hosted models.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Document qa

  • LangChain

    Frameworks

    Library for composing model calls, retrieval and tools into applications, with adapters for most providers and vector stores. A building block, not a deployable product.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Document qa

  • Langflow

    Hybrid — hosted or self-hosted

    Visual environment for composing LLM pipelines and agents from components, with export to a Python application or an API endpoint.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Document qa

  • LangGraph

    Frameworks

    Graph-structured agent framework with explicit state, checkpoints and interrupts — the mechanism behind a human approval step rather than a prompt asking for one.

    Stars
    Licence
    unknown
    In stacks
    1

    Shares: Agent workflow

  • LibreChat

    Self-hosted projects

    Self-hosted multi-model chat application with authentication, per-conversation model switching, plugins, file upload and an admin configuration file. Familiar interface for staff moving off consumer tools.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Email drafting · Document qa

  • LlamaIndex

    Frameworks

    Data framework for retrieval applications: loaders for many document types, indexing and query pipelines, and evaluation helpers for retrieval quality.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Document qa

  • LMDeploy

    Model servers

    Serving toolkit from the InternLM team with its own inference engine and quantisation tooling, and strong coverage of Chinese open-weight model families.

    Stars
    Licence
    unknown
    In stacks
    0

    Shares: Translation


03Repository facts

RepositoryStarsHealth
Mintplex-Labs/anything-llmHealth not measuredunknown
chroma-core/chromaHealth not measuredunknown
langgenius/difyBuild Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.153kMaintenance 100%, Releases 60%, Contributors 50%, Issues 94%, Community 100%84
docling-project/doclingGet your documents ready for gen AI66kMaintenance 100%, Releases 80%, Contributors 50%, Issues 85%, Community 96%86
FlowiseAI/FlowiseHealth not measuredunknown
janhq/janHealth not measuredunknown
Cinnamon/kotaemonHealth not measuredunknown
langchain-ai/langchainHealth not measuredunknown
langflow-ai/langflowHealth not measuredunknown
langchain-ai/langgraphHealth not measuredunknown
danny-avila/LibreChatHealth not measuredunknown
run-llama/llama_indexHealth not measuredunknown
InternLM/lmdeployHealth not measuredunknown

04Ask about your own case

Which alternative is right depends on how many people will use it, what the data is and what you can operate. Ask and the answer is researched for your organisation.

  1. 01What is a self-hosted alternative to Gemini API that we can run ourselves?