# Mintii Router
The intelligent LLM model selection and optimization library by [Mintii Labs](https://mintii.ai).
## About Mintii Router
Mintii Router is a sophisticated AI model selection system that automatically chooses the best Large Language Model (LLM) for each specific prompt, optimizing for both cost and quality. Our system evaluates over 20 different LLMs in real-time to ensure you get the best possible response while minimizing costs.
## Key Features
- 🎯 **Intelligent Model Selection**: Automatically selects the most suitable LLM for each prompt
- 💰 **Cost Optimization**: Achieve up to 80% cost reduction through smart model routing
- 🚀 **Quality Assurance**: Maintains high-quality responses through sophisticated model evaluation
- 🔄 **Adaptive Learning**: Continuously improves selection criteria based on performance data
- 📊 **Usage Analytics**: Track and optimize your LLM usage patterns
## Installation
```bash
pip install mintii-router
```
## Quick Start
```python
from mintii import Router
from dotenv import load_dotenv
import os
# Load your API keys
load_dotenv()
# Initialize the router
router = Router(api_key=os.getenv('MINTII_API_KEY'))
# Get a response
response = router.generate("Explain quantum computing in simple terms")
print(response.content)
```
## Features
- **Smart Model Selection**: Automatically chooses the best model based on:
- Prompt complexity
- Required capabilities
- Cost constraints
- Performance requirements
- **Cost Optimization**: Reduces costs by:
- Selecting cost-effective models
- Optimizing token usage
- Balancing quality and cost
- **Quality Assurance**: Maintains high standards through:
- Model capability matching
- Response quality monitoring
- Consistent performance tracking
## Documentation
For full documentation, visit [docs.mintii.ai](https://docs.mintii.ai)
## Support
- Email: support@mintiilabs.com
- Documentation: [docs.mintii.ai](https://docs.mintii.ai)
- Issues: [GitHub Issues](https://github.com/mintiilabs/mintii-router/issues)
## License
Proprietary. Copyright © 2024 Mintii Labs. All rights reserved.
Raw data
{
"_id": null,
"home_page": null,
"name": "mintii",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "AI, AI router, LLM, cost optimization, machine learning, mintii, model optimization, model selection, natural language processing",
"author": null,
"author_email": "Mintii Labs <contact@mintiilabs.com>",
"download_url": "https://files.pythonhosted.org/packages/06/64/ddf531c35a22f479280a2eb522f554cd9c99c41a94b01d76d32f221bb43a/mintii-0.1.1.tar.gz",
"platform": null,
"description": "# Mintii Router\n\nThe intelligent LLM model selection and optimization library by [Mintii Labs](https://mintii.ai).\n\n## About Mintii Router\n\nMintii Router is a sophisticated AI model selection system that automatically chooses the best Large Language Model (LLM) for each specific prompt, optimizing for both cost and quality. Our system evaluates over 20 different LLMs in real-time to ensure you get the best possible response while minimizing costs.\n\n## Key Features\n\n- \ud83c\udfaf **Intelligent Model Selection**: Automatically selects the most suitable LLM for each prompt\n- \ud83d\udcb0 **Cost Optimization**: Achieve up to 80% cost reduction through smart model routing\n- \ud83d\ude80 **Quality Assurance**: Maintains high-quality responses through sophisticated model evaluation\n- \ud83d\udd04 **Adaptive Learning**: Continuously improves selection criteria based on performance data\n- \ud83d\udcca **Usage Analytics**: Track and optimize your LLM usage patterns\n\n## Installation\n\n```bash\npip install mintii-router\n```\n\n## Quick Start\n\n```python\nfrom mintii import Router\nfrom dotenv import load_dotenv\nimport os\n\n# Load your API keys\nload_dotenv()\n\n# Initialize the router\nrouter = Router(api_key=os.getenv('MINTII_API_KEY'))\n\n# Get a response\nresponse = router.generate(\"Explain quantum computing in simple terms\")\nprint(response.content)\n```\n\n## Features\n\n- **Smart Model Selection**: Automatically chooses the best model based on:\n - Prompt complexity\n - Required capabilities\n - Cost constraints\n - Performance requirements\n\n- **Cost Optimization**: Reduces costs by:\n - Selecting cost-effective models\n - Optimizing token usage\n - Balancing quality and cost\n\n- **Quality Assurance**: Maintains high standards through:\n - Model capability matching\n - Response quality monitoring\n - Consistent performance tracking\n\n## Documentation\n\nFor full documentation, visit [docs.mintii.ai](https://docs.mintii.ai)\n\n## Support\n\n- Email: support@mintiilabs.com\n- Documentation: [docs.mintii.ai](https://docs.mintii.ai)\n- Issues: [GitHub Issues](https://github.com/mintiilabs/mintii-router/issues)\n\n## License\n\nProprietary. Copyright \u00a9 2024 Mintii Labs. All rights reserved.",
"bugtrack_url": null,
"license": "Proprietary - All Rights Reserved",
"summary": "Mintii Router: Intelligent LLM Model Selection and Optimization Library. Automatically selects the best Large Language Model for each prompt, optimizing for cost, quality, and performance.",
"version": "0.1.1",
"project_urls": {
"Bug Tracker": "https://github.com/mintiilabs/mintii-router/issues",
"Documentation": "https://docs.mintii.ai",
"Homepage": "https://mintii.ai",
"Repository": "https://github.com/mintiilabs/mintii-router"
},
"split_keywords": [
"ai",
" ai router",
" llm",
" cost optimization",
" machine learning",
" mintii",
" model optimization",
" model selection",
" natural language processing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3c94787d1a7a6e5f1c199e797fe9c509730521c18db357644555e68dc5f94a7a",
"md5": "cbb0dd3173a341d009060db7c9e94030",
"sha256": "2b423a58ae026b5fb95730846cc3acff5370736bb51766a286e823436b9c46cd"
},
"downloads": -1,
"filename": "mintii-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cbb0dd3173a341d009060db7c9e94030",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5185,
"upload_time": "2024-12-16T03:59:08",
"upload_time_iso_8601": "2024-12-16T03:59:08.535441Z",
"url": "https://files.pythonhosted.org/packages/3c/94/787d1a7a6e5f1c199e797fe9c509730521c18db357644555e68dc5f94a7a/mintii-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0664ddf531c35a22f479280a2eb522f554cd9c99c41a94b01d76d32f221bb43a",
"md5": "a75a7a9510dcd5f91d154ef6e90e6555",
"sha256": "409b1d2e392e925558976cfca9f348b42612cf3e4644c4a4985cbda71714cf00"
},
"downloads": -1,
"filename": "mintii-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "a75a7a9510dcd5f91d154ef6e90e6555",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4859,
"upload_time": "2024-12-16T03:59:10",
"upload_time_iso_8601": "2024-12-16T03:59:10.825757Z",
"url": "https://files.pythonhosted.org/packages/06/64/ddf531c35a22f479280a2eb522f554cd9c99c41a94b01d76d32f221bb43a/mintii-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 03:59:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mintiilabs",
"github_project": "mintii-router",
"github_not_found": true,
"lcname": "mintii"
}