Pre-flight checks
OpenCode version reviewed
1.15.10
Problem statement
Some models don't show pricing or quota info because the code only loads a small hardcoded list of providers from models.dev. Many other providers (especially Chinese and coding-plan ones) are ignored even though they exist on models.dev.
Proposed change
Make the system automatically use every provider returned by the models.dev API instead of maintaining a hardcoded allowlist. Also add a few alias mappings so coding-plan providers can resolve pricing.
Alternatives considered
No response
Acceptance criteria
- All providers and models from models.dev are dynamically supported
- Common coding-plan providers (zhipuai, alibaba, minimax, etc.) resolve pricing correctly
Pre-flight checks
OpenCode version reviewed
1.15.10
Problem statement
Some models don't show pricing or quota info because the code only loads a small hardcoded list of providers from models.dev. Many other providers (especially Chinese and coding-plan ones) are ignored even though they exist on models.dev.
Proposed change
Make the system automatically use every provider returned by the models.dev API instead of maintaining a hardcoded allowlist. Also add a few alias mappings so coding-plan providers can resolve pricing.
Alternatives considered
No response
Acceptance criteria