r/opencode • • 24d ago

Restrict to certain models

Post image

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

5 comments sorted by

2

u/MLGSW4G 24d ago

You could disable them before with opencode.json, but yeah, this is better

3

u/Vast_Anxiety3133 24d ago

Works for all connected devices

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...