For the inference APIs, which need to bill users. It's unclear why OpenCode's servers (presumably) had access to the API credentials.

They function similar to openrouter BYOK.

Because people cut and pasted them in.

Maybe they support cloud agents.