| grok-4.6 | grok-4.7 | |
|---|---|---|
| Providers | xAI | xAI |
| Input $/M | $2.00 | $2.00 |
| Output $/M | $6.00 | $6.00 |
| Output multiplier | ×3.00 | ×3.00 |
| Context window | 500K tokens | 500K tokens |
| Intelligence index | 50.6 | — |
| Coding index | 76.8 | — |
Input pricing is close — 1.00× apart — so the decision should come down to measured quality on your own evaluation set rather than headline cost.
Tags: grok-4.6 — Chat, Reasoning, Coding, Vision · grok-4.7 — Chat, Reasoning, Coding, Vision
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# grok-4.6
client.chat.completions.create(model="grok-4.6", messages=[{"role":"user","content":"Hi"}])
# grok-4.7
client.chat.completions.create(model="grok-4.7", messages=[{"role": "user", "content": "Hi"}])