New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
Model/Details
Loading…
Home / Pricing / Models / grok-4.6

grok-4.6 API Pricing & Access

Grok 4.6 is a cutting-edge model developed by SpaceXAI for coding, agent tasks, and knowledge work. Grok 4.6 builds on Grok 4.5, with a particular focus on long-term operational agents and more ambitious interactive and visual works. It covers complex tasks across multiple steps, whether researching topics, analyzing information, working across codebases, or transforming ideas into polished applications or deliverables.

Pricing by group

USD per 1M tokens. Price = base price × group ratio.

GroupInputOutputCache readAbout this group
Cli-Grok-1$0.1471$0.4412$0.0368attractive discount. Stable instruction following, suitable for script generation
Cli-Grok-2$0.2059$0.6177$0.0515higher quota. Better decomposition for complex tasks, suitable for development plans
Xai-Grok-1$0.8824$2.647$0.2206quick reasoning, suitable for Q&A

Long-context tiers

Using the lowest-priced public group, Cli-Grok-1, as the example (USD per 1M tokens); other groups scale by their own ratio. Ranges are token counts per request.

Input range (tokens)InputOutputCache multiplier
[0 , 200000]$0.1471$0.44121x
(200000 , 500000]$0.2941$0.88242x

Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table above and your console.

Capabilities

Provider
Grok (xAI)
Features
Conversation · Tools · Image Recognition · Thinking
API formats
Anthropic Messages · OpenAI Chat Completions

Quick start

Base URL: https://api.openlux.ai/v1. Create an API key in the console and replace YOUR_API_KEY in the examples.

curl · /v1/chat/completions
curl https://api.openlux.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.6",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(base_url="https://api.openlux.ai/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
    model="grok-4.6",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
curl · /v1/messages (Anthropic)
curl https://api.openlux.ai/v1/messages \
  -H "x-api-key: YOUR_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.6",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Full parameters in the API docs

FAQ

How do I call the grok-4.6 API?

Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and use grok-4.6 as the model name. The model also supports the Anthropic format, so you can call /v1/messages directly.

How is the grok-4.6 API billed?

Pay as you go: input and output tokens are priced separately, and the price depends on the group you choose. At build time the lowest public group was $0.1471 per 1M input tokens and $0.4412 per 1M output tokens. Top-ups start at $1.

How is prompt caching billed for grok-4.6?

Cache hits (cache reads) cost 0.25× the input price.

Is there a Batch API?

Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.

Which API formats does grok-4.6 support?

Anthropic Messages, OpenAI Chat Completions.

More

More Grok (xAI) models

  • grok-4.7
  • grok-4-20-non-reasoning
  • grok-4.5
  • grok-4.3
  • grok-4
  • grok-4-20-reasoning
  • Model directory
  • All model pricing
  • Sign up and get an API key

Other languages: 中文 · 日本語 · 한국어

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Docs

  • API
  • AI News
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |