Skip to content

refactor(docs): drop -free Google models from the model switcher - #911

Merged
Aditya-thesys merged 1 commit into
mainfrom
ap-docs-drop-free-models
Jul 31, 2026
Merged

refactor(docs): drop -free Google models from the model switcher#911
Aditya-thesys merged 1 commit into
mainfrom
ap-docs-drop-free-models

Conversation

@Aditya-thesys

Copy link
Copy Markdown
Contributor

What

Remove every -free Google model from the docs model switcher and make the paid Gemini 3.6 Flash the default.

docs/lib/openui-cloud/models.ts:

  • DEFAULT_MODEL: google/gemini-3.6-flash-freegoogle/gemini-3.6-flash
  • Dropped from the dropdown: gemini-3.6-flash-free, gemini-3.1-pro-free, gemini-3.1-flash-lite-free, gemini-3.5-flash-free
  • Dropped the now-redundant "(Paid)" suffix — the entry reads simply Gemini 3.6 Flash

Applies to both /chat and /compare?pair=markdown-cloud (both read this file).

Why

openui.com runs on the org's single shared Cloud quota. Exposing free-tier models in the public switcher let visitors exhaust it, surfacing 429 ERR_FREE_MODEL_LIMIT mid-demo. Paid models bill against the org account instead of hitting the shared free cap.

Not touched

The openui-cloud template keeps -free as its default. Scaffolded apps run on each user's own key/quota, so the free tier is the right zero-cost starting point there.

openui.com runs on the org's single shared Cloud quota, so exposing
free-tier models (gemini-3.6-flash-free / 3.1-pro-free /
3.1-flash-lite-free / 3.5-flash-free) let visitors exhaust it
(ERR_FREE_MODEL_LIMIT). Default is now google/gemini-3.6-flash and the
/chat + /compare switchers list only paid models. The openui-cloud
TEMPLATE keeps -free — scaffolded apps run on each user's own key/quota.
@Aditya-thesys
Aditya-thesys enabled auto-merge (squash) July 31, 2026 09:38
@Aditya-thesys
Aditya-thesys merged commit 1766df9 into main Jul 31, 2026
2 checks passed
@Aditya-thesys
Aditya-thesys deleted the ap-docs-drop-free-models branch July 31, 2026 09:40
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.

2 participants