xAI is testing a credits-based pricing model for Grok Build, its upcoming coding tool.