# Agent-M handles routing to OpenAI, Anthropic, or Gemini automatically!
3. Optional: Dynamic Tags
If you don't force a tag in your Key Settings, you can dynamically pass one via headers to track specific users or environments on your ledger.
Header: x-agentm-tag
Value: "production-chat-ui"
🚨 CRITICAL: SECURE YOUR KEY
Your secure Agent-M Proxy key has been generated. Copy it now. It will never be shown again.
route
Routing Setup Wizard
Step 1: Securely connect your underlying AI provider.
Step 2: How should Agent-M handle traffic for this route?
route
Direct Pass-Through
Agent-M will not alter your requests. Traffic flows exactly to the model your code requests.
psychology
Highest Intelligence (Premium)
Automatically upgrades requests to the smartest frontier model available for this provider.
savings
Least Cost (Efficient)
Automatically down-routes requests to the fastest, cheapest model available for this provider.
Step 3: Setup your Fallback Model to prevent downtime.
shield Auto-Recover
If the primary model is down or rate-limited, Agent-M will automatically retry the prompt on this fallback model so your app doesn't crash.
lock Operative Feature
settings
Key Settings
lock Operative Tier Required
Upgrade to restrict IP access and force custom routing tags. Click here to upgrade.
Loading active routing tiers...
These limits never reset. Once the dollar amount is reached, the proxy key is permanently restricted.
These limits instantly block traffic (429 error) but automatically reset to $0 at the end of their time period. For example, a $10/minute limit caps your spending for the current minute, and resets the moment the clock rolls over to the next minute. All times are based on UTC
rocket_launch
Select Your Plan
Choose your billing cycle to activate your Operative subscription.