Compare Kimi K2.7 Code from moonshotai and Grok 4.7 from SpaceXAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Kimi K2.7 Code and Grok 4.7 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Kimi K2.7 Code, from moonshotai, has a 262,144-token context window and is priced at $0.68/M tokens input, $3.40/M tokens output on OpenRouter.
Grok 4.7, from SpaceXAI, has a 500,000-token context window and is priced at $1.60/M tokens input, $4.80/M tokens output on OpenRouter.

