In Azure Foundry, under “Use with Foundry” → Foundry, select the aiportal foundry project

Once in the Foundry, select “Models and Endpoints” in the left side menu




4a. Take note of:
Endpoint
The “azure endpoint” in the right code screen
(in the above it is: https://dev-aiportal.services.ai.azure.com/openai/v1/)
Deployment:
The “Name” in the left table (in the above it is: grok-4-1-fast-reasoning)
Model Deployment Quota:
The “Rate Limit” in the lower left table (in the above it is: 50,000)
Once the model has been added to Azure and the values have been noted, add the provider to your AI Portal using Adding / Updating a Grok Provider in AI Portal