Skip to main content

Move your LLM traffic off the retired ai-gateway Traffic Policy action

Shipped by Nijiko Yonskai and mohamed

AI Gateway no longer runs as a Traffic Policy action on your own endpoint. It lives at app.ngrok.ai now. A policy that still has the ai-gateway action fails validation with ERR_NGROK_3820.

Your credits already moved to app.ngrok.ai, so your balance is safe. The action’s result variables, such as actions.ngrok.ai_gateway, are gone too. Read the response headers and the Usage API instead.

Get started

  1. Sign in at app.ngrok.ai and create an access key.
  2. Change your apps to send LLM requests to https://gateway.ngrok.ai with that key.
  3. Remove the ai-gateway action from each endpoint’s Traffic Policy.
  4. Email support@ngrok.com if something about your migrated account looks off.