AI (OpenAI)
Updated Oct 18, 2026
Quizora uses OpenAI's GPT-4o model to generate quiz questions from a text prompt.
Getting an OpenAI API Key
- Go to platform.openai.com and create an account.
- Navigate to API Keys in the left sidebar.
- Click Create new secret key and copy it.
- Add billing credits to your OpenAI account (AI generation is billed per token by OpenAI).
Entering the API Key in Quizora
- Go to Admin → Settings → AI
- Paste your OpenAI API key into the API Key field
- Click Save
That's it — creators can now use AI generation immediately.
Credit System
Quizora includes a built-in AI credit system so you can control how much free generation each creator gets, and charge for generations beyond the free quota.
How It Works
| Situation | What Happens |
|---|---|
| Creator has free credits remaining | Generation is free — no charge |
| Free credits exhausted | Deducted from creator's wallet balance |
| Wallet is empty | Generation is blocked until the creator tops up |
Configuring Credits (Admin Settings)
| Setting | Description | Default |
|---|---|---|
| Free Generations per New User | How many AI prompts each new creator gets for free | 10 |
| Charge per Generation | Amount deducted per prompt beyond the free quota | ₹5.00 |
These defaults apply to all creators. You can override them per subscription plan — for example, Pro plan creators might get 50 free generations per month.
Per-Plan AI Quotas
When you create or edit a subscription plan (Admin → Plans), you can set:
- AI Free Generations — monthly free quota for this plan tier
- AI Charge per Generation — custom per-prompt rate for this plan tier
Monitoring AI Usage
Go to Admin → AI Generation Logs to see:
- Which creators are generating the most
- Token usage per generation
- Success/failure status
- Any error messages
This is useful for identifying high-usage accounts or debugging generation issues.
No OpenAI Key?: Quizora works without an OpenAI key. Creators can still build quizzes manually using the question editor. AI generation simply won't be available until a key is configured.