MCPcopy Index your code
hub / github.com/NekroAI/one-tracker

github.com/NekroAI/one-tracker @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
177 symbols 354 edges 74 files 22 documented · 12%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

One Tracker

中文版 | English

🎯 Comprehensive AI Model Price Comparison and Tracking Platform - Easily Find the Most Cost-Effective AI Services

Deployment Status License QQ Group 1 QQ Group 2 Discord

One Tracker is an open-source large language model price comparison platform deployed on Cloudflare. It's specifically designed for AI developers and enterprise users, providing a unified parsing engine that allows you to compare prices from multiple LLM providers in real-time, including mainstream proxy platforms like OneAPI, NewAPI, OneHub, helping you find the most cost-effective LLM services.

✨ Core Values

  • 🔍 Multi-source Price Aggregation: Support for OneHub, NewAPI, OneAPI and other proxy platforms, automatically parsing price data from different APIs
  • 📊 Intelligent Price Standardization: Calculate real token costs based on recharge ratios, model rates, group rates and other parameters
  • ⚡ Intelligent Provider Selection: Automatically select optimal providers for each model, support manual adjustment and batch operations, with persistent selection storage
  • 📈 Advanced Filtering & Analysis: Provide multi-dimensional filtering, provider overview statistics, anonymous display mode to meet different analysis needs
  • 🚀 Global Acceleration: Based on Cloudflare's global network, providing low-latency, highly available access for your price queries
  • 🌍 Open Source & Controllable: Project is completely open source, you can deploy, modify and extend it yourself, with complete control over data and services

🚀 Quick Start (3 Steps)

1. Access Price Comparison Page

Visit https://ot.nekro.ai/pricing to use the complete price comparison features without registration.

2. Configure Provider Sources

Configure the API proxy platforms you want to compare:

  • Provider Name: Custom display name (e.g., "Provider A (OneHub)")
  • Provider Address: Provider address (e.g., https://api.example.com)
  • Provider Type: Select corresponding parser (onehub/newapi/oneapi)
  • Recharge Ratio: Site credits you can purchase with 1 currency unit (e.g., 1 yuan = 2 site credits, then enter 2)
  • Model Filtering: Support blacklist/whitelist mode to filter specific models

3. Intelligent Price Analysis

After clicking "Fetch Prices", the system will automatically:

  • Parse and standardize price data from each provider
  • Intelligently select optimal providers and groups for each model
  • Provide transparent price calculation formulas and parameter display
  • Support multi-dimensional filtering, sorting and batch operations

🎉 Done! Now you can compare prices from major LLM providers in real-time and intelligently select the most cost-effective service combinations.

🛠️ Tech Stack

📊 Supported Provider Types

Provider Type Parser Supported Features
OneHub onehub Group pricing, Token pricing, per-call pricing
NewAPI newapi Group pricing, Token pricing, per-call pricing
OneAPI oneapi Group pricing, Token pricing, per-call pricing

📚 Documentation

We provide comprehensive project documentation and development guides:

🔗 Related Projects

If you're looking for a highly scalable AI Agent framework, we recommend checking out our other project:

Nekro Agent - A multi-user cross-platform chatbot framework that combines code execution capabilities with high scalability. It supports sandbox-driven, visual interface, highly scalable plugin system, and natively supports multiple platforms such as QQ, Discord, Minecraft, Bilibili Live, etc. If you need to build intelligent chatbots or automated Agent systems, Nekro Agent will be your ideal choice.


🤝 Contributing

Welcome to participate in the project in the following ways:

📄 License

This project is open source under the MIT License.

⭐ Star History

Star History Chart

Extension points exported contracts — how you extend this code

ProviderParser (Interface)
(no doc) [3 implementers]
common/providers/interfaces.ts
Env (Interface)
(no doc)
worker-configuration.d.ts
GroupState (Interface)
(no doc)
frontend/src/components/pricing/GroupManager.tsx
SEOConfig (Interface)
(no doc)
src/config/seo.ts
StandardizedModel (Interface)
(no doc)
common/types/pricing.ts
PricingSourceConfig (Interface)
(no doc)
common/services/pricingDataService.ts
BaseParser (Interface)
(no doc) [3 implementers]
common/providers/interfaces.ts
GroupManagerProps (Interface)
(no doc)
frontend/src/components/pricing/GroupManager.tsx

Core symbols most depended-on inside this repo

generateProviderColor
called by 6
common/utils/colorGenerator.ts
parse
called by 6
common/providers/interfaces.ts
getDisplayGroupName
called by 4
frontend/src/components/pricing/ModelComparisonCard.tsx
zodOpenAPIResponse
called by 4
src/validators/config.schema.ts
useAuth
called by 3
frontend/src/hooks/useAuth.ts
hue2rgb
called by 3
common/utils/colorGenerator.ts
registerParser
called by 3
common/providers/factory.ts
getDisplayProviderName
called by 2
frontend/src/components/pricing/ModelComparisonCard.tsx

Shape

Function 79
Method 45
Interface 41
Class 12

Languages

TypeScript100%

Modules by API surface

common/providers/interfaces.ts15 symbols
common/services/pricingCalculator.ts11 symbols
frontend/src/components/pricing/ProviderConfigPanel.tsx10 symbols
common/providers/onehub/parser.ts10 symbols
frontend/src/assets/logos/index.tsx9 symbols
common/services/pricingDataService.ts9 symbols
frontend/src/hooks/useAuth.ts8 symbols
frontend/src/components/pricing/ModelComparisonCard.tsx8 symbols
common/providers/oneapi/parser.ts7 symbols
common/providers/newapi/parser.ts7 symbols
common/providers/factory.ts7 symbols
frontend/src/components/pricing/ProviderOverview.tsx6 symbols

For agents

$ claude mcp add one-tracker \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact