OpenRouter Upgrade & Migration Current State ! ! Overview Migrating to OpenRouter from a direct provider API (OpenAI, Anthropic) is minimal: change and , add two headers. The OpenAI SDK works natively with OpenRouter. This skill covers migrating from direct APIs, switching between models, upgrading SDK versions, and running comparison tests. Migration from Direct OpenAI Migration from Direct Anthropic TypeScript Migration Migration Checklist Model ID Migration Map | Direct Provider | OpenRouter ID | |----------------|---------------| | | | | | | | | | | | | | | | | | | | | | Comparison Test S…