Claude Code usage

Klaatcode

Open-source AI coding agent for the terminal. Claude Code-grade accuracy with smart model routing — uses the right AI model for each task, cutting costs 10x. Supports Claude, GPT, Gemini, DeepSeek & more.

353 stars 134 forksUsage & cost trackers Source

Install

Install
npm install -g klaatcode

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/KlaatAI/klaatcode.git

From the README

Klaat Code

  The terminal-native AI coding agent, powered by Klaatu smart model routing.
  Claude Code-grade accuracy, at a fraction of the cost — and it's reproducible, not a marketing claim.

What is KlaatAI?

KlaatAI is an AI platform built around Klaatu-o1, a small, fast, agentic router model. Instead of sending every request to one large, expensive model, Klaatu-o1 reads what you're asking, decides which model tier actually needs to handle it, and dispatches accordingly — automatically, per request. Three products sit on top of it: KlaatAI Web Chat (browser), Klaat Code (this CLI), and the KlaatAI API for developers building on the same router directly.

What is Klaatu?

Klaatu is the routing brain — a hosted service, not something that runs on your machine. Every message you send from Klaat Code goes to Klaatu, which classifies it and routes it through one of six cost tiers (nano → fast → code → reason → heavy → titan), escalating automatically when a task turns out harder than it looked, and never charging you frontier prices for a trivial turn. Tool calls inside a single request — reads, edits, shell commands, searches — are free; only your messages count against quota. This is also the architectural reason Klaat Code can be open source without giving away the thing that makes it good: the client is a thin terminal to a service, the same relationship gh has to GitHub. The intelligence — routing decisions, model health tracking, pricing, the code-graph index — lives server-side, at klaatai.com.

What is Klaat Code, and how is it different?

Klaat Code is this repo: a terminal-native coding agent you install once and run in any project. It reads your code, edits files, runs commands, and verifies its own work — asking permission before anything risky.…
Read the full README on GitHub

Details

Language
TypeScript
Last updated
16 September 2026
Topics
agentic-aiaiai-agentsai-codingai-modelai-toolsartificial-intelligencecalude-codeclaudeclicode-generationcoding-agent

FAQ

What is Klaatcode?

Open-source AI coding agent for the terminal. Claude Code-grade accuracy with smart model routing — uses the right AI model for each task, cutting costs 10x. Supports Claude, GPT, Gemini, DeepSeek & more. It is a usage for Claude Code, from KlaatAI/klaatcode on GitHub.

How do I install Klaatcode?

Run npm install -g klaatcode, then follow the setup in the README.

Is Klaatcode popular?

KlaatAI/klaatcode has 353 GitHub stars and 134 forks. It was last updated on 16 September 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.