即將推出
透過實際請求試用 Grok 4.7,檢視參數並在整合 API 前驗證輸出結果。
先參考上方的單次執行預估,再查看完整的 CometAPI 與官方價格比較。
探索 Grok 4.7 的競爭性定價,專為滿足各種預算和使用需求而設計。我們靈活的方案確保您只需為實際使用量付費,讓您能夠隨著需求增長輕鬆擴展。了解 Grok 4.7 如何在保持成本可控的同時提升您的專案效果。
| Comet Price (USD / M Tokens) | Official Price (USD / M Tokens) | Discount |
|---|---|---|
輸入:$60/M 輸出:$60/M | 輸入:$75/M 輸出:$75/M | -20% |
複製可用的端點與程式碼範例,需要完整參數時再開啟完整 API 參考文件。
存取完整的範例程式碼和 API 資源,以簡化您的 Grok 4.7 整合流程。我們詳盡的文件提供逐步指引,協助您在專案中充分發揮 Grok 4.7 的潛力。
#!/usr/bin/env bash
# Get your CometAPI key from https://www.cometapi.com/console/token
# Export it as: export COMETAPI_KEY="your-key-here"
response=$(curl --silent --location --request POST "https://api.cometapi.com/v1/responses" \
--header "Authorization: Bearer $COMETAPI_KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data-raw '{
"model": "grok-4.7",
"input": [
{
"role": "user",
"content": "Find and fix the bug, then explain it: function median(a){a.sort();return a[a.length/2]}"
}
]
}')
if command -v jq >/dev/null 2>&1; then
printf '%s
' "$response" | jq -r '(
[
.output[]?
| select(.type == "message")
| .content[]?
| select(.type == "output_text")
| .text
][0]
) // .output_text // .'
else
printf '%s
' "$response"
fi在選擇架構或評估正式環境負載前,先掌握模型的關鍵資訊。
將 Grok 4.7 用於符合其 text 能力的正式工作流程,並在長期整合前比較其他選項。
正式環境聊天與 Agent 工作流程
程式撰寫、分析與結構化生成
透過單一 API 進行大量自動化
比較 CometAPI 提供的其他模型,在品質、延遲、功能與價格間取得平衡。
3.7 Flash delivers substantial improvements across software engineering, knowledge work, and web development workflows — with an introductory price of half the original 3.6 Flash cost per million tokens.
The deepseek-v4-flash-vision-exp model accepts images alongside text, so you can ask the model to describe pictures, read text from screenshots, analyze charts, and more.Supported image formats: JPEG, PNG, GIF, and WebP. The format is detected from the actual file content, not from the file name or the declared MIME type.
DeepSeek V4 Pro is a large-scale Mixture-of-Experts model from DeepSeek with 1.6T total parameters and 49B activated parameters, supporting a 1M-token context window. It is designed for advanced reasoning, coding, and long-horizon agent workflows, with strong performance across knowledge, math, and software engineering benchmarks.
The flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning.
GLM-5.3 is a next-generation open-source large language model optimized for complex coding, long-horizon tasks, and cybersecurity scenarios. It delivers significantly improved coding capabilities and agent performance compared with GLM-5.2.
Access to Claude Fable 5 has been restored. It brings 5th-generation intelligence to your most ambitious coding and professional work.
在正式上線前,查看即時心跳資料、端點可用性與實測回應時間。