opencodex lets ChatGPT Desktop run local and third-party LLMs via local proxy

A open-source tool called opencodex enables the ChatGPT Desktop app to communicate with non-OpenAI language models, including locally hosted ones like Qwen and GLM, by acting as a local proxy. It works by redirecting the app's API requests through a locally running server at 127.0.0.1:10100, without modifying or forking the ChatGPT Desktop application itself. The tool supports over 40 providers, including Anthropic, Google Gemini, Ollama, vLLM, and LM Studio, as well as any endpoint compatible with the OpenAI or Anthropic API. Installation requires only two npm commands and Node.js 18 or higher, with the Bun runtime bundled automatically. Because opencodex operates as a proxy rather than a fork, it remains functional across ChatGPT Desktop updates, making it resilient to upstream changes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in