Claude Code is the exception: it takes
https://cloud-api.near.ai without /v1. See the Claude Code guide.
If you have never used an API key before: create one under API Keys in the NEAR AI Cloud Dashboard, then follow the guide for your tool. Each guide shows where the key goes.