Skip to content

Genie: OpenRouter models an admin can add, remove and switch on or of… - #68

Merged
vickeykumar merged 1 commit into
masterfrom
development
Oct 8, 2026
Merged

vickeykumar merged 1 commit into
masterfrom
development

Conversation

@vickeykumar

Copy link
Copy Markdown
Owner

…f from the dashboard

The three built-in models stay fixed. Under Site settings, OpenRouter models, an admin adds any OpenRouter model by its id, switches it on or off, sets its answer size, room for thinking tokens, whether its host takes JSON mode, the providers allowed to answer and a free mark, and removes it again, with no change of code. The list is part of the site settings, so it is stored in settings.json, MongoDB or Firestore, and every instance reads it; saving the Settings page from an older tab keeps it. Models that are on appear in the Genie picker under OpenRouter with a Free tag; models that are off are refused by the proxy. Two free models that answered a real test (Nemotron 3 Super, North mini code) are listed, off, until an admin saves a list of their own.

Also: scripts/test-openrouter-free-models.sh tries every free OpenRouter chat model with the key from OPENREPL_OPENROUTER_API_KEY and says which answer, and docs/model-costs.txt lists the free models and the OpenAI prices per million tokens. Privacy page, Genie note, LLD 07 and 13 updated.

…f from the dashboard

The three built-in models stay fixed. Under Site settings, OpenRouter models, an admin adds any OpenRouter model by its id, switches it on or off, sets its answer size, room for thinking tokens, whether its host takes JSON mode, the providers allowed to answer and a free mark, and removes it again, with no change of code. The list is part of the site settings, so it is stored in settings.json, MongoDB or Firestore, and every instance reads it; saving the Settings page from an older tab keeps it. Models that are on appear in the Genie picker under OpenRouter with a Free tag; models that are off are refused by the proxy. Two free models that answered a real test (Nemotron 3 Super, North mini code) are listed, off, until an admin saves a list of their own.

Also: scripts/test-openrouter-free-models.sh tries every free OpenRouter chat model with the key from OPENREPL_OPENROUTER_API_KEY and says which answer, and docs/model-costs.txt lists the free models and the OpenAI prices per million tokens. Privacy page, Genie note, LLD 07 and 13 updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vickeykumar
vickeykumar merged commit 57853c1 into master Oct 8, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant