Skip to main content

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.

Project description

Mintii Router

The intelligent LLM model selection and optimization library by Mintii Labs.

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

pip install mintii-router

Quick Start

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

Support

License

Proprietary. Copyright © 2024 Mintii Labs. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mintii-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mintii-0.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file mintii-0.1.1.tar.gz.

File metadata

  • Download URL: mintii-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for mintii-0.1.1.tar.gz
Algorithm Hash digest
SHA256 409b1d2e392e925558976cfca9f348b42612cf3e4644c4a4985cbda71714cf00
MD5 a75a7a9510dcd5f91d154ef6e90e6555
BLAKE2b-256 0664ddf531c35a22f479280a2eb522f554cd9c99c41a94b01d76d32f221bb43a

See more details on using hashes here.

File details

Details for the file mintii-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mintii-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for mintii-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b423a58ae026b5fb95730846cc3acff5370736bb51766a286e823436b9c46cd
MD5 cbb0dd3173a341d009060db7c9e94030
BLAKE2b-256 3c94787d1a7a6e5f1c199e797fe9c509730521c18db357644555e68dc5f94a7a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page