← All applications · Connect apps section on /docs
OpenAIconfigure grok-build
Grok Build
Grok Build: hướng dẫn cấu hình khóa API, model và nhà cung cấp trong terminal.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://apistack.vn/v1Prerequisites
- Cài grok build CLI
- API key
Recommended model: grok-4.6
Quick way — command / config
api-cli configure grok-buildWhere to place file / fill Settings
Filemacos
~/.grok/config.toml
Trỏ endpoint API Stack /v1.
Filelinux
~/.grok/config.toml
Giống macOS.
Filewindows
%USERPROFILE%\.grok\config.toml
Tạo file TOML.
Verify connection
- grok build chat
- API Stack doctor
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| model unavailable | Model id không có trên API Stack. | GET /v1/models chọn id grok có sẵn. |