--- title: InferencePort AI Lightning emoji: ⚡ colorFrom: yellow colorTo: blue sdk: docker pinned: true short_description: ' Servers and Routers for InferencePort AI' --- InferencePort AI Lightning is the hosted API behind the app's Lightning mode. Key paths: - App entrypoint: `app.py` - Generation routes: `gen.py` - Auth/subscription resolution: `helper/subscriptions.py` - Rate limiting: `helper/ratelimit.py` - Full docs: `https://inferenceport-ai.readthedocs.io` Authentication: - `Authorization: Bearer ` - `Authorization: Bearer `