Smart AI Runner+ — Administrator Guide

This guide explains how to operate, secure, maintain, and recover the Smart AI Runner+ platform.

Back to Smart AI Runner+ Quick Start Admin Customer Keys

1. What This System Does

Smart AI Runner+ is a paid AI API platform with billing, key management, quota enforcement, rate limiting, onboarding, and admin controls.

  1. User purchases a subscription.
  2. Stripe confirms the purchase.
  3. Webhook activates a customer key.
  4. Customer retrieves or receives the key.
  5. Customer calls the API using the key.

2. Important System URLs

Main website:

https://cortex-runner-private.onrender.com

API endpoint:

https://cortex-runner-private.onrender.com/ask

Admin login page:

https://cortex-runner-private.onrender.com/admin/login

Admin customer key page:

https://cortex-runner-private.onrender.com/admin/customer-keys

Usage page:

https://cortex-runner-private.onrender.com/admin/usage

3. Customer Key Operations

The Admin Customer Keys page supports:

Recommended security action if a key is exposed

  1. Open the Admin Customer Keys page.
  2. Enter the exposed key.
  3. Click Reissue Key.
  4. If needed, use Create / Update with the customer email to confirm the correct plan.

4. Plan Limits

PlanDaily LimitMax Tokens/Request
Starter50 requests1,500
Pro100 requests1,500
Enterprise500 requests1,500

5. Kill Switch

The system now includes a global kill switch through the Render environment variable:

GLOBAL_KILL_SWITCH

Behavior:

Use cases:

Important: change the variable in Render after code is already deployed.

6. Stripe Management

Stripe handles billing and subscriptions.

Important webhook events:

Webhook endpoint:

/stripe/webhook

7. Environment Variables

Important Render environment variables include:

8. Updating the Application

All development is done in the Local Repo.

Local Repo path (replace the placeholders with your own values):

C:\Users\YOUR_NAME_HERE\Desktop\Local Repos\YOUR_AI_PROJECT_NAME

Deployment process:

  1. Modify files locally.
  2. Compile-check where needed.
  3. Commit changes using Git.
  4. Push to GitHub.
  5. Render auto-deploys the update.

Open Shell Helper

Run a shell or Git Bash session directly in the Local Repo so you can execute the commands above without copying paths every time. Replace the placeholders with your own Windows username and project folder.

cd "/c/Users/YOUR_NAME_HERE/Desktop/Local Repos/YOUR_AI_PROJECT_NAME"

Then run your preferred shell command (e.g., git status, python cortex_server.py, etc.).

Download Git Bash

9. Best Practices