Why you probably need it
If you want one CLI that works with OpenAI, Claude, Gemini and more, AIChat lets you switch models and manage conversations from the terminal.
Quick facts
- Free (bring your own API key)
- Mac, Windows, Linux
- Open source
- AI coding
About AIChat
AiChat is a command-line AI assistant that works with multiple LLM providers including OpenAI, Claude, Gemini and local models. It supports interactive chat, single-shot prompts, piping input from other commands and custom roles. Configuration is done through a simple YAML file, and you can switch between providers on the fly.
Pros & cons
- Works with many LLM providers
- Pipe-friendly for shell scripting
- Simple YAML configuration
- CLI only — no visual interface
- Setup required for each provider
- No IDE integration
Frequently asked questions
Is AIChat free?
Yes, there's a free way to use AIChat. In short: Free (bring your own API key).
It's open source, so the core of it isn't going anywhere behind a paywall.
Prices and plan limits change, so check github.com for what's included today.
What are some alternatives to AIChat?
Here are other AI coding tools worth a look, depending on what you need:
- Aider: AI pair programming in your terminal, with every change committed to Git.
- Claude Code: An AI coding agent that works in your terminal and editor.
- Codex CLI: OpenAI's lightweight coding agent that runs in your terminal.
- Goose: An open-source AI developer agent that runs in your terminal.
You can compare all 10 on the AI coding tools page.
Is AIChat open source?
Yes. AIChat is open source, and its code is on GitHub at github.com/sigoden/aichat. That means anyone can read the code, report bugs and suggest changes, so you can check how it works instead of taking the maker's word for it.
You might also need
Aider AI coding AI pair programming in your terminal, with every change committed to Git. Open source Free Maker of AIChat? Claim this page