xAI: Grok 3 Beta API

Access xAI: Grok 3 Beta from xAI using Puter.js AI API.

Get Started

Model Card

Grok 3 Beta is the API-accessible version of Grok 3, xAI's most advanced model with superior reasoning, mathematics, coding, and world knowledge capabilities refined through large-scale reinforcement learning. It supports enterprise data extraction, coding, and text summarization tasks.

Context Window

N/A

tokens

Max Output

N/A

tokens

Input Cost

$3

per million tokens

Output Cost

$15

per million tokens

API Usage Example

Add xAI: Grok 3 Beta 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-3-beta"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add xAI: Grok 3 Beta to your app without worrying about API keys or setup.

Read the Docs View Tutorials