Alternatives
Products that do what Clai – OpenAI models brought to the terminal does
Supports text and image generation. For text generation you can query, chat or enter a glob + a query. For any of the commands xargs-like argument replacement can be used. It's written using only go's standard library (plus go experimental, within my boilerplate package)
- 1

- 2

- 3OC
Hey HN, I’ve built Open Codex, a fully local, open-source alternative to OpenAI’s Codex CLI. My initial plan was to fork their project and extend it. I even started doing that. But it turned out their code has several leaky abstractions, which made it hard to override core behavior cleanly. Shortly after, OpenAI introduced breaking changes. Maintaining my customizations on top became increasingly difficult. So I rewrote the whole thing from scratch using Python. My version is designed to support local LLMs. Right now, it only works with phi-4-mini (GGUF) via…
2025 · github.com
- 4

- 5

- 6

- 7

- 8

- 9

- 10

- 11

- 12OS
Hey everyone, We have been building SecureAI Tools -- an open-source application layer for ChatGPT and ChatPDF-like AI tools. It works with locally running LLMs as well as with OpenAI-compatible APIs. For local LLMs, it supports Ollama which supports all the gguf/ggml models. Currently, it has two features: Chat-with-LLM, and Chat-with-PDFs. It is optimized for self-hosting use cases and comes with basic user management features. Here are some quick demos: * Chat with documents using OpenAI's GPT3.5 model: https://www.youtube.com/watch?v=Br2D3G9O47s * Chat with documents…
2023 · github.com
- 13PR
2017 · github.com
- 14

- 15

- 16SO
We built SwiftAI, an open-source Swift library that lets you use Apple’s on-device LLMs when available (Apple opened access in June), and fall back to a cloud model when they aren’t available — all without duplicating code. SwiftAI gives you: - A single, model-agnostic API - An agent/tool loop - Strongly-typed structured outputs - Optional chat state Backstory: We started experimenting with Apple’s local models because they’re free (no API calls), private, and work offline. The problem: not all devices support them (older iPhones, Apple Intelligence disabled, low battery, etc.). That…
2025 · github.com
- 17

- 18

- 19

The power of Codex with local, self-hosted models and voice
Jul 2026 · opencodesuper.app
- 20CV
2025 · github.com
- 21OG
Your phone has a GPU more powerful than most 2018 laptops. Right now it sits idle while you pay monthly subscriptions to run AI on someone else's server, sending your conversations, your photos, your voice to companies whose privacy policy you've never read. Off Grid is an open-source app that puts that hardware to work. Text generation, image generation, vision AI, voice transcription — all running on your phone, all offline, nothing ever uploaded. That means you can use AI on a flight with no wifi. In a country with internet censorship. In a hospital where cloud services are a compliance…
Feb 2026 · github.com
- 22

Generate images in bulk using ChatGPT's new image model
2025
- 23

- 24

Ranked by how close each launch is in meaning, then by votes. Refine with a description →