Grok 4
Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified. Pricing increases once the total tokens in a given request is greater than 128k tokens. See more details on the [xAI docs](https://docs.x.ai/docs/models/grok-4-0709)
定价信息
💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22
技术规格
快速开始
只需更改 base_url 即可通过 BazaarLink API 使用 Grok 4:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="grok-4",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "grok-4",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);为什么通过 BazaarLink 使用 Grok 4?
- ✓台币计费 + 统一发票 — 台湾团队无需海外刷卡
- ✓OpenAI 兼容 API — 无需改写代码
- ✓自动故障转移 — 同模型多供应商备援
- ✓中文客服支持 — 本地团队即时协助
常见问题
在中国大陆可以直接调用 Grok 4 API 吗?
可以。BazaarLink 提供与 OpenAI 完全兼容的接口,国内网络可直接调用 Grok 4,稳定可用、无地区限制。
调用 Grok 4 API 支持支付宝、微信、银联付款吗?
支持。可使用支付宝、微信支付及银联卡充值,无需海外信用卡。
Grok 4 的 API 价格怎么算?
Grok 4 通过 BazaarLink 调用时,输入每 1K tokens $3.0000 美元、输出每 1K tokens $15.0000 美元,按供应商原价计费、本站不加价。
怎么用 OpenAI SDK 调用 Grok 4?
把 base_url 设为 https://bazaarlink.ai/api/v1、model 填 "grok-4" 即可,所有 OpenAI SDK 方法无需改代码。
中轉站誠信檢測 · BazaarLink 獨家
- 已測試 endpoint
- 1 次
- 獨立 hosts
- 1
- 家族指紋一致率
- 0%
- 偵測到異常
- 1 次
- 資料範圍
- 過去 90 天
BazaarLink Probe 對聲稱提供此模型的 endpoint 進行家族指紋驗證與 V3 子模型對照。 如發現行為與真貨基準不符,會列入異常案例。
查看完整檢測報告 →