Grok-3 Beta APIPricing, Parameters & Features
Learn how to use Grok-3 Beta. See the API price, context window, parameters, capabilities, and examples. Test the model directly in AI API Console.
grok-3-betaWhat is Grok-3 Beta?
xAI frontier model with real-time X knowledge and extreme coding ability.
You can send the model a prompt and receive a response. Depending on the model features, you can also send images, use tools, and ask for structured data.
AI API Console brings the important model information into one place, so you can understand the API before you start building.
Everything in one place
Check pricing, limits, parameters, features, and API examples without jumping between pages.
Grok-3 Beta specifications
The main technical details developers should know before using the Grok-3 Beta API.
The company that provides this model.
The identifier used in API requests.
The amount of information the model can work with.
Types of input supported by this model.
The main type of response generated.
Use the model from your own application.
What can Grok-3 Beta do?
These are common features developers can use when working with the model API.
Text Generation
Create answers, summaries, explanations, ideas, and other text.
Vision
Send supported images and ask the model to understand them.
Structured Output
Return information in a predictable structured format such as JSON.
Web Search
Connect the model with live web results.
Streaming
Receive the response as it is generated instead of waiting for everything.
API Testing
Test prompts and settings before adding the model to your application.
Grok-3 Beta API pricing
API cost is based on tokens. Input tokens are the information you send to the model. Output tokens are the information the model generates.
Tokens sent to the model.
Tokens generated by the model.
Your final API bill depends on how many tokens your application uses. Always check the provider's latest pricing before using a model in production.
Grok-3 Beta API parameters
Parameters let you control how the model creates its response. Supported parameters can change between models.
temperatureControls how varied the response can be.
top_pControls how many possible next tokens are considered.
max_output_tokensSets the maximum size of the generated response.
streamReturns the response while it is being generated.
web_searchLets the model search the web for recent information.
Grok-3 Beta API example
Here is a simple example of an API request. You can use the same idea in your own application.
curl https://api.x.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
-d '{
"model": "grok-3-beta",
"messages": [
{
"role": "user",
"content": "Explain artificial intelligence simply."
}
]
}'Grok-3 Beta API questions
What is Grok-3 Beta?
Grok-3 Beta is an AI model from xAI that developers can use through an API to build AI-powered applications.
How much does Grok-3 Beta cost?
Grok-3 Beta uses token-based API pricing. Input and output tokens have different prices.
What is the Grok-3 Beta context window?
Grok-3 Beta has a context window of 0 tokens based on the current model configuration.
What is the Grok-3 Beta model ID?
The model ID used by this page is grok-3-beta.
How can I test Grok-3 Beta?
You can use the AI API Console playground to test prompts, parameters, and API responses.
Does Grok-3 Beta support images?
Yes, Grok-3 Beta supports image input according to the capabilities configured for this model.
