How do I use Grok 4.3 in Cline or OpenCode?
Set the model to x-ai/grok-4.3 in Cline, OpenCode or Aider with a Standard Compute key: Grok 4.3 is part of every plan from $19 a month, no xAI account needed, and new requests return HTTP 402 when the plan's compute budget reaches 100%. xAI's newer Grok 4.5, 4.6 and 4.7 are not served.
| Model | xAI's model from April 30, 2026: a reasoning model with a 1M-token context window and text, image and file input. |
|---|---|
| Model ID | x-ai/grok-4.3Short form grok-4.3 also works |
| Base URL | https://api.stdcmpt.com/v1 |
| Input | Text, images and files |
| Reasoning | minimal, low, medium or high |
Copy a working config
Paste the config for your agent. In Aider, keep the openai/ prefix in front of the model ID.
# Settings → API Provider: OpenAI Compatible
Base URL: https://api.stdcmpt.com/v1
API Key: YOUR_API_KEY
Model ID: x-ai/grok-4.3
Replace YOUR_API_KEY with a key from the dashboard. This config reads your key from STANDARDCOMPUTE_API_KEY; export it with a key from the dashboard. Full setup: Cline, Aider and other tools, OpenCode.
What it costs
| Per 1M tokens | Prompt under 200K | Prompt 200K or more |
|---|---|---|
| Input | $1.25 | $2.50 |
| Cached input | $0.20 | $0.40 |
| Output | $2.50 | $5.00 |
xAI API rates. The higher column applies once a prompt reaches 200K tokens. Source: xAI models and pricing, checked October 13, 2026.
Grok 4.3 works best as one model in a mixed selection; for hard agent steps, select a stronger model next to it.
What works differently here
- Grok 4.3 trails current coding models: its Artificial Analysis rating is 25, below the median of 27 for its price group, and the AA page points readers to xAI's newer release.
- Prompts of 200K tokens or more pay double on xAI's list, and long coding sessions get there.
Other ways to run Grok 4.3
| xAI APIPay per token | First-party, pay per token, with Grok 4.5 to 4.7 on the same account. |
|---|---|
| OpenRouterPay per token | Served by xAI, plus a cheaper batch variant. |
| Standard ComputeMonthly plan | Grok 4.3 next to Claude, GPT and open models on one key. |
FAQ
Are Grok 4.6 or Grok 4.7 available on Standard Compute?
Not yet. The served Grok model is x-ai/grok-4.3. On xAI's API, Grok 4.6 and 4.7 list at $2 / $6 per million tokens with a 500K context.
Grok 4.3 or GPT-5.5?
This catalog has no GPT-5.5. The OpenAI models on every plan are GPT-6 Astra, GPT-6 Luna and GPT-5.6 Sol, Terra and Luna, all selectable next to Grok 4.3 on one key.
Can Grok 4.3 read screenshots?
Yes. It takes text, images and files here, so screenshots from Cline or OpenCode reach it.
Sources: xAI models and pricing; Artificial Analysis: Grok 4.3
Create your key
Sign in, create a key in the dashboard and paste it into the config above.