Your keys. Every AI model. One terminal.
kunji is a free, open-source chat app for your terminal. Bring your own API key from any provider, switch models mid-conversation, and see what every reply costs.
pip install kunji
If pip isn't found, use python -m pip install kunji.
No Python on Windows? Download kunji.exe
Version 0.1.2 Free and open source Windows, macOS, Linux
Made for people who use more than one model
You already pay OpenAI, Anthropic or Google directly. kunji puts all of them behind one clean prompt, and keeps you in control of the bill.
- Switch models without losing the thread
- Type
/model groq:llama-3.3-70b-versatileand keep talking. The conversation carries over. - See the cost of every reply
- Tokens and price under each answer,
/costfor the session,kunji usagefor the week. In your currency, including ₹. - Daily budgets
- Set a limit per provider or overall. kunji warns at 80% and stops at 100%, so a long night never turns into a surprise bill.
- Compare models side by side
kunji compare "…"sends one prompt to several models at once and shows which was fastest and cheapest.- Saved prompts
kunji @commitwrites a commit message from your staged changes.@explain,@reviewand@translateare built in, and you can add your own.- Chats you can come back to
- Every conversation is saved on your computer. Continue the last one with
kunji chat -c, or search them all.
Ten providers, plus any compatible server
Run local models with Ollama for free, or add LM Studio, vLLM or your own proxy with one command.
OpenAI, Anthropic, Google Gemini, Groq, OpenRouter, DeepSeek, Mistral, xAI, Together AI, Ollama and your own OpenAI-compatible server.
Your keys never leave your machine
Keys are stored in Windows Credential Manager, macOS Keychain or Linux Secret Service, never in a text file. Your prompts go straight to the provider you chose. kunji has no server in between.
| What | Where it goes | Can you turn it off? |
|---|---|---|
| Your API keys | Only to that key's own provider | — |
| Your prompts and answers | Only between you and the provider | — |
| Usage, chats and costs | Stay on your computer | Delete them any time |
| Price list and version check | Public downloads, nothing about you is sent | Yes, one setting each |
| Anything to kunji servers | Never | — |
Start in a minute
Needs Python 3.11 or newer. Full guide: installation docs.
Install
Works on Windows, macOS and Linux. If
pipisn't found, runpython -m pip install kunji.pip install kunji
Open kunji
The menu helps you add a key. kunji checks it works, then keeps it in your OS keychain.
kunji
Chat
Pick Start a new chat. Type
/to see every command.› hello
Free, open source, and yours.
Read the docs, or star kunji on GitHub to follow what's next.