crush update-providers command updates AI provider information (models, capabilities, pricing) from remote URLs, local files, or embedded data.
Usage
Description
Update provider information from a specified source. This command refreshes:- Model lists: Available models per provider
- Model metadata: Context windows, capabilities, features
- Pricing information: Input/output token costs
- Provider configurations: API endpoints, requirements
- Catwalk: The main provider catalog (default)
- Hyper: Charm’s Hyper service provider information
Arguments
Optional path to a local file or URL to fetch provider data from.
- Omitted: Fetches from the default remote source
- URL: Downloads from the specified URL (must be
http://orhttps://) - File path: Reads from a local file
embedded: Resets to the embedded/bundled version
Flags
Provider source to update. Must be one of:
catwalk- Main provider catalog (default)hyper- Hyper service provider information
Global Flags
All global flags are available:--cwd, --data-dir, --debug
Examples
Update Sources
Catwalk (Default)
The Catwalk provider catalog includes:- Anthropic: Claude models
- OpenAI: GPT and O1 models
- Google: Gemini models
- AWS Bedrock: Bedrock-hosted models
- GitHub Copilot: Copilot models
- Vercel: Vercel AI models
- MiniMax: MiniMax models
- And more…
Hyper
Charm’s Hyper service provides:- Managed AI access
- Multiple model backends
- Simplified authentication
- Unified API interface
Update Behavior
Remote Updates (Default)
When no path is specified:- Fetches from the default remote URL
- Downloads the latest provider data
- Updates cached provider information
- Validates the data structure
- Saves to Crush’s cache directory
Custom URL Updates
When a URL is provided:- Downloads from the specified URL
- Same validation and caching as default
- Useful for:
- Corporate proxies
- Air-gapped environments
- Custom provider catalogs
- Testing new provider definitions
Local File Updates
When a file path is provided:- Reads from the local filesystem
- No network access required
- Useful for:
- Offline development
- Custom provider configurations
- Testing provider changes
- Air-gapped deployments
Embedded Reset
Whenembedded is specified:
- Resets to the built-in provider data
- Removes cached updates
- Returns to the version bundled with Crush
- Useful for:
- Rolling back bad updates
- Troubleshooting
- Returning to known-good state
Success Output
On successful update:Error Messages
Invalid Source
--source flag has an invalid value.
Solution: Use either catwalk or hyper:
Network Errors
- No internet connection
- Remote server is down
- Invalid URL
- SSL/TLS errors
File Not Found
Invalid JSON
Provider Data Format
Provider JSON files have this structure:Update Frequency
How often to update providers:Recommended Schedule
- Weekly: For active development
- Monthly: For stable usage
- As needed: When new models are announced
- After Crush updates: After upgrading Crush itself
When to Update
Update providers when:- New models are released
- Pricing changes
- You see “model not found” errors
- After upgrading Crush
- Before starting new projects
Use Cases
Regular Maintenance
Keep provider data fresh:Air-Gapped Environments
Work without internet:Corporate Proxies
Use internal provider mirrors:Custom Providers
Add your own provider definitions:Testing Provider Changes
Test new provider definitions:Troubleshooting Model Issues
Reset to known-good state:Caching
Provider data is cached in:Cache Management
Automation
Scheduled Updates
Automate provider updates:CI/CD Integration
Pre-commit Hook
Security Considerations
Trusted Sources
Only update from trusted sources:- Official Crush/Charm URLs (default)
- Your organization’s internal mirrors
- Verified third-party sources
HTTPS Requirement
When using URLs:- Prefer HTTPS over HTTP
- Verify SSL certificates
- Use corporate CAs if needed
Data Validation
Crush validates provider data:- JSON structure validation
- Required fields verification
- Type checking
- Schema validation
See Also
crush models- View updated models- Providers - Provider documentation
- Configuration - Provider configuration
- Custom Providers - Creating custom provider definitions