x-ai/grok-code-fast-1
Model Card
Grok Code Fast 1 is a speedy, economical reasoning model built from scratch specifically for agentic coding workflows, released August 2025. It excels at TypeScript, Python, Java, Rust, C++, and Go with a 256K context window and ~92 tokens/second throughput.
Context Window
N/A
tokens
Max Output
10,000
tokens
Input Cost
$0.2
per million tokens
Output Cost
$1.5
per million tokens
API Usage Example
Add xAI: Grok Code Fast 1 to your app with just a few lines of code.
No API keys, no backend, no configuration required.
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "x-ai/grok-code-fast-1"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Get started with Puter.js
Add xAI: Grok Code Fast 1 to your app without worrying about API keys or setup.
Read the Docs View Tutorials