r/opencode • u/Vast_Anxiety3133 • 24d ago
Restrict to certain models
Don't be like me and have some unintentional Luna 5.6 usage - in the Go tab of the console you can now choose which models are available to use
PS: My last 30 days of go usage
$88,31 worth of models
174.604 requests
25.356B tokens
for $10
11
Upvotes
2
u/MLGSW4G 24d ago
You could disable them before with opencode.json, but yeah, this is better
2
u/Ariquitaun 23d ago
Ah, thanks for the heads up, this is very welcome 👍🏽
1
u/squirrelscrush 24d ago
I just hardcode the models in my agents. But yeah it's a good feature now to lock the whole system and use the few models I actually use.
1
u/juansta_ 23d ago
I've tried this, and it still decides to pick models that I have disabled... Nothing in my agents config telling it to use kimi-k2.7-code or deepseek-v4-pro - yet there are about 400 combined requests...