Tokenlay IconTokenlay
LandingDashboard ↗
GitHubGitHub
  • Introduction
  • Quick Start
  • Advanced Configuration
    • Provider Key Inference
    • Base URL Configuration
    • Model Parameter Behavior
    • Supported Providers
  • Passing Metadata
    • Global Headers
    • Per-Request Headers
    • Automatic Headers
      • Next.js + Session
      • Express.js + JWT
      • Python (FastAPI / Flask)
      • Edge Middleware
  • Smart Rules
    • How Smart Rules Work
    • Configuring Rules in the UI
    • Controlling Model Routing
    • Smart Limits: Downgrades, Warnings & Blocking
  • Response Formats
    • Understanding the Tokenlay Response
    • Warnings & Enforcements
  • Usage & Monitoring
  • FAQ
Question? Give us feedback →Edit this page on GitHub →
Smart RulesConfiguring Rules in the UI

Configuring Rules in the UI

How Smart Rules WorkControlling Model Routing

MIT 2025 © Tokenlay