Foundry AI Admin

Manage users, monitor usage, control access

Foundry AI Admin

-
Total Requests
-
Successful (2xx)
-
Total Tokens
~2 min delay
-
Errors (4xx/5xx)
-
Avg Latency
-
Active Users
0
Rate Limited (429s)
APIM
Foundry
DNS
System Health
Token Usage by User ~2 min delay
UserTop ModelTokensUsage
Token Usage by Model ~2 min delay
ModelTokensShareBar
Recent LLM Requests ~2 min delay
TimeUserModelTokens
User Management
NameEmailKey (click to copy)StatusActions
Model Capacity & Rate Limits Per APIM user: 500K TPM / 1000 RPM
ModelFoundry TPMFoundry RPMInput $/MTokOutput $/MTok
Claude Opus 4.61,003,0001,003$15.00$75.00
Claude Sonnet 4.61,001,0001,001$3.00$15.00
Claude Haiku 4.5250,000250$0.80$4.00
GPT 5.51,000,0001,000$2.00$10.00
GPT 5.3 Codex250,000250$1.50$7.00
~2 min delay on token metrics
-
Total Tokens
-
Estimated Cost
-
Projected Monthly
-
Avg Daily Cost
Daily Token Usage
Daily Cost Trend
Cost by User
UserPromptCompletionTotal TokensEst. CostShare
Cost by Model
Token Breakdown by Model
ModelPromptCompletionReasoningCachedEst. Cost
Token Efficiency
Select a user above to view their usage details
Subscription Key Click to copy
...
Use this as your ANTHROPIC_API_KEY. See the Setup tab for full configuration guide.
Unable to retrieve key. Visit the Developer Portal to view your key, or contact admin.

You don't have an API subscription yet. Activate to get your key and start using Foundry AI.

-
Total Tokens
-
Estimated Cost
-
Avg Daily Tokens
-
Avg Latency
Daily Token Usage
Model Mix
Tokens & Cost Over Time
Daily Breakdown
DatePromptCompletionTotalEst. Cost
Request Performance
Checking...
-
Success Rate (1h)
-
Success Rate (24h)
-
Success Rate (7d)
-
Errors (24h)
Error Rate (24h)
Latency (24h) — Avg vs P95
Response Code Distribution (24h)
Recent Errors
TimeCodeReasonUser
Model Health (last 1h)
ModelRequestsSuccessErrorsSuccess RateAvg Latency

Getting Started with Foundry AI

Follow these steps to connect Claude Code and other AI tools through the Vituity AI Gateway.

Step 1 — PrerequisitesZscaler + Network

The AI Gateway uses a private endpoint — you must be connected through Zscaler ZPA to reach it.

If you're on a Vituity-managed laptop with Zscaler installed, you're already set.

Verify connectivity:

nslookup haute-apim-v2.azure-api.net

You should see an IP address in the 10.x.x.x range (private). If you get a public IP or timeout, Zscaler is not routing correctly.

Step 2 — Get Your API KeyDeveloper Portal
  1. Open the Developer Portal
  2. Sign in with your Vituity Okta SSO credentials
  3. Under Subscriptions, find your subscription (e.g. sub-yourname)
  4. Click Show next to the Primary Key and copy it
Don't have a subscription? Ask your admin (KaitheA@vituity.com) to add you to the sg-haute-foundry-users Entra group and run user sync.
Step 3 — VS Code SetupClaude Code Extension

Install the Claude Code extension:

  1. Open VS Code
  2. Go to Extensions (Cmd+Shift+X / Ctrl+Shift+X)
  3. Search for "Claude Code" by Anthropic
  4. Click Install

Configure environment variables in VS Code:

  1. Open Settings (Cmd+, / Ctrl+,)
  2. Search for "Claude Code: Environment Variables"
  3. Click "Edit in settings.json"
  4. Add the following:
{ "claude-code.environmentVariables": { "ANTHROPIC_BASE_URL": "https://haute-apim-v2.azure-api.net/v2/anthropic", "ANTHROPIC_API_KEY": "<your-key-from-step-2>" } }
  1. Restart VS Code — Claude Code will now route through the Vituity AI Gateway
Tip: You can also set these as system-wide environment variables (Step 4) so they work in the terminal CLI too.
Step 4 — Terminal / CLI SetupMac, Linux, Windows

Mac / Linux — add to your shell profile (~/.zshrc or ~/.bashrc):

# Foundry AI Gateway export ANTHROPIC_BASE_URL=https://haute-apim-v2.azure-api.net/v2/anthropic export ANTHROPIC_API_KEY=<your-key-from-step-2>

Then reload your shell:

source ~/.zshrc

Windows — open PowerShell as Administrator:

setx ANTHROPIC_BASE_URL "https://haute-apim-v2.azure-api.net/v2/anthropic" setx ANTHROPIC_API_KEY "<your-key-from-step-2>"
Important: Close and reopen your terminal / VS Code after setting environment variables. They won't take effect in the current session.
Step 5 — Verify & TroubleshootTest your connection

Test with curl (Mac/Linux terminal):

Mac / Linux:

curl -s https://haute-apim-v2.azure-api.net/v2/anthropic/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{"model":"claude-sonnet-4-6","max_tokens":50,"messages":[{"role":"user","content":"Say hello"}]}'

Windows (PowerShell):

curl.exe -s https://haute-apim-v2.azure-api.net/v2/anthropic/v1/messages ` -H "x-api-key: $env:ANTHROPIC_API_KEY" ` -H "anthropic-version: 2023-06-01" ` -H "Content-Type: application/json" ` -d '{"model":"claude-sonnet-4-6","max_tokens":50,"messages":[{"role":"user","content":"Say hello"}]}'

Look for "text":"Hello!..." in the response. If you see Claude's reply, you're all set.

If you see an error instead, check the troubleshooting table below.

Available Models:

ModelProviderBest For
claude-sonnet-4-6AnthropicEveryday coding — fast, capable, default for Claude Code
claude-opus-4-6AnthropicComplex reasoning — architecture, debugging, long context
claude-haiku-4-5AnthropicQuick tasks — autocomplete, short answers, lowest cost
gpt-5.5OpenAIGeneral purpose — alternative to Claude for app development
gpt-5.3-codexOpenAICode generation — optimized for code tasks

Common Errors:

ErrorCauseFix
403 ForbiddenInvalid API key or no subscriptionCheck your key in Step 2. Contact admin if not subscribed.
Timeout / Connection refusedZscaler not connectedCheck Step 1 — verify ZPA is active and nslookup resolves.
DNS resolution failureZscaler not routingSame as above — ZPA must be connected for private endpoint.
429 Too Many RequestsRate limitedWait and retry. Limits: 500K tokens/min, 1000 requests/min per user.
500 / 502 / 503Backend issueCheck the Health tab. Contact admin if persistent.
"model may not exist"Wrong ANTHROPIC_BASE_URL (old path)Run the fix script below to update all locations.

Windows — Fix ANTHROPIC_BASE_URL Everywhere

If your URL is pointing to the old /anthropic path instead of /v2/anthropic, paste this into PowerShell from your project folder:

$url = "https://haute-apim-v2.azure-api.net/v2/anthropic" # User environment variable (persists across reboots) [System.Environment]::SetEnvironmentVariable("ANTHROPIC_BASE_URL", $url, "User") # Current session $env:ANTHROPIC_BASE_URL = $url # All .env files in current directory and subdirs Get-ChildItem -Recurse -Filter ".env" | ForEach-Object { $content = Get-Content $_.FullName -Raw if ($content -match "ANTHROPIC_BASE_URL") { $content = $content -replace "ANTHROPIC_BASE_URL=.*", "ANTHROPIC_BASE_URL=$url" Set-Content $_.FullName $content Write-Host "Updated: $($_.FullName)" } } Write-Host "Done. Restart VS Code to apply."

Mac / Linux — Fix ANTHROPIC_BASE_URL Everywhere

URL="https://haute-apim-v2.azure-api.net/v2/anthropic" # Update shell profile sed -i'' -e "s|ANTHROPIC_BASE_URL=.*|ANTHROPIC_BASE_URL=$URL|" ~/.zshrc ~/.bashrc 2>/dev/null # Update .env files in current directory find . -name ".env" -exec sed -i'' -e "s|ANTHROPIC_BASE_URL=.*|ANTHROPIC_BASE_URL=$URL|" {} \; # Apply to current session export ANTHROPIC_BASE_URL=$URL echo "Done. Restart VS Code to apply."
Need help? Contact KaitheA@vituity.com for access issues, key problems, or onboarding support.

Add Single User