We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

SpaceXAI: Grok 4.6

x-ai/grok-4.6
TextInput: text · image · fileToolsReasoning500KAdded Aug 12, 2026

Try SpaceXAI: Grok 4.6 now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

SpaceXAI: Grok 4.6 at a glance

  • Input price is 344% higher than the median of 434 Text models.
  • Context window of 500,000 tokens, enough for long documents and multi-turn conversations.
  • Supports tool (function) calling for agents and integrations.
  • Supports structured JSON output with a schema.
  • Supports reasoning effort control.
  • Accepts images as input (vision).
  • A typical request (1,000 input / 500 output tokens) costs about $0.02.

About SpaceXAI: Grok 4.6

Grok 4.6 is a text generation model from xAI, listed on api14 as SpaceXAI: Grok 4.6 under the model id x-ai/grok-4.6. The provider describes it as delivering frontier performance on coding, knowledge work, and STEM tasks. It was released by the provider on 2026-08-12 and has since been succeeded by Grok 4.7, so it sits one step behind the newest Grok generation while remaining available through the gateway.

The model accepts text, images, and files as input, and produces text as output, which makes it a multimodal reader paired with a text-only writer. Its context window is 500,000 tokens, and the maximum output it can generate in a single request is 450,000 tokens. That combination suits workloads where a large amount of source material (documents, codebases, image-and-text bundles) needs to be considered at once and answered with a long, detailed response rather than a short reply.

The practical uses follow directly from those capabilities. Coding assistance, including reading whole repositories or large diffs alongside explanations in prose, is one fit. Knowledge work such as summarising long reports, extracting structured data from mixed text and file inputs, and answering questions over a broad document set is another. STEM reasoning tasks benefit from the wide context and long output, since worked solutions and multi-step derivations take space. Because images can be supplied as input, prompts can combine screenshots, diagrams, or scanned pages with accompanying text.

You call the model through api14's OpenAI-compatible API using the model id x-ai/grok-4.6, in the same way as any other chat completion request on the gateway. The supported request parameters are include_reasoning, logprobs, max_tokens, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, and top_p. These cover sampling controls, deterministic seeds, stop sequences, log probability inspection, structured and JSON-style output formats via response_format and structured_outputs, and tool or function calling through tools and tool_choice. Reasoning behaviour can be tuned with the reasoning, reasoning_effort, and include_reasoning parameters.

One consideration is that Grok 4.6 has been succeeded by Grok 4.7. If you want the newest Grok generation from the same provider, Grok 4.7 is the natural comparison point, and the two can be evaluated against each other on your own workload before you commit. Otherwise, the 500,000 token context, 450,000 token output ceiling, and multimodal input support make Grok 4.6 a reasonable choice for long-context, long-output work.

How to call the SpaceXAI: Grok 4.6 API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "x-ai/grok-4.6".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "x-ai/grok-4.6",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Specifications

Context length
500,000
Max output
450,000
Input
text, image, file
Output
text

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

SpaceXAI: Grok 4.6: frequently asked questions

How much does the SpaceXAI: Grok 4.6 API cost?
SpaceXAI: Grok 4.6 costs Input $7.00 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of SpaceXAI: Grok 4.6?
SpaceXAI: Grok 4.6 reads up to 500,000 tokens per request: prompt, history and documents together. It writes up to 450,000 output tokens per response.
What can SpaceXAI: Grok 4.6 do?
SpaceXAI: Grok 4.6 accepts text, image, file and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call SpaceXAI: Grok 4.6 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "x-ai/grok-4.6". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to SpaceXAI: Grok 4.6?
Comparable Text models at a similar price: SpaceXAI: Grok 4.7, Sakana: Fugu Max, Qwen: Qwen3.8 Max (0902). Each runs through the same API key, so switching is one string.

SpaceXAI: Grok 4.6 community

New topic

This community has no topics yet. Open the first one about SpaceXAI: Grok 4.6.