Compare Claude Sonnet 4.5 from Anthropic and Gemini 2.5 Flash Preview 09-2025 from Google on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Claude Sonnet 4.5 and Gemini 2.5 Flash Preview 09-2025 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Claude Sonnet 4.5, from Anthropic, has a 1,000,000-token context window and is priced at $3/M tokens input, $15/M tokens output on OpenRouter.
Gemini 2.5 Flash Preview 09-2025, from Google, has a 1,048,576-token context window and is priced by the provider serving it on OpenRouter.