cai - The fastest CLI tool for prompting LLMs
Features
- Build with Rust 🦀 for supreme performance and speed! 🏎️
- Support for models by Groq, OpenAI, Anthropic, and local LLMs. 📚
- Prompt several models at once. 🤼

- Syntax highlighting for better readability of code snippets. 🌈
Demo

Installation
Usage
Before using Cai, an API key must be set up.
Simply execute cai in your terminal and follow the instructions.
Cai supports the following APIs:
- Groq - Create new API key.
- OpenAI - Create new API key.
- Anthropic - Create new API key.
- localhost:8080 - Any OpenAI API compatible local server (E.g. llamafile)
Afterwards, you can use cai to run prompts directly from the terminal:
Or a specific model, like Anthropic's Claude Opus:
For more information, run: