x-ai/grok-4-0709
Model Card
Grok 4 0709 is the July 9, 2025 snapshot of xAI's flagship reasoning model, trained with reinforcement learning to use tools like a code interpreter and web browsing. It features a 256K context window, native tool use, parallel tool calling, and support for both image and text inputs.
Context Window
256K
tokens
Max Output
256K
tokens
Input Cost
$3
per million tokens
Output Cost
$15
per million tokens
Release Date
Jul 9, 2025
API Usage Example
Add xAI: Grok 4 0709 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-4-0709"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Get started with Puter.js
Add xAI: Grok 4 0709 to your app without worrying about API keys or setup.
Read the Docs View Tutorials