Grok 4.6

Neural Network

Grok 4.6 by SpaceXAI is a strong reasoning model for code, analytics, and STEM tasks.

Specifications

Input
text, images, documents
Output
text
Context size
500 000 tokens
Max answer length
450 000 tokens
Reasoning effort
low, medium, high, extra high
Capabilities
function calling
1,92 $

Prompt cost

(per 1M tokens)

5,76 $

Answer cost

(per 1M tokens)

*Prices are shown for API usage via ECO providers.
bothub
BotHub: Try neural networks for freebot

Caps remaining: 0 CAPS
Code example and API for Grok 4.6We offer full access to the OpenAI API through our service. All our endpoints fully comply with OpenAI endpoints and can be used both with plugins and when developing your own software through the SDK.Create API key
import OpenAI from 'openai';
const openai = new OpenAI({
  apiKey: '<your bothub access token>',
  baseURL: 'https://openai.bothub.chat/v1'
});


// Sync - Text generation 

async function main() {
  const chatCompletion = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'grok-4.6:batch',
  });
} 

// Async - Text generation 

async function main() {
  const stream = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'grok-4.6:batch',
    stream: true
  });

  for await (const chunk of stream) {
    const part: string | null = chunk.choices[0].delta?.content ?? null;
  }
} 
main();
illustaration

How it works Grok 4.6?

Grok 4.6 is a SpaceXAI text model focused on programming, knowledge work, and STEM tasks. It is suitable for projects where it is important not just to generate code, but to understand system logic: the model confidently maintains engineering context, helps with refactoring, debugging, and parsing technical documentation, and in analytical scenarios — with data structuring, calculations, and hypothesis testing. In BotHub, it is available in a common window with other models, so the same request can be run through Grok 4.6 and another model to compare results without rewriting the integration: the unified API is compatible with OpenAI, and payment is in rubles based on actual tokens used, without a subscription or foreign card. Access is open from Russia without a VPN, and data is transmitted via an encrypted channel and not saved. For teams, there is a contract, invoice, and electronic document management with an admin panel and limits. Typical scenarios: code development and review, migration and analysis of legacy projects, engineering and scientific calculations, analytics and report preparation, as well as building internal assistants via API. Need another model? Switching in BotHub takes a couple of clicks.

Frequently asked questions about Grok 4.6

You can use generated results for commercial purposes. You own all rights to the content you create. The only restriction: make sure your prompt does not include copyrighted third-party material. You are responsible for respecting the rights to any input data.

This is a text model with a 500,000 token context: you can attach images and documents to the request and ask questions about their content. It is suitable for parsing long reports, working with code, PDFs, and spreadsheets, as well as processing large volumes of similar requests.

In a single response, the model can output up to 450,000 tokens — this limit is specified in our data. This allows you to receive a voluminous document, a full analysis of an uploaded file, or a large block of code as a single unit, without breaking it into parts.

A separate note about reasoning before answering is not marked in our data, so we cannot guarantee a step-by-step reasoning mode. However, the model has an effort parameter that affects the depth of request processing. For complex tasks, check the behavior with your own examples.

Yes, function calling and structured JSON output are marked in our data. This means the model can be integrated into agent scenarios and pipelines: it will return an answer in a specified schema, which your code or an external service will then process.

Yes, in addition to text, the model accepts images and documents — you can attach them to the request and ask questions about the content. Audio and video input is not marked in our data, so you should not count on working with such files through this interface.

Our data does not record the model's quality level specifically in Russian, so we will not promise flawless understanding. The model works with text, including in different languages, but for critical tasks, it is better to run your own examples and compare the result.

Support ServiceOpen from 10:00 to 18:00 MSK