Elon Musk’s xAI has introduced file support to its Grok-powered API, allowing developers to build apps that can upload, read, and analyse documents. The new Files API supports formats like PDF, CSV, JSON, and Python scripts, enabling multi-file conversations and code execution. Available with Grok 4 and Grok 4 Fast, it costs $10 per 1,000 tool invocations.Elon Musk’s xAI has introduced file support to its Grok-powered API, allowing developers to build apps that can upload, read, and analyse documents. The new Files API supports formats like PDF, CSV, JSON, and Python scripts, enabling multi-file conversations and code execution. Available with Grok 4 and Grok 4 Fast, it costs $10 per 1,000 tool invocations.