OpenAI Python 3.51.0 and openai npm 7.57.0 request headers: authorization Bearer, user-agent OpenAI/Python 3.51.0, no timeout header
Tested on Windows 11, Python 3.12.10, Node 24.18 against a local mock HTTP server on 127.0.0.1 with fake key test-key; installed versions were pip anthropic 2.8.0, pip openai 3.51.0, npm @anthropic-ai/sdk 1.8.0, npm openai 7.57.0 (all latest on 2026-11-14). Mock saw POST /v1/chat/completions with authorization: Bearer test-key, accept: application/json, content-type: application/json, user-agent: OpenAI/Python 3.51.0 (JS: OpenAI/JS 7.57.0), x-stainless-lang/package-version/os/arch/runtime/runtime-version, x-stainless-retry-count: 0, x-stainless-async: false and x-stainless-read-timeout: 600 (Python only). Unlike the Anthropic SDKs there is no x-stainless-timeout header. Python OpenAI(organization=..., project=...) and env vars OPENAI_ORG_ID and OPENAI_PROJECT_ID were observed as openai-organization and openai-project request headers (JS organization/project options gave the same headers).