BazaarLinkBazaarLink
登入

Grok 4 Fast

高效能 AI 語言模型,透過 BazaarLink 以美元計費(台幣報價)使用。

定價資訊

輸入價格
$0.2000
/ 百萬 tokens
輸出價格
$0.5000
/ 百萬 tokens
上下文視窗
tokens
供應商xAI
模態
發布日期
Model IDx-ai/grok-4-fast

快速開始

只需更改 base_url 即可透過 BazaarLink API 使用 Grok 4 Fast:

Python
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="x-ai/grok-4-fast",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
TypeScript
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: "x-ai/grok-4-fast",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

為什麼透過 BazaarLink 使用 Grok 4 Fast?

  • 美元計費(台幣報價)+ 統一發票 — 台灣團隊無需海外刷卡
  • OpenAI 相容 API — 無需改寫程式碼
  • 自動故障轉移 — 同模型多供應商備援
  • 中文客服支援 — 在地團隊即時協助
立即試用← 查看所有模型

Frequently Asked Questions

What is Grok 4 Fast?

Grok 4 Fast is an AI language model by xAI, available via BazaarLink's OpenAI-compatible API.

How much does the Grok 4 Fast API cost?

Grok 4 Fast costs $0.2000 per 1K input tokens and $0.5000 per 1K output tokens when accessed through BazaarLink.

How do I use Grok 4 Fast with the OpenAI SDK?

Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "x-ai/grok-4-fast". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.

What is the context window for Grok 4 Fast?

See the specifications table on this page for Grok 4 Fast's context window size.

Is Grok 4 Fast available for free?

Grok 4 Fast is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.

Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
Grok 4 Fast API Pricing & Documentation — xAI