Grok 4.7 API Pricing & Quick Start
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...
| Intelligence | Input Price | Output Price |
|---|---|---|
#16 / 646 46 Artificial Analysis Intelligence Index | $1.60NT$ 51 USD / 1M tokens | $4.80NT$ 153 USD / 1M tokens |
Technical specifications
Pricing comparison
BazaarLink retail price alongside AA's observed market standard.
BazaarLink price our site
Market reference Artificial Analysis
Source: artificialanalysis.ai
Independent benchmarks
Scores below come from Artificial Analysis, an independent third party. BazaarLink does not participate in the testing.
Top 5 — CodingCoding Index leaderboard
?/claude-fable-5-1-xhigh81$10 / $50?/claude-fable-5-1-high79$10 / $50openai/gpt-5-6-sol-xhigh78$4 / $20Quick Start
Use Grok 4.7 via BazaarLink API — just change the base_url:
from openai import OpenAI
client = OpenAI(
base_url="https://api.bazaarlink.ai/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="x-ai/grok-4.7",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.bazaarlink.ai/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "x-ai/grok-4.7",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Why use Grok 4.7 via BazaarLink?
- ✓USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
- ✓OpenAI-compatible API — zero code changes required
- ✓Automatic failover — multi-provider redundancy for the same model
- ✓Chinese-language support — local team, instant help
Frequently Asked Questions
What is 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 the Grok 4.7 API cost?
Grok 4.7 costs $1.60 per 1M input tokens and $4.80 per 1M output tokens when accessed through BazaarLink.
How do I use Grok 4.7 with the OpenAI SDK?
Set base_url to "https://api.bazaarlink.ai/v1" and use model ID "x-ai/grok-4.7". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Grok 4.7?
Grok 4.7 supports a context window of 500,000 tokens.
Is Grok 4.7 available for free?
Grok 4.7 is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.
Relay integrity checks
No integrity-check data is available for this model yet.
BazaarLink Probe verifies endpoints that claim to serve this model and flags behavior that differs from the reference baseline.
View the full integrity report →Related models and links
More from this provider: xAI