Grok Vision Beta API

Access Grok Vision Beta from xAI using Puter.js AI API.

Get Started

Model Card

Grok Vision Beta was the initial vision-enabled API model from xAI, providing image understanding and multimodal capabilities for processing text alongside visual inputs. It was released alongside grok-beta for enterprise API testing with an 8K context window.

Context Window

8K

tokens

Max Output

8,192

tokens

Input Cost

$5

per million tokens

Output Cost

$15

per million tokens

API Usage Example

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

View full documentation →

Get started with Puter.js

Add Grok Vision Beta to your app without worrying about API keys or setup.

Read the Docs View Tutorials