Skip to content

For the complete documentation index, see llms.txt.

Model providers

The trace analyzer can use the same supported model provider as your agents. Choose it independently from the cloud hosting PIG. For example, an analyzer on GKE with Cloud Storage can use OpenAI or Azure OpenAI.

Support for Anthropic’s Claude models is coming soon.

Provider valueResponses API base URLAuthentication
openaihttps://api.openai.com/v1api_key
azure_openaihttps://RESOURCE.openai.azure.com/openai/v1 or https://RESOURCE.services.ai.azure.com/openai/v1api_key
aws_bedrockhttps://bedrock-mantle.REGION.api.aws/v1 or the same host with /openai/v1api_key or aws_sigv4

Replace RESOURCE and REGION with your provider settings. Use a model or deployment name available to your account through that endpoint. Azure uses the model deployment name.

URLs must use HTTPS without embedded credentials, an explicit port, query parameters, or a fragment. Ordinary Bedrock Runtime URLs and arbitrary OpenAI-compatible endpoints are not accepted. Deploying on Google Cloud does not add Vertex AI model support.

Set these fields under spec.analysis and deliver the key through your secret manager:

model:
provider: openai
authentication: api_key
baseURL: https://api.openai.com/v1
name: REPLACE_MODEL_NAME
apiKeySecretRef:
name: pig-credentials
key: model-api-key

For Bedrock Signature Version 4, use provider: aws_bedrock and authentication: aws_sigv4, and omit apiKeySecretRef. Grant the analyzer’s AWS identity access to the chosen model. Storage permissions alone do not authorize inference.

The analyzer sends session content and relevant instruction context to your selected model endpoint. Choose a region and provider policy that meet your requirements, as described in Trust and data model.

Reserve quota for analysis alongside your agents’ traffic. Monitor rate limits, latency, and analysis completion time before expanding collection. Changing cluster size does not increase model quota.

The model configuration takes effect with the rest of the analysis settings: activation time, quiet window, and a complete repository identity. Use a real session to verify successful analysis.