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.5
x-ai/grok-4.5Try SpaceXAI: Grok 4.5 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.5 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.5
SpaceXAI: Grok 4.5 is a text generation model from xAI, listed on api14 under the model id x-ai/grok-4.5. It sits in the text category and is positioned by its provider as a model with frontier performance on coding, knowledge work, and STEM tasks. The provider release date is 2026-07-08. If you are evaluating models for a production workload, this is the entry to consider when your tasks lean toward code, technical reasoning, or knowledge-intensive work rather than casual chat alone.
The model accepts text, image, and file inputs, and it produces text output. Its context window is 500,000 tokens, with a maximum output of 450,000 tokens. That combination of a large input window and a large output ceiling means you can supply long documents, codebases, or mixed text and image payloads in a single request and still leave substantial room for the model to generate a detailed answer. Because input modalities include images and files, the model can be used in workflows where the source material is not plain text alone.
Those capabilities point to a few practical uses. Coding assistance is a natural fit: reviewing large files, explaining unfamiliar code, generating patches, or answering questions about a repository that you pass in as context. Knowledge work follows from the same properties, such as summarising long reports, extracting structured information from documents, or answering questions grounded in material you supply. STEM tasks, including multi-step technical reasoning, also fit, and the reasoning-related parameters let you control how much internal reasoning effort the model applies before it answers. Structured outputs and response format controls make it usable in pipelines where the result must conform to a schema rather than free prose.
To call it through api14, use the OpenAI-compatible chat completions endpoint with the model id x-ai/grok-4.5. The supported request parameters are include_reasoning, logprobs, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, and top_p. In practice this means you can cap generation with max_tokens, tune sampling with temperature and top_p, request deterministic behaviour with seed, inspect token-level probabilities with logprobs and top_logprobs, and constrain the reply with response_format or structured_outputs. Tool use is available through tools and tool_choice, and the reasoning controls let you enable or adjust internal reasoning and decide whether it is surfaced via include_reasoning.
One thing to keep in mind is that output is text only, so if you need generated images or audio, this model is not the right choice. The large context window and output ceiling also mean requests can be heavy, so for short, simple tasks a smaller or faster model may be more appropriate. Within its text, image, and file input scope, though, Grok 4.5 is a reasonable default when the work is technical or document-heavy and you want the option of explicit reasoning and structured output.
How to call the SpaceXAI: Grok 4.5 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.5".
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.5",
"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.5: frequently asked questions
- How much does the SpaceXAI: Grok 4.5 API cost?
- SpaceXAI: Grok 4.5 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.5?
- SpaceXAI: Grok 4.5 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.5 do?
- SpaceXAI: Grok 4.5 accepts text, image, file and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call SpaceXAI: Grok 4.5 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "x-ai/grok-4.5". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to SpaceXAI: Grok 4.5?
- 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.5 community
New topicThis community has no topics yet. Open the first one about SpaceXAI: Grok 4.5.