General Case: No Need to Set
Recommended Practice: When creating a token, there is no need to set available models, allowing you to use all models on the site.
- Not Set: The token can call all 200+ models on the site
- Set: The token can only call specified models and cannot use others
Why Not Recommend Setting?
1. Limits Call Range
Suppose you set available models togpt-4o, claude-3-5-sonnet-20241022, then:
- ✅ Can call:
gpt-4o,claude-3-5-sonnet-20241022 - ❌ Cannot call:
gemini-2.5-pro,deepseek-v3, other 200+ models
2. Model Alias Issues
3. Business Scenario Changes
As your business evolves, you may need to test or switch different models:- Switch from GPT-4 to Claude 3.5
- Test domestic models like DeepSeek, Qwen
- Try newly released Gemini 2.5
When Should You Set It?
Although not recommended, you can consider setting available models in the following scenarios:Scenario 1: Sharing Tokens with Others
Team Collaboration/Friend Sharing
If you share a token KEY with colleagues or friends and want them to only use specific models (such as
gpt-3.5-turbo) to avoid consuming your balance with expensive models, you can set available models.Example:- Your balance is limited, you only want colleagues to use
gpt-3.5-turbo,gpt-4o-mini - After setting available models, even if colleagues try to call
o3, they will be rejected
Scenario 2: Budget Control
Strict Cost Management
If you set a strict budget for a project and only allow using low-cost models, you can restrict through available model whitelist:Example:
- Project budget is limited, only allow using
deepseek-v3($0.07/million tokens) - Prohibit using
o3($20/million tokens) to avoid overspending
Scenario 3: Security Compliance
Enterprise Security Policy
Some enterprises have strict AI model usage regulations, only allowing use of approved models.Example:
- Company only allows using official OpenAI models
- Set available models to
gpt-4o,gpt-4.1, prohibit using other vendor models
How to Set Available Models?
If you really need to set available models, follow these steps:- Log in to API.YI Token Management Page
- Click “Add New KEY” or edit existing token
- Select allowed models in the “Available Models” field
- Save configuration
Summary
| Setting Method | Advantages | Disadvantages | Applicable Scenarios |
|---|---|---|---|
| Not Set Available Models | ✅ Can use all 200+ models ✅ No need to worry about alias issues ✅ High business flexibility | ❌ Cannot restrict others from using expensive models | Personal use, development testing, production environment (recommended) |
| Set Available Models | ✅ Strictly control model usage scope ✅ Prevent expensive models from consuming balance | ❌ Limits flexibility ❌ May encounter alias issues ❌ Need to manually maintain whitelist | Shared tokens, budget control, security compliance |
Recommended Practice: Unless there is a clear control requirement, do not set available models and enjoy access to all models.