> For the complete documentation index, see llms.txt.
Skip to main content

Check out Port for yourself ➜ 

Selecting LLM provider

When interacting with Port AI through the API, you can select which provider and model to use for specific requests. This gives you fine-grained control over AI processing on a per-request basis.

Port AI integration

LLM providers integrate seamlessly with Port AI. You can specify the provider and model when making API requests, overriding the organization's default settings for specific use cases.

Port AI API with custom provider

Specify a custom provider and model when making Port AI API requests. See the Selecting Model section for detailed examples of how to include provider and model parameters in your requests.

Default provider selection

If no provider is specified in your API request, the system uses default values:

  1. Organization Defaults: If your organization has configured custom defaults
  2. System Defaults: Port's fallback settings:
    • Default Provider: port
    • Default Model: claude-sonnet-4-5-20250929

Provider validation

When you specify a provider and model in your API request, the system validates that:

  1. Provider exists: The specified provider is configured for your organization
  2. Provider is enabled: The provider configuration is active
  3. Model is available: The requested model is enabled for that provider
  4. Permissions: You have access to use the specified provider

Use cases for custom provider selection

  • Cost Optimization: Choose different providers based on request complexity or your existing contracts
  • Compliance Requirements: Use specific providers for sensitive data that must stay within certain infrastructure
  • Performance Optimization: Select providers based on response time needs or model capabilities
  • Regional Requirements: Use providers that meet data residency or regional compliance needs

FAQ