0xllllh/Opencode Free Model Resolver
Dynamically resolves the latest non-deprecated free models for specified providers from models.dev
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 28, 2026
- License
- MIT
Pinned Snippet
uses: 0xllllh/opencode-free-models@d420b3f9b8608a36131c8d1f78a575c9cfca66a3 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| providers | Comma-separated list of allowed providers | no | opencode |
| fallback | Fallback model ID when no free models are resolved | no | openrouter/free |
| pick | How to pick a model from the list ("first" or "random") | no | first |
Outputs
| name | description |
|---|---|
| model_id | The resolved final available model ID |