pw ai providers create
pw ai providers create
Create an AI provider
Synopsis
The pw ai providers create command creates a new AI provider from an enabled platform catalog entry. The platform defines the provider type, endpoint, and transport policy.
For API-key providers (openai, anthropic, grok, groq, together, fireworks, mistral, deepseek, or an approved custom integration), --api-key is required. For azure-managed providers, --region, --group, and --network are required.
pw ai providers create [flags]Examples
pw ai providers create --name my-grok --provider grok --api-key xai-xxx
# Provision a managed Azure provider
pw ai providers create --name my-azure --provider azure-managed --region eastus --group my-group --network my-networkOptions
--api-key string API key (required for API-key providers)
--group string Billing group (required for azure-managed)
-h, --help help for create
--model string Initial model deployment (azure-managed)
--name string Provider name (required)
--network string Network (required for azure-managed)
--provider string Catalog entry ID (required, e.g. openai, anthropic, grok, azure-managed)
--region string Region (required for azure-managed)Options inherited from parent commands
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
-v, --verbose Enable verbose loggingSEE ALSO
- pw ai providers - Manage AI providers