Catalog PyPI
PACKAGE EXPLORERView in registry

a3m-router

PyPI

Auto-selects cheapest capable LLM from 47+ providers — 70-95% cost savings

ai-gatewaycost-optimizationembeddingsensemblelangchainlitellmllamaindexllmmodel-selectionmulti-llmopenaiparallelproxyragroutellmrouter
All keywords (18)
routingvector-search
Versions collected1
Direct dependencies8From release 2.16.3
Last observed20 Oct, 16:40 UTC

README

Version 2.16.3 documentation

A3M Router - Python Package

Intelligent LLM routing for Python applications.

PyPI Version PyPI Downloads npm Version

Why A3M Router?

ProblemSolution
GPT-4o is $15/1M tokensA3M routes to $0.001 providers
Managing 80+ API keysOne endpoint, A3M handles the rest
Provider goes downAutomatic failover to next best option
Need best answer, cost doesn't matterParallel ensemble calls

Installation

pip install a3m-router

Quick Start

from a3m.router import A3MRouter

router = A3MRouter(model="auto")
result = router.route("Explain quantum entanglement")
print(result.content)

Features

  • 80+ Providers - OpenAI, Anthropic, Groq, Mistral, DeepSeek, and more
  • 14% Faster - Optimized routing vs OpenRouter
  • 92% Cheaper - Routes to cheapest capable provider
  • OpenAI Compatible - Use existing OpenAI SDK code
  • Adaptive Memory - Learns from routing patterns

Performance

MetricA3M RouterOpenRouter
Latency162ms189ms
Cost/1K$0.00012$0.0015
Quality94%92%

Documentation

Full documentation: https://github.com/Das-rebel/a3m-router#readme

License

MIT License

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.16.319 Sept 20268

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
das-rebel/a3m-router

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:40 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6742b30edeb5239e8328bf002802efbbbd69d16baaad6c985d591013d5db43b9