Lightweight Terminal AI Model Real-time Monitoring & Intelligent Recommendation Engine
็ฎไฝไธญๆ | ็น้ซไธญๆ | English
ModelPulse-CLI is a zero-dependency, cross-platform terminal tool that helps developers monitor AI model API status, compare model performance, estimate costs, and get smart recommendations based on their specific use case.
Track 21 models across 7 major providers (OpenAI, Anthropic, Google, DeepSeek, Meta, Qwen, Mistral) with benchmark scores, pricing data, and intelligent scoring algorithms.
- Model Registry - Browse 21 AI models with detailed specs, benchmarks, and pricing
- Smart Recommendation - Get personalized model suggestions for 7 task types (coding, reasoning, vision, etc.)
- API Monitoring - Real-time endpoint health checks with latency measurement
- Side-by-Side Comparison - Compare any models across all metrics
- Pricing Dashboard - Cost analysis with cheapest/most expensive detection
- Multi-Format Export - Export to JSON, CSV, or Markdown
- Historical Tracking - 90-day history of monitoring and recommendation data
- Zero Dependencies - Pure Python stdlib, no pip install needed
- Cross-Platform - Works on Linux, macOS, and Windows
# Clone the repository
git clone https://github.com/gitstq/ModelPulse-CLI.git
cd ModelPulse-CLI
# Run directly
PYTHONPATH=src python3 -m modelpulse.cli listgit clone https://github.com/gitstq/ModelPulse-CLI.git
cd ModelPulse-CLI
pip install -e .
# Now use the command directly
modelpulse list# List all tracked models
modelpulse list
# List models sorted by price
modelpulse list --sort price
# Filter by provider
modelpulse list --provider openai
# Monitor API endpoint status
modelpulse monitor
# Get model recommendation for code generation
modelpulse recommend --task code_generation
# Compare models side by side
modelpulse compare "gpt-4o,claude-sonnet-4-20250514,gemini-2.5-pro"
# View pricing dashboard
modelpulse pricing
# Export to CSV
modelpulse export --format csv -o models.csv
# View available task types
modelpulse tasksList all tracked AI models with detailed information.
| Flag | Description |
|---|---|
--provider, -p |
Filter by provider name (e.g., openai, anthropic) |
--category, -c |
Filter by category (flagship, cost_effective, reasoning, open_source, specialized) |
--sort, -s |
Sort by: name, price, context, mmlu, math |
Get AI model recommendations based on task type.
| Flag | Description |
|---|---|
--task, -t |
Task type (required): general_chat, code_generation, reasoning, vision, long_context, cost_sensitive, function_calling |
--top, -n |
Number of recommendations (default: 5) |
--api-key |
Only recommend from providers with configured API keys |
Available Task Types:
general_chat- General conversation and Q&Acode_generation- Code writing and software engineeringreasoning- Complex mathematical and logical reasoningvision- Image understanding and visual analysislong_context- Processing long documents and conversationscost_sensitive- High-volume, cost-optimized usagefunction_calling- Agent workflows and tool use
Check real-time availability and latency of provider API endpoints.
| Flag | Description |
|---|---|
--timeout, -t |
Request timeout in seconds (default: 10) |
Compare models side by side across all metrics.
modelpulse compare "gpt-4o,claude-sonnet-4-20250514,gemini-2.5-pro"View and compare pricing across all models.
| Flag | Description |
|---|---|
--provider, -p |
Filter by provider |
Export model database to various formats.
| Flag | Description |
|---|---|
--format, -f |
Output format: json, csv, markdown |
--output, -o |
Output file path |
Manage API keys and preferences.
# Show current config
modelpulse config --show
# Set API key for a provider
modelpulse config --set-key openai=sk-your-key-hereView past monitoring and recommendation records.
| Flag | Description |
|---|---|
--type, -t |
Filter by type: monitor, recommend |
--limit, -n |
Number of records to show |
- Zero Dependencies - Built entirely on Python stdlib. No pip install required to run.
- Offline-First - All model data is embedded. Works without internet for listing/comparison/recommendation.
- Extensible - Easy to add new models, providers, and task profiles by editing a single data structure.
- Developer-Friendly - Clean output formatting, color support, and structured data export.
- Cross-Platform - Tested on Linux, macOS, and Windows with no platform-specific dependencies.
- Web dashboard mode (HTML report generation)
- Auto-update model database from provider APIs
- Token usage tracking and budget alerts
- Plugin system for custom scoring algorithms
- Interactive TUI mode with keyboard navigation
- Model fine-tuning cost calculator
- Multi-language model name support (CN/JP/KR)
- CI/CD integration (GitHub Actions badge)
| Component | Technology |
|---|---|
| Language | Python 3.10+ |
| Dependencies | None (stdlib only) |
| Terminal UI | ANSI escape codes |
| Data Storage | JSON (local filesystem) |
| Testing | unittest (stdlib) |
| Package Manager | pip / setuptools |
ModelPulse-CLI/
โโโ src/modelpulse/
โ โโโ __init__.py # Package metadata
โ โโโ cli.py # Main CLI entry point & model database
โ โโโ engine.py # Scoring, cost analysis, trend tracking
โ โโโ models.py # Data model definitions
โ โโโ tui.py # Terminal UI components
โโโ tests/
โ โโโ test_modelpulse.py # 24 unit tests
โโโ data/ # User data directory (gitignored)
โโโ pyproject.toml # Package configuration
โโโ .gitignore
โโโ LICENSE # MIT License
โโโ CONTRIBUTING.md # Contribution guidelines
โโโ logo.jpg # Project logo
โโโ README.md # This file
We welcome contributions! Please see CONTRIBUTING.md for details.
Quick steps:
- Fork the repository
- Create a feature branch
- Add/update tests
- Submit a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Built with โค๏ธ by ModelPulse Team
