Grok 4.7
xAI Grok 对话模型。
All systems normal4 providers available
Context128K
Max output32K
$0.9/ 1M tokensInput price · by access tier0.88折$0.18/ 1M tokens2折$0.4/ 1M tokens4.5折$0.9/ 1M tokens7折$1.4/ 1M tokens$2.7/ 1M tokensOutput price · by access tier0.88折$0.53/ 1M tokens2折$1.2/ 1M tokens4.5折$2.7/ 1M tokens7折$4.2/ 1M tokensCache read$0.225/1M tokens
Cache write$2.5/1M tokens
Capabilities
Input modality
InputText · Image
OutputText
Core capabilities
Tool capabilities
Access protocols
—
Pricing details
| Tier | Price (input–output) | Cache read | Cache write |
|---|---|---|---|
| ≦500K | $0.9-$2.7/1M tokens | $0.225/1M tokens | $2.5/1M tokens |
| >500K | $1.8-$5.4/1M tokens | $0.225/1M tokens | $2.5/1M tokens |
Service performance
Success rate100%Last 24 hours
First token latency1600msLast 24 hours
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.apione.ai/v1",
api_key="<YOUR_API_KEY>", # 在控制台创建 API Key 后替换
)
response = client.chat.completions.create(
model="grok-4.7",
messages=[{"role": "user", "content": "用一句话介绍你自己"}],
)
print(response.choices[0].message.content)