Compare Llama 4 Maverick from Meta Llama and Phi 4 from Microsoft on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Llama 4 Maverick and Phi 4 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Llama 4 Maverick, from Meta Llama, has a 1,048,576-token context window and is priced at $0.20/M tokens input, $0.696/M tokens output on OpenRouter.
Phi 4, from Microsoft, has a 16,384-token context window and is priced at $0.07/M tokens input, $0.14/M tokens output on OpenRouter.