AllYourBot/hostedgpt

An open version of ChatGPT you can host anywhere or run locally.

What it solves

HostedGPT provides a free, open-source alternative to ChatGPT that allows users to run their own AI chat interface on their own server or local machine. It eliminates the need for multiple monthly subscriptions to different AI providers by allowing users to "bring your own API keys," paying only for the actual usage of models from providers like OpenAI, Anthropic, Google, Llama, and Groq.

How it works

Built as a Ruby on Rails application, HostedGPT acts as a frontend and management layer for various LLM APIs. Users can deploy it via Docker, Render, Fly.io, Heroku, or on a private server. The app allows users to switch between different models mid-conversation to compare results and supports integration with external tools like the Brave Search API for web searches and Google OAuth for interacting with Gmail and Google Tasks.

Who it’s for

It is designed for individuals who want a polished, mobile-supported chat interface without paying recurring subscription fees, as well as developers who want to host their own AI assistant infrastructure.

Highlights

  • Multi-provider support: Access models from OpenAI, Anthropic, Google, Llama, and Groq in one place.
  • Cost efficiency: Pay-as-you-go via API keys instead of flat monthly subscriptions.
  • Model comparison: Ability to switch providers and models during a single conversation.
  • Tool integrations: Support for web searches via Brave Search and experimental integration with Google Gmail and Tasks.
  • Searchable history: Ability to search and share conversations across different providers.

Related

  • Project
  • Project
  • Project
  • Project
  • Project