Introduction
OpenAI-compatible chat for Grok 4.3: one message array carrying text and image parts, five reasoning-effort levels including none, and replies up to 900,000 tokens.
Grok 4.3 is xAI's fast, reliable Grok, published as a single OpenAI-compatible endpoint at /v1/chat/completions. A request holds at most 256 ordered turns and up to 1,000,000 tokens with image content counted inside that budget, and it returns either one chat.completion object or an SSE stream of chunks. Since 15 May 2026 xAI redirects grok-4-fast, grok-4-1-fast, grok-4-0709, grok-code-fast-1 and grok-3 here, so this is the model those integrations now run on.
Key features & highlights
none asks the model to skip thinking, not to think less
The reasoning_effort parameter takes none, low, medium, high and xhigh, and the default on this model is low rather than high. At none the model is asked to skip the deliberation pass, and most replies arrive without one: a yes-or-no classification usually comes back as a single token instead of a paragraph of reasoning followed by the word you wanted. Effort is billed as output tokens, so the level you choose moves both the latency and the bill. Among the Grok models published here, only this one offers none.
The window is 1,000,000 tokens, the long-context line is still 200,000
Those are two different numbers, and the gap between them is where the surprises live. A request prices on the long-context rate from 200,000 combined input and cached input tokens upward, which is one fifth of what this model still accepts, so there is a wide band in which the prompt fits comfortably and already bills at the long rate. The estimate shown before you send names the tier the request falls into.
Request parameters
| Parameter | Required | Description |
|---|---|---|
messages | Yes | Put the source text and any invoice |
reasoning_effort | No | none, low, medium, high or xhigh. Low is the default and none asks the model to skip the deliberation pass; effort is spent in output tokens. |
max_tokens | No | Caps the visible reply at 900,000; the default of 4,096 truncates a long answer silently. |
temperature | No | Grok 4.3 accepts 0–2, initially 0.7. Start at 0 when evaluating extraction accuracy, then compare the returned fields against your fixtures. |
top_p | No | For Grok 4.3 label extraction, change |
tools | No | Give Grok 4.3 up to 128 function definitions for extraction and lookup work; your application executes the requested functions. at most 128 items |
parallel_tool_calls | No | For independent Grok 4.3 lookups, keep |
tool_choice | No | For Grok 4.3 classification, none keeps the result in the reply; required delegates to a function. auto leaves that choice open, and a function object selects a named operation. |
response_format | No | For Grok 4.3 extraction at effort none, request a JSON object and validate its fields before storing a classification result. |
Pricing
Input $1.25 / Output $2.50 per 1 million tokens; Prompts of 200K tokens or more: Input $2.50 / Output $5
Set reasoning_effort to none explicitly and most Grok 4.3 replies carry no reasoning tokens. If a reply still reports some and SpicyAPI has confirmed they are counted inside the output tokens, that part is not billed; in every other case reasoning tokens are billed as output. Source text still counts toward the input tier. Below 200,000 total input tokens the standard rates apply; from that boundary the entire request uses long-context input, cached-input and output rates. The hold ignores cache savings and is reconciled with measured usage.
Use cases
Classify, extract and assign tasks at effort none
Ticket labels, fields pulled out of an invoice, or the decision about which downstream model gets a request: none asks the model to skip the deliberation pass, so the answer arrives about as fast as the model can write it and most replies carry no reasoning tokens to pay for. Pair it with response_format so the reply comes back as a JSON object your code reads directly rather than a sentence someone has to parse.
Port an integration off a retired model id
xAI retired grok-4-fast-reasoning, grok-4-fast-non-reasoning, grok-4-1-fast-reasoning, grok-4-1-fast-non-reasoning, grok-4-0709, grok-code-fast-1 and grok-3 on 15 May 2026 and redirects all of them to this model. Point the client at xai/grok-4.3, set reasoning_effort to low where the old id was a reasoning variant and to none where it was not, and the context budget grows on the way across.
A million tokens of source in a single turn
A whole repository, a year of support transcripts or a stack of contracts fits in one request, so the answer is not assembled from chunks that never saw each other. Ask for the wording to be quoted clause by clause, and raise max_tokens when the reply itself has to be long: the default of 4,096 truncates without raising an error.
Screenshots and stack traces in the same message
Attach a broken dashboard as an image_url part at detail high and paste the trace as text in the same user turn, then ask for ranked causes. The picture and the log arrive together, so the model is not working from your transcription of either one, and both are metered inside the same window as the prompt.
Prompt guide & pro tips
Set the effort level on purpose
Use Grok 4.3 effort none for direct extraction or classification and low, the default, for ordinary tool work. medium, high and xhigh allow more deliberation. Reasoning is billed as output and is not constrained by the visible-reply max_tokens setting on this endpoint.
A request you can paste
Content on a user message may be a plain string or an array of parts, and this model declares two part types:
{"type": "text", "text": "..."}{"type": "image_url", "image_url": {"url": "...", "detail": "auto|low|high"}}
curl https://api.spicyapi.ai/v1/chat/completions \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "xai/grok-4.3",
"messages": [{"role": "user", "content": [
{"type": "text", "text": "Which panel shows the regression, and what changed?"},
{"type": "image_url", "image_url": {"url": "https://cdn.spicyapi.ai/models/examples/inputs/c681580c3c6a0b63.jpeg", "detail": "high"}},
{"type": "image_url", "image_url": {"url": "https://cdn.spicyapi.ai/models/examples/inputs/59f0bc6291069978.jpeg", "detail": "high"}}
]}],
"max_tokens": 4000
}'
Read the reply, and the meter
Streaming is the practical way to consume a long generation: stream: true returns chat.completion.chunk events until data: [DONE], and a non-streamed call at xhigh on a full window can run long enough to trip a client timeout. Before you add another document, check whether the request has crossed 200,000 input tokens, because that is where the long-context rate begins. File and PDF parts are not accepted on this endpoint, so an attachment has to become text or an image before it is sent.
API quick start
curl --fail-with-body -sN https://api.spicyapi.ai/v1/chat/completions \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "xai/grok-4.3/chat",
"messages": [
{
"role": "user",
"content": "Summarise the following release notes into three bullet points."
}
],
"stream": true
}' \
| jq --unbuffered -Rrj 'select(startswith("data: ")) | .[6:] | select(. != "[DONE]") | fromjson | if .error then "\n[error] \(.error.message)\n" else (.choices[0].delta.content? // empty) end'
See the API reference for authentication, the complete schema, polling, and error handling.













