r/CommandCode • • Sep 03 '26

Using ComandCode on other harness?

Is there any way to use CommandCode provider in other harnesses, e.g. pi or opencode cli?
If yes, I really need to know how. Thanks

9 Upvotes

10 comments sorted by

View all comments

Show parent comment

3

u/2mqqvc0q Sep 04 '26

Didn't know you could attach pricing information to a model like that. The OpenCode docs don't show that anywhere. Looks like it's modeled from the responses shape on models.dev. Does this make it so that OpenCode is able to show the running cost of a session when using a manually configured provider and model?

3

u/lincolnthalles Sep 04 '26

Exactly. That's why the information is hosted on models.dev.