AI Coding CLI Comparison

Side-by-side comparison of 27 AI coding command-line tools: model backend, local execution, pricing model and context window, to help you pick by need.

ToolModel BackendLocal RunPricingContext WindowOpen SourceHighlightsView Cheatsheet
Claude CodeAnthropic ClaudeNo (cloud)Free to use (needs subscription / key)200KNoAgentic coding with native Claude tool use and sub-agentsView Cheatsheet
Codex CLIOpenAI CodexNo (cloud)Free to use (needs subscription / key)200KNoCloud sandboxed execution, PR automation and multimodal inputView Cheatsheet
Gemini CLIGoogle GeminiNo (cloud)Free to use (needs subscription / key)1MYesNative 1M context with a generous free tierView Cheatsheet
CursorMulti-model (OpenAI / Claude / etc.)No (cloud)Free tier + paid plans200KNoDeep IDE integration with Tab completions and agent modeView Cheatsheet
AiderMulti-model (OpenAI / Claude / local)Local-capable (local models)Free / OSS (bring your key)Depends on modelYesTerminal pair-programming with native Git repo awarenessView Cheatsheet
OpenCodeMulti-modelLocal-capable (local models)Free / OSS (bring your key)Depends on modelYesTerminal-native and fully self-hostableView Cheatsheet
GooseMulti-model (Block ecosystem)Local-capable (local models)Free / OSS (bring your key)Depends on modelYesLocal agentic with pluggable MCP extensionsView Cheatsheet
OpenHandsMulti-modelLocal-capable (local models)Free / OSS (bring your key)Depends on modelYesAutonomous software-engineering agent, cloud or localView Cheatsheet
ClineMulti-model (VS Code extension)Local-capable (local models)Free / OSS (bring your key)Depends on modelYesIn-editor VS Code agent with per-step confirmation and budget controlView Cheatsheet
OllamaLocal models (Llama / etc.)Yes (fully local)Free / OSS (bring your key)Set by local modelYesOne command to run local models with an OpenAI-compatible APIView Cheatsheet
Qwen CodeAlibaba QwenNo (cloud)Free to use (needs subscription / key)128KYesAlibaba Qwen ecosystem with long context and strong Chinese supportView Cheatsheet
GitHub CopilotGitHub (OpenAI / etc.)No (cloud)Free tier + paid plans128KNoNative GitHub integration with workflows and PRsView Cheatsheet
Amazon QAWS (Bedrock models)No (cloud)Free tier + paid plansDepends on modelNoAWS-native with enterprise and infrastructure awarenessView Cheatsheet
AmpMulti-model (Sourcegraph)No (cloud)Free tier + paid plansDepends on modelNoResearch-oriented coding agent (Sourcegraph)View Cheatsheet
LiteLLMMulti-model proxy (LLM gateway)Yes (fully local)Free / OSS (bring your key)Depends on modelYesUnified multi-model gateway with OpenAI-compatible APIView Cheatsheet
vLLMLocal inference engineYes (fully local)Free / OSS (bring your key)Set by local modelYesHigh-performance local inference with high-throughput batchingView Cheatsheet
llamafileLocal models (Mozilla)Yes (fully local)Free / OSS (bring your key)Set by local modelYesDistribute local models as a single file with zero dependenciesView Cheatsheet
ContinueMulti-model (Continue.dev)Local-capable (local models)Free / OSS (bring your key)Depends on modelYesOpen-source AI coding assistant, self-hostable inside the IDEView Cheatsheet
Hermes AgentNous Hermes (multi-backend)Local-capable (local models)Free / OSS (bring your key)Depends on backendYesTerminal multi-backend agent with gateway and guided setupView Cheatsheet
Kilo CodeMulti-model (Kilo Code)Local-capable (local models)Free tier + paid plansDepends on modelYesAutonomous coding agent as a VS Code extensionView Cheatsheet
PiMulti-model (earendil)Local-capable (local models)Free / OSS (bring your key)Depends on modelYesLightweight terminal coding agent with interactive planningView Cheatsheet
Kimi CLIMoonshot KimiNo (cloud)Free to use (needs subscription / key)128KYesLong context with strong Chinese support in the Moonshot ecosystemView Cheatsheet
Grok CLIxAI GrokNo (cloud)Free to use (needs subscription / key)128KYesxAI real-time knowledge wired into the X ecosystemView Cheatsheet
WarpMulti-model (Warp terminal)No (cloud)Free tier + paid plansDepends on modelNoAI-native terminal with Agent mode and command predictionView Cheatsheet
CrushMulti-model (Charm)Local-capable (local models)Free / OSS (bring your key)Depends on modelYesTerminal TUI agent from CharmView Cheatsheet
AntigravityGoogle GeminiNo (cloud)Free to use (needs subscription / key)1MNoGoogle cloud IDE agent with plan-driven codingView Cheatsheet
PlandexMulti-model (Plandex)Local-capable (local models)Free / OSS (bring your key)Depends on modelYesLong-horizon plan-driven coding with session-based change managementView Cheatsheet

Context window and pricing vary by model / plan; the official docs of each tool are authoritative. Values here are common defaults. Open "View Cheatsheet" to verify sources.