Grok 4.3 API: pricing and how to call it

Grok 4.3 has the model ID grok-4.3. On MYUSAPI it costs $0.50 per 1M input tokens and $1.00 per 1M output tokens, prepaid and charged by usage. The model is never swapped or downgraded, and you are billed by the usage the upstream reports.

Grok 4.3 API pricing

ItemPer 1M tokens
InputOfficial$1.25, our price$0.50
OutputOfficial$2.50, our price$1.00
Cache readOfficial$0.20, our price$0.08

USD. The struck figure is xAI’s official standard list price; bold is ours, with input and output at 40% of list. Source of the list price

Example: a job that uses 1M input tokens and 200K output tokens costs $0.70 at our rates and $1.75 at list price.

Official rates: 200K+ prompts: $2.50 / $5. Web search: $0.005/call plus tokens.

Web search is not available on API keys from this site yet: sent beside other tools the search tool is left out; sent alone or chosen by tool_choice, the request is rejected.

Specifications

Model IDgrok-4.3
ProviderxAI
Context window1M tokens
EndpointsChat Completions, Responses, Anthropic Messages
CapabilitiesReasoning, Tools, JSON

General Grok. Low, medium and high reasoning apply on the Responses API; other settings run with default reasoning.

How to call the Grok 4.3 API

Sign up, add credit and put your key in the MYUSAPI_API_KEY environment variable.

Sign up and get an API key

Tested 2026-11-12: the cURL requests on this page answered for grok-4.3. The Python samples were not run.

OpenAI SDK (Python, Chat Completions)

A project already on the OpenAI SDK changes only base_url (https://myusapi.com/v1) and the model ID.

Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://myusapi.com/v1",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

reply = client.chat.completions.create(
    model="grok-4.3",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Chat Completions (cURL)

cURL
curl https://myusapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MYUSAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "grok-4.3", "messages": [{"role": "user", "content": "Hello"}]}'

Whether your key can call it now is what GET https://myusapi.com/v1/models returns.

Use Grok 4.3 in OpenAI-compatible clients

OpenAI-compatible clients such as Cherry Studio and Cline work: in the connection guide choose your tool and grok-4.3, then copy the generated setup.

Open the connection guide

Other xAI models

All models and prices