Grok 4.3 API

Grok 4.3 is a large language model by xAI for text generation and reasoning tasks. Supports up to 1M context tokens and is optimized for conversational AI and analytical workflows.

Modalities
TextText
In / Out price
$1.25/$2.5per 1M
Context window
1M tokens
Released
May 5, 2026

Grok 4.3 overview

Grok 4.3 by xAI

For developers, researchers, and businesses that rely on fast-moving information and technical workflows.

Grok 4.3 specs

Model ID
x-ai/grok-4-3
Developer
xAI
Context window
1,000,000 tokens
Max output
1,000,000 tokens
Input
Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What is Grok 4.3 API?

Where the Grok 4.20 series introduced the four-agent collaboration architecture and a 2M-token context window, Grok 4.3 focused on refining what that foundation actually costs to run, and made a strong argument that intelligence and affordability don't have to trade off against each other.

On the Artificial Analysis Intelligence Index, Grok 4.3 scores 53, well above the peer-group average of 34, while costing roughly 20% less to evaluate than its predecessor, Grok 4.20. That's a rare combination. Most model upgrades either push performance at the expense of price, or cut cost at the expense of quality. Grok 4.3 moves both metrics in the right direction simultaneously.

Model specifications

Core technical parameters you need before writing a single line of integration code.

Benchmark performance

How Grok 4.3 stacks up on the benchmarks that actually matter for production applications.

Native reasoning

Grok 4.3 includes a deliberate reasoning mode that works through multi-step problems before delivering a final answer. It slows latency slightly but measurably improves accuracy on math, code debugging, and complex analysis chains, the kind where getting it right once beats getting it fast and wrong.

Vision (image input)

The model accepts JPEG and PNG images alongside text in any order. This covers document parsing, chart interpretation, screenshot analysis, and visual question answering. Images found during search operations are billed per image token; images passed directly in messages follow standard pricing.

Structured output & JSON mode

Grok 4.3 supports strict structured output, you define a JSON schema and the model conforms to it, eliminating the need for post-processing parsers or retry logic. This is particularly useful for pipelines that ingest model output programmatically, from CRM automation to data extraction.

Use cases

Grok 4.3 is documented as being suited to contract review, case law research, credit agreement analysis, and financial document Q&A. It is also described as useful for conversational AI, search, chat, and multi-turn workflows.

It is further documented for advanced logic, math, scientific analysis, and multi-step investigations. Another documented use case is agentic workflows that combine reasoning with actions such as web search, code execution, and data retrieval.

It is also described as well suited for long-document analysis and multi-step agent tasks. In addition, it is documented for building reliable, production-grade systems that require automation, data analysis, and end-to-end task orchestration.

Capabilities

  • Function calling
  • Streaming
  • Structured outputs
  • Reasoning
  • Web search

Grok 4.3 benchmarks by Artificial Analysis

See how Grok 4.3 compares in generation speed and latency. Data retrieved Nov 3, 2026.

Speed

Output tokens / second

Benchmark results

Compare 8 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Grok 4.3 API pricing

Grok 4.3 pricing in US dollars
UsagePriceUnit
Input$1.251M tokens
Output$2.51M tokens
Cached input$0.21M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Grok 4.3 vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Grok 4.3$1.25$2.5
Grok Build 0.1$1$2
Grok 4.7$2$6
Grok 4.6$2$6
Grok 4.5$2$6

How to use the Grok 4.3 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "x-ai/grok-4-3",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Grok 4.3 FAQ

What is the context window of Grok 4.3?

Grok 4.3 has a 1,000,000 tokens context window and can return up to 1,000,000 tokens.

What inputs and outputs does Grok 4.3 support?

Grok 4.3 takes image, text as input and returns text.

What is the model ID for Grok 4.3?

Use x-ai/grok-4-3 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

How much does Grok 4.3 cost?

Grok 4.3 costs $1.25 input and $2.5 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Grok 4.3 support streaming?

Yes, Grok 4.3 can stream responses as they are generated.

Can Grok 4.3 read images?

Yes, Grok 4.3 accepts image input alongside text.

Who created Grok 4.3?

Grok 4.3 was built by xAI .

Start building with Grok 4.3

Grok 4.3 API

x-ai/grok-4-3

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "x-ai/grok-4-3",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'