xAI
SpaceXAI Grok 4.7
Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...
- Context window
- 500Ktokens
- Max output
- 450Ktokens
- Input
- $2.00/ 1M
- Output
- $6.00/ 1M
Quick start
from openai import OpenAI
client = OpenAI(
base_url="https://neurongate.net/v1",
api_key="sk-ng-your-api-key",
)
completion = client.chat.completions.create(
model="x-ai/grok-4.7",
messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)Cost
| Example request | Tokens | Cost |
|---|---|---|
| Short prompt | 1K in | $0.002 |
| Typical chat turn | 1K in · 500 out | $0.005 |
| Document analysis | 10K in · 2K out | $0.032 |
| Long context | 100K in · 10K out | $0.26 |
Prices in USD. Billed per token actually used, from a balance prepaid in USDT, USDC, ETH or BTC.
Frequently asked questions
What is SpaceXAI Grok 4.7?
Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...
How much does SpaceXAI Grok 4.7 cost?
SpaceXAI Grok 4.7 is priced at $2 per 1 million input tokens and $6 per 1 million output tokens when accessed via NeuronGate. You pay per token — no subscriptions required. Top up with crypto (USDT, USDC, ETH, BTC).
Does SpaceXAI Grok 4.7 support streaming?
Yes, SpaceXAI Grok 4.7 supports streaming responses via NeuronGate's API. Use the standard "stream": true parameter in your request.
What is the context window of SpaceXAI Grok 4.7?
SpaceXAI Grok 4.7 has a context window of 500K tokens (~375K words). Maximum output is 450K tokens.
Does SpaceXAI Grok 4.7 support function calling (tools)?
Yes, SpaceXAI Grok 4.7 supports function calling / tool use via NeuronGate's standard API.
How do I use SpaceXAI Grok 4.7 with NeuronGate?
Create a NeuronGate account, top up your balance with crypto, generate an API key, and use the model id x-ai/grok-4.7 in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.