The default LLM selected for the user can vary depending on the scenario. Here are a few situations to handle:
- New user on the Free plan. Their only model is Llama 3.3
- New user on a Starter plan. They have access to Gemma 3. Select that one as default.
- New user on Pro, Max, or Team. They have access to all of the models. Select GPT-OSS 120B as the default.
- Existing user who has already chatted, select the last model used. Be sure to persist this in the user's profile values so it can be recalled on next launch of the app.
The default LLM selected for the user can vary depending on the scenario. Here are a few situations to handle: