Use the Chat Completions or Responses API.
Use one API Key and Base URL to select models and endpoints for each project.