Skip to main content
POST
/
{provider}
/
{path}
curl https://api.arouter.ai/openai/v1/chat/completions \
  -H "Authorization: Bearer lr_live_xxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.4",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
ARouter’s provider proxy forwards requests directly to a supported provider’s native API while handling provider authentication for you.
curl https://api.arouter.ai/openai/v1/chat/completions \
  -H "Authorization: Bearer lr_live_xxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.4",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Path Parameters

ParameterDescription
providerProvider slug such as openai, anthropic, google, deepseek, or groq
pathNative API path to forward after the provider prefix

Notes

  • Requests and responses are passed through in the provider’s native format.
  • ARouter injects the provider credential automatically. You only send your ARouter API key.
  • Usage is still metered against your ARouter account.
  • Use this endpoint when you need provider-native features that are not represented in the normalized ARouter request schema.
For a broader guide with provider-specific examples, see Provider Proxy.