Skip to content

PANS-L/aiprice-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฆ AIPrice Plugin for Claude Code / CodeBuddy

Query real-time AI model prices from Chinese providers directly in your coding session.

Powered by aiprice.cn โ€” the real-time AI model pricing tracker for Chinese AI providers.

โœจ Features

  • ๐Ÿ” Query prices for 100+ AI models from 10+ Chinese providers
  • โšก Compare models side by side with a single command
  • ๐Ÿ’ฐ Find cheapest models for any category
  • ๐Ÿค– Auto-trigger โ€” just ask about AI model pricing in natural language
  • ๐Ÿ”Œ MCP integration โ€” connects automatically, no API key needed

๐Ÿ“ฆ Install

Claude Code

claude plugin install github:PANS-L/aiprice-plugin

CodeBuddy (ๅฐ้พ™่™พ)

In your IDE, open CodeBuddy and run:

/plugin install github:PANS-L/aiprice-plugin

Or manually add to your MCP config (.claude/settings.json or IDE settings):

{
  "mcpServers": {
    "aiprice": {
      "type": "url",
      "url": "https://aiprice.cn/api/mcp"
    }
  }
}

๐Ÿš€ Usage

Slash Commands

Command Description
/aiprice:prices [provider] Query model prices, optionally filter by provider
/aiprice:compare <model1> <model2> Compare models side by side
/aiprice:cheapest [category] Find cheapest models for a category

Natural Language (auto-triggered)

Just ask in your normal conversation:

  • "DeepSeek V3 ๅคšๅฐ‘้’ฑ๏ผŸ"
  • "ๅธฎๆˆ‘ๅฏนๆฏ”ไธ€ไธ‹ Qwen3 ๅ’Œ GLM-4 ็š„ไปทๆ ผ"
  • "ๆœ€ไพฟๅฎœ็š„ coding ๆจกๅž‹ๆ˜ฏๅ“ชไธช๏ผŸ"
  • "What's the cheapest flagship model from Chinese providers?"
  • "Compare deepseek-chat vs qwen3-max pricing"

MCP Tools (for advanced users)

The plugin exposes 4 MCP tools that AI can call directly:

Tool Description
get_prices Query model prices with filters (provider, category, currency)
get_providers List all tracked AI providers
get_model_detail Get detailed specs and pricing for a model
compare_prices Compare multiple models in a table

๐Ÿข Supported Providers

Provider Slug
DeepSeek deepseek
Qwen (้€šไน‰ๅƒ้—ฎ) qwen
Zhipu AI (ๆ™บ่ฐฑ) zhipu
Moonshot (ๆœˆไน‹ๆš—้ข) moonshot
Baidu ERNIE (ๆ–‡ๅฟƒไธ€่จ€) ernie
Tencent Hunyuan (ๆททๅ…ƒ) hunyuan
ByteDance Doubao (่ฑ†ๅŒ…) doubao
Baichuan (็™พๅท) baichuan
MiniMax minimax
StepFun (้˜ถ่ทƒๆ˜Ÿ่พฐ) step
Yi (้›ถไธ€ไธ‡็‰ฉ) yi

๐Ÿ“Š Data

  • Prices are updated daily from official provider pricing pages
  • Supports both USD and CNY
  • Includes input, output, and blended (3:1) pricing per million tokens
  • Tracks 100+ models across 10+ providers

๐Ÿ“„ License

MIT

๐Ÿ”— Links

About

๐Ÿฆ AIPrice Plugin for Claude Code / CodeBuddy โ€” Query real-time AI model prices from Chinese providers (DeepSeek, Qwen, Zhipu, Moonshot, etc.) directly in your coding session.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors