On August 29, Elon Musk’s artificial intelligence startup xAI unveiled a new “fast and cost-effective” code generation model on Thursday, marking its official entry into the core focus area of AI-driven enterprises.
AI-powered code generation tools are software applications based on artificial intelligence capable of autonomously completing various coding-related tasks.
The newly introduced model from xAI, named Grok Code Fast 1, will be temporarily available for free access on popular intelligent programming platforms, including Cursor, GitHub Copilot, Cline, opencode, Windsurf, Roo Code, and Kilo Code.
According to reports, the model features a newly designed architecture built from the ground up. Its pre-training dataset includes extensive programming content and has been further optimized through training on real-world coding task datasets.
Grok Code Fast 1 excels particularly in TypeScript, Python, Java, Rust, C++, and Go. It can handle a wide range of programming tasks with minimal supervision, from building new projects to debugging and fixing vulnerabilities.
The model is priced at $0.20 per million input tokens (approximately RMB 1.4 at current exchange rates), $1.50 per million output tokens (approximately RMB 10.7), and $0.02 per million cached input tokens (approximately RMB 0.14), making it a budget-friendly choice for developers.
Major AI companies like OpenAI and Microsoft are also actively pushing for the widespread adoption of AI code assistants among users.
In May of this year, Microsoft introduced new features for its code generation tool GitHub Copilot during its annual Build developer conference. Microsoft CEO Satya Nadella had previously revealed in April that between 20% and 30% of the company’s code is currently generated by AI.
OpenAI, the developer behind ChatGPT, had already made its Codex code generation tool available to ChatGPT Plus subscribers in June.
In related news, xAI filed a lawsuit on Monday in the U.S. District Court for the Eastern District of Texas against Apple and OpenAI, accusing the two companies of illegal collusion aimed at stifling market competition within the AI industry.