pretty sure the codex cli itself is open source (and written in rust!) and can be used with any model.