

In
$2.6 / 1M Out
$7.8 / 1M 

Text to Speech
const { OpenAI } = require('openai');
const api = new OpenAI({
baseURL: 'https://api.ai.cc/v1',
apiKey: '',
});
const main = async () => {
const result = await api.chat.completions.create({
model: 'x-ai/grok-4-6',
messages: [
{
role: 'system',
content: 'You are an AI assistant who knows everything.',
},
{
role: 'user',
content: 'Tell me, why is the sky blue?'
}
],
});
const message = result.choices[0].message.content;
console.log(`Assistant: ${message}`);
};
main();
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.ai.cc/v1",
api_key="",
)
response = client.chat.completions.create(
model="x-ai/grok-4-6",
messages=[
{
"role": "system",
"content": "You are an AI assistant who knows everything.",
},
{
"role": "user",
"content": "Tell me, why is the sky blue?"
},
],
)
message = response.choices[0].message.content
print(f"Assistant: {message}")

Grok 4.6 · API
Developer Access Slip
Inputper 1M tokens · ≤200K ctx
$2.60
Outputper 1M tokens · ≤200K ctx
$7.80
RATE CARDUSD / 1M tok
Tiered Pricing Detail
≤ 200K contextInput $2.6 · Output $7.8 / 1M
> 200K contextInput $5.2 · Output $15.6 / 1M
Cached Input ≤200K$0.65 / 1M
Cached Input >200K$1.3 / 1M
| Model | Input | Output | Context | Best For |
|---|---|---|---|---|
| Grok 4.6This page | $2.6/1M | $7.8/1M | 500K tok | Reasoning + agents with long context |
| Grok 4.5 | $2.6/1M | $7.8/1M | 500K tok | Reasoning + agents with long context |
| GPT-5.5 | $6.5/1M | $39/1M | 1.05M tok | Reasoning + agents |
| Claude Opus 4.8 | $6.5/1M | $32.5/1M | 1M tok | Chat + assistants |
THANK YOU FOR CALLING THE API
WWW.AI.CC · GROK-4.6
AI Playground
Test all API models in the sandbox environment before you integrate. We provide more than 300 models to integrate into your app.
contact us