Gateway API
Expose a clean, OpenAI-style endpoint that validates API keys, proxies requests to your local model runtime, and records usage.
This local stack uses Next.js, Prisma, PostgreSQL, Auth.js, and Ollama to expose a multi-user AI gateway with API keys, quotas, a user portal, an admin portal, dynamic model provisioning, and an OpenAPI-powered docs route.
Expose a clean, OpenAI-style endpoint that validates API keys, proxies requests to your local model runtime, and records usage.
Create and revoke API keys, monitor request counts, inspect recent traffic, and understand monthly token consumption.
Review users, active keys, quota posture, and recent model activity from a single operational view.
User access
Users can create keys, inspect recent usage, and track monthly quota from a clean dashboard.
User dashboardOperations
Admins get a snapshot of users, keys, traffic, and quota posture without touching raw database records.
Admin dashboardIntegration
Third-party apps can integrate through an OpenAPI-described route and standard bearer token auth.
Explore docs