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.7
x-ai/grok-4.7Try SpaceXAI: Grok 4.7 now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
SpaceXAI: Grok 4.7 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.7
SpaceXAI: Grok 4.7 is a text generation model from xAI, listed on api14 under the model id x-ai/grok-4.7. It sits in the text category and is described by its provider as the flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. The provider release date is 2026-09-21.
The model accepts text, image, and file inputs, and it returns text. Its context window is 500000 tokens, and the maximum output is 450000 tokens, so very large inputs and long generations are both possible within a single request. Supported parameters include include_reasoning, reasoning, and reasoning_effort, which relate to the model's reasoning behaviour, alongside logprobs and top_logprobs for token level inspection.
Those capabilities point to a few practical uses. The provider highlights long-running software engineering tasks, verifying its own work, and agentic workflows, so the model fits code generation and multi-step tool use where a task runs over many turns. Because it accepts images and files, it can also be given documents or screenshots alongside a prompt, which suits knowledge work such as summarising or extracting information from mixed material. The large context window helps when the whole codebase or document set must be in view at once.
Through api14 you call it with the OpenAI-compatible chat completions endpoint and the model id x-ai/grok-4.7. The request supports max_tokens, temperature, top_p, seed, response_format, structured_outputs, and the reasoning controls (reasoning, reasoning_effort, include_reasoning). It also supports tool calling via tools and tool_choice, and token probability output via logprobs and top_logprobs. Set the parameters you need in the request body as you would with any OpenAI-compatible client.
One thing to weigh is the output ceiling: 450000 tokens is generous but not unlimited, so extremely long generations may need to be split or continued across requests. If a task does not involve images or files, or does not need the reasoning and tool features, a simpler text model may be sufficient. For coding, agentic work, and large-document tasks, this model's combination of a 500000 token context and tool support is the reason to choose it.
How to call the SpaceXAI: Grok 4.7 API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "x-ai/grok-4.7".
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.7",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_logprobstop_pSpecifications
- Context length
- 500,000
- Max output
- 450,000
- Input
- text, image, file
- Output
- text
Requests on api14 · last 7 days
SpaceXAI: Grok 4.7: frequently asked questions
- How much does the SpaceXAI: Grok 4.7 API cost?
- SpaceXAI: Grok 4.7 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.7?
- SpaceXAI: Grok 4.7 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.7 do?
- SpaceXAI: Grok 4.7 accepts text, image, file and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call SpaceXAI: Grok 4.7 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "x-ai/grok-4.7". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to SpaceXAI: Grok 4.7?
- Comparable Text models at a similar price: Sakana: Fugu Max, Qwen: Qwen3.8 Max (0902), Qwen: Qwen3.8 2.4T A95B. Each runs through the same API key, so switching is one string.
SpaceXAI: Grok 4.7 community
New topicThis community has no topics yet. Open the first one about SpaceXAI: Grok 4.7.