xai/grok-4 xai Input$1.25 / M tokensOutput$2.50 / M tokensContext window256K tokens Data as of 2026-09-06. Price history for this provider