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
| Category | Examples |
|---|---|
| AI | OpenAI, Anthropic, Gemini, Groq, Together AI, Replicate |
| Payments | Stripe, Razorpay, PayPal |
| Messaging | Twilio, Resend, SendGrid |
| Auth | Clerk |
| Infrastructure | Supabase, Firebase, AWS |
Full registry
| Provider | Category | Host patterns (summary) |
|---|---|---|
openai | ai | api.openai.com, Azure OpenAI |
anthropic | ai | api.anthropic.com |
gemini | ai | generativelanguage.googleapis.com |
groq | ai | api.groq.com |
togetherai | ai | api.together.xyz |
replicate | ai | api.replicate.com |
stripe | payments | api.stripe.com |
razorpay | payments | api.razorpay.com |
paypal | payments | api.paypal.com |
twilio | messaging | api.twilio.com |
resend | messaging | api.resend.com |
sendgrid | messaging | api.sendgrid.com |
clerk | auth | api.clerk.com, *.clerk.accounts.dev |
supabase | infrastructure | *.supabase.co |
firebase | infrastructure | firebaseio.com, Firebase APIs |
aws | infrastructure | *.amazonaws.com |
LLM-specific fields
When a provider is in the ai category, also send when available:
| Field | Use |
|---|---|
modelName | e.g. gpt-4o, claude-sonnet-4 |
tokensInput / tokensOutput | Token usage |
firstTokenLatencyMs | Time to first token (streaming) |
streamingLatencyMs | Full stream duration |
costUsd | Estimated 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 inferredDashboard
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.
