Guides
Migrate from Anthropic SDK
Switch from the Anthropic SDK to Routor’s OpenAI-compatible format.
If you are using Anthropic’s SDK directly, switching to Routor takes two changes. You swap to the OpenAI-compatible SDK format, which Routor uses as its standard interface.
After:
After:
Or create a Routing Profile with a tier floor set permanently, so every request from that key uses at least STANDARD tier where Claude Sonnet is the primary model.