Grok 4.6 is a frontier general-purpose model for coding, knowledge work, and STEM. HaoAI exposes it as `grok/grok-4.6` with a 500,000-token context window, using the current Grok text capability profile.
500K context window
33K max output tokens
Released: 2026-08-12
Protocols:Grok
Capabilities:VisionFunction CallingReasoningPrompt CachingWeb Search
Pricing
PriceRate 0.15x
HaoAI
Official
Input
$0.3/M
$2/M
Output
$0.9/M
$6/M
Cache read
$0.075/M
$0.5/M
Code Examples
from openai import OpenAI
client = OpenAI(
base_url="https://api.hao.ai/grok/v1",
api_key="YOUR_HAOAI_API_KEY",
)
response = client.chat.completions.create(
model="grok/grok-4.6",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)Related Models
Frequently asked questions
HaoAI bills based on actual request usage. Input, output, cache, and any other applicable rates follow the live pricing table on this page. Final request costs are available in the console.