Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SkillBoss-AI/cheapercc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

CheaperCC

Open-source Multi-LLM CLI

Switch between 100+ AI models anytime. Use cheap models for simple tasks, smart models for complex ones. 95% cost savings, zero vendor lock-in.


๐Ÿš€ Quick Start

# Install
npm install -g cheapercc
# Setup
cc setup
# Start using
cc ask "Hello!"
cc # Interactive chat

๐Ÿ’ก Why CheaperCC?

Model Freedom

  • ๐Ÿ”“ Switch between 100+ models anytime
  • ๐Ÿ’ฐ Use cheap models (0ใƒ‰ใƒซ.14/1M) for simple tasks
  • ๐Ÿง  Use smart models (3ใƒ‰ใƒซ/1M) for complex tasks
  • ๐ŸŒ Access Chinese LLMs (Kimi, DeepSeek, MiniMax) + Western (GPT, Claude, Gemini)

One API Key, Everything

  • โšก 18 providers, 100+ models
  • ๐ŸŽจ Beyond text: Images (Imagen-4), Video (Sora), Audio (ElevenLabs)
  • ๐Ÿ“ฆ Open source MIT license
  • ๐Ÿš€ Pay-per-use, no subscriptions

๐Ÿ”‘ Powered by SkillBoss

SkillBoss (https://skillboss.co) makes this possible:

  • One API key โ†’ 100+ models: Claude, GPT-5, DeepSeek, Gemini, and more
  • Beyond text: Image generation (DALL-E, Midjourney), video (Sora), audio (ElevenLabs)
  • Simple pricing: Pay only for what you use, often cheaper than direct APIs
  • No setup headache: One key replaces 18 different API keys

Get your key: https://skillboss.co/console


๐Ÿ’ฐ Cost Examples

Model Input (1M tokens) Output (1M tokens) Best For
Kimi 0ใƒ‰ใƒซ.07 0ใƒ‰ใƒซ.14 Chinese content, cheap tasks
DeepSeek 0ใƒ‰ใƒซ.14 0ใƒ‰ใƒซ.28 Code, debugging, refactoring
GPT-4 2ใƒ‰ใƒซ.50 10ใƒ‰ใƒซ.00 General tasks
Claude 3ใƒ‰ใƒซ.00 15ใƒ‰ใƒซ.00 Complex reasoning, architecture

Use expensive models when you need them. Use cheap models when you don't.


๐Ÿ“‹ Supported Providers

๐Ÿฅ‡ Recommended: SkillBoss

One API key for everything

cc ask -m anthropic/claude-3.7-sonnet "..."
cc ask -m openai/gpt-5 "..."
cc ask -m deepseek/deepseek-r1 "..."

๐Ÿ‡บ๐Ÿ‡ธ US Providers

  • OpenAI - GPT-4, GPT-5
  • Anthropic - Claude 3.5 Sonnet, Haiku, Opus
  • OpenRouter - Multi-model aggregator
  • AWS Bedrock - Enterprise cloud
  • Google Gemini - Gemini 2.0 Flash, 1.5 Pro

๐Ÿ‡จ๐Ÿ‡ณ Chinese Providers

  • DeepSeek - DeepSeek R1, Coder (Very cheap!)
  • Kimi (ๆœˆไน‹ๆš—้ข) - Moonshot 8K/32K/128K
  • Zhipu GLM (ๆ™บ่ฐฑ) - GLM-4, GLM-4-Flash
  • Baidu Ernie (็™พๅบฆๆ–‡ๅฟƒ) - Ernie 4.0, 3.5
  • Qwen (้€šไน‰ๅƒ้—ฎ) - Qwen Max, Plus, Turbo
  • And 7 more...

Total: 18 providers, 100+ models


โšก Usage

3 Ways to Run (All Work!)

cheapercc # Full command
cheaper # Short version
cc # Shortest! (2 characters)

Core Commands

cc setup # Configure API keys
cc ask "question" # Quick question
cc # Interactive chat
cc models # List all models
cc config # Manage configuration
cc test # Test connections
cc info # Show version & config

Advanced Usage

# Use specific provider
cc chat -p openai -m gpt-4
# Use specific model
cc chat -m deepseek/deepseek-r1
# Custom system prompt
cc chat -s "You are a helpful coding assistant"

๐Ÿ”ง Configuration

Config file location: ~/.config/cheapercc-nodejs/config.json

Auto-Detection: Finds API keys in:

  • Environment variables (SKILLBOSS_API_KEY, OPENAI_API_KEY, etc.)
  • Config files (~/.config/skillboss/api-key, etc.)

๐ŸŽจ Features

โœ… Auto-Detection - Finds API keys automatically โœ… Multi-Provider - Select multiple providers with checkboxes โœ… Connection Testing - Tests each provider before saving โœ… Beautiful CLI - Colorful, easy-to-use interface โœ… Markdown Support - Renders markdown in terminal โœ… Error Handling - Clear, helpful error messages โœ… Multi-Language - Works with English and Chinese


๐Ÿ“ฆ Installation

Method 1: Install from GitHub (Recommended - No npm needed!)

# Clone the repo
git clone https://github.com/xq002011-cpu/cheapercc.git
cd cheapercc
# Install dependencies
npm install
# Link globally (makes cc command available everywhere)
npm link
# Setup
cc setup

Method 2: Install from npm (Coming soon)

npm install -g cheapercc
cc setup

That's it! Now you can use cc, cheaper, or cheapercc from anywhere.


๐Ÿ”— Links


๐Ÿ“‹ Takedown Policy

If you believe this project infringes any copyright or trademark, please contact us at dev@skillboss.co or open an issue on GitHub. We will respond promptly.

Contact


๐Ÿ“ License

MIT License - Open source and free to use


๐Ÿค Contributing

Contributions welcome! Please open an issue or PR.


Built with โค๏ธ by the open-source community

Powered by SkillBoss - making AI accessible and affordable for everyone


TL;DR: CheaperCC is an open-source multi-LLM CLI. Switch between 100+ models (Kimi, DeepSeek, GPT, Claude, Gemini), save 95% on costs, zero vendor lock-in. Powered by SkillBoss.

About

Open-source CLI for 100+ LLMs. Switch models anytime. 95% cost savings. No vendor lock-in.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle ใซใ‚ˆใฃใฆๅค‰ๆ›ใ•ใ‚ŒใŸใƒšใƒผใ‚ธ (->ใ‚ชใƒชใ‚ธใƒŠใƒซ) /