Skip to main content
Glama

create_provider

Configure AI model provider integrations like OpenAI or Anthropic in Portkey by setting up names, rate limits, credit controls, and workspace connections.

Instructions

Create a new provider configuration in Portkey. Providers define integrations with AI model providers like OpenAI, Anthropic, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name for the provider
integration_idYesIntegration slug for the provider (e.g., 'openai', 'anthropic', 'azure-openai')
workspace_idNoWorkspace ID - required when using organization admin API keys
slugNoCustom slug for the provider. Auto-generated with random suffix if omitted
noteNoOptional note or description for the provider
credit_limitNoCredit limit for usage
alert_thresholdNoAlert threshold percentage (0-100)
rate_limit_valueNoRate limit value
rate_limit_unitNoRate limit unit: 'rpm' (requests per minute) or 'rpd' (requests per day)
expires_atNoExpiration date in ISO 8601 format

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/s-b-e-n-s-o-n/portkey-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server