What happened
Translation covers messages, prompts, images, function tools and calls, reasoning, usage, stop reasons and provider errors; errors are returned with the status code and type expected by the client SDK. (ngrok.com) Web search, code execution and remote MCP hosted tools translate where both formats support them. (ngrok.com)
Translation is enabled for every access key. Requests pass through unchanged when a model already serves the SDK's format, and fallback lists can mix providers while preserving the SDK's response format. (ngrok.com) If a request cannot be translated for one fallback model, the gateway skips it and tries the next. (ngrok.com)
To get started, you need an ngrok account with AI Gateway credits. (ngrok.com) The documented GPT-6.2 Sol example bills those credits and does not require an OpenAI account. (ngrok.com)
There is no additional translation fee; users pay the serving model's rates. (ngrok.com) On ngrok credits, GPT-6.2 Sol is listed at $2.00 per million input tokens and $10.00 per million output tokens. (ngrok.com)
What the archive adds
Unlike a gateway comparison focused on choosing among providers, this release translates between API formats so a client SDK can address models across providers.
Why it matters
A translated request may cost more than a native one if cache markers are dropped, so compare observed usage and cost rather than assuming equivalent billing.
Limits and uncertainty
Translation removes parameters unsupported by the target format; for Messages requests without max_tokens, it sends the model's maximum output-token limit. (ngrok.com) Only text and images translate: files, documents, audio and video cause models requiring translation to be skipped. (ngrok.com) References to provider-stored state such as previous_response_id, and requests subject to a Firewall policy, also skip models that require translation. (ngrok.com) If every model is skipped, the gateway returns ERR_NGROK_27228 with a reason for each. (ngrok.com)
ngrok recommends a model's native-format SDK for the best fidelity, and its translation guide lists supported parameters, hosted tools and skip rules. (ngrok.com)
Skill to build now
Create an access key that allows openai/gpt-6.2-sol, then set the Anthropic TypeScript SDK's baseURL to https://gateway.ngrok.ai and its model to openai/gpt-6.2-sol. (ngrok.com) Run it with node --env-file=.env.local --import tsx index.ts. (ngrok.com)
In Activity, check the request view for status, model, provider, usage, cost and the Translated badge; the Attempts tab shows the SDK and upstream formats and changed parameters. (ngrok.com) Check the Ngrok-AIG-Removed-Params response header too. (ngrok.com) For requests using provider-stored state, send the whole conversation instead of referencing that state.
Reader takeaway
Use translation to try another provider without changing your SDK, then inspect the Activity Attempts view and removed-parameter header before treating the result as equivalent. Translation has no added fee, but model token charges still apply; unsupported inputs or provider-stored state can also rule models out of a fallback list.