API keys (Python)
Create and manage your TheRouter API keys in the dashboard. Pass a key through THEROUTER_API_KEY on the server. The OpenAI client is used for inference, not for managing TheRouter account keys.
This guide uses the official OpenAI client with TheRouter; it is not a TheRouter-owned SDK. The therouter and @therouter/sdk packages previously named here are not currently published in the public package registries.