The OpenAI Authentication API in addition to api-key supports the concepts for Organization ID and Project ID.

For users who belong to multiple organizations or are accessing their projects through their legacy user API key, you can pass a header to specify which organization and project is used for an API request. Usage from these API requests will count as usage for the specified organization and project.

Currently the Spring AI OpenAI Chat, Embedding, Image, Speech and Transcription models support only the api-key authentication key. - Add support for organization-id and project-id. - Align the implementation for common versus model-specific connection property merging for all Spring OpenAI Models. - Alight the Spring Open AI properties documentation across all models. - Add new OpenAI ChatModel additional http-headers option to allow runtime HTTP headers overriding.