Skip to content

Supported providers ​

Amlexia auto-detects well-known APIs from hostnames and endpoint hints. You can always override with an explicit provider field on track().

Detection categories ​

CategoryExamples
AIOpenAI, Anthropic, Gemini, Groq, Together AI, Replicate
PaymentsStripe, Razorpay, PayPal
MessagingTwilio, Resend, SendGrid
AuthClerk
InfrastructureSupabase, Firebase, AWS

Full registry ​

ProviderCategoryHost patterns (summary)
openaiaiapi.openai.com, Azure OpenAI
anthropicaiapi.anthropic.com
geminiaigenerativelanguage.googleapis.com
groqaiapi.groq.com
togetheraiaiapi.together.xyz
replicateaiapi.replicate.com
stripepaymentsapi.stripe.com
razorpaypaymentsapi.razorpay.com
paypalpaymentsapi.paypal.com
twiliomessagingapi.twilio.com
resendmessagingapi.resend.com
sendgridmessagingapi.sendgrid.com
clerkauthapi.clerk.com, *.clerk.accounts.dev
supabaseinfrastructure*.supabase.co
firebaseinfrastructurefirebaseio.com, Firebase APIs
awsinfrastructure*.amazonaws.com

LLM-specific fields ​

When a provider is in the ai category, also send when available:

FieldUse
modelNamee.g. gpt-4o, claude-sonnet-4
tokensInput / tokensOutputToken usage
firstTokenLatencyMsTime to first token (streaming)
streamingLatencyMsFull stream duration
costUsdEstimated cost if you compute it

Example (Node):

typescript
await client.track({
  endpoint: 'POST /v1/chat/completions',
  method: 'POST',
  statusCode: 200,
  latencyMs: 1840,
  provider: 'openai',
  modelName: 'gpt-4o',
  tokensInput: 1200,
  tokensOutput: 340,
  costUsd: 0.012,
});

Manual override ​

If you proxy requests or use a custom gateway:

typescript
provider: 'openai',
providerCategory: 'ai', // optional; usually inferred

Dashboard ​

Open Providers in app.amlexia.com to see per-provider latency, errors, and cost over your selected time range.

Not listed? ​

Use any string for provider. Unknown providers appear as unknown in analytics until we add detection rules. Contact support@amlexia.com to request first-class detection.