Skip to content

Command reference

Run kunji on its own to open the interactive menu. Every action in the menu is also a command, listed below. Add --help to any command to see its options in the terminal.

Command What it does
kunji chat Chat with any AI model in your terminal using your own API key.
kunji ask Ask an AI model one question from the terminal, with pipes and file attachments.
kunji compare Send one prompt to several AI models and compare speed, cost and answers.
kunji @name Run a saved prompt, e.g. kunji @commit
kunji keys Add, list, test and remove AI provider API keys stored in your OS keychain.
kunji models List the models an AI provider offers, with prices.
kunji use Set the default AI model kunji uses.
kunji providers Supported AI providers and custom OpenAI-compatible servers.
kunji prompts Saved prompts you run with kunji @name.
kunji history List, search, show, export and delete saved chats.
kunji usage See tokens and cost per AI model.
kunji budget Set daily spending limits for AI providers.
kunji config View and change kunji settings.
kunji upgrade Upgrade kunji to the newest version.
kunji doctor Check that kunji, your keychain and your providers are working.
kunji version Show the kunji version and system details.

Inside a chat you can also type slash commands; see Chat commands.