Grok 4.7
ReasoningxAI
Grok for coding, agentic tasks and knowledge work.
- Input
- $0.50
- per 1M tokens
- Output
- $1.50
- per 1M tokens
- Context window
- 500K
- tokens
- Max output
- 128K
- tokens
Pricing
Prices are in USD per 1M tokens. Cached input is billed at the cache read price.
- Input
- $0.50/ 1M
- Output
- $1.50/ 1M
- Cache read
- $0.125/ 1M
Use it from code
The samples read your key from the ORYNX_API_KEY environment variable.
curl https://api.orynx.dev/v1/chat/completions \
-H "Authorization: Bearer $ORYNX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7",
"messages": [{"role": "user", "content": "Explain what an API gateway does in one sentence."}]
}'Use it in your tools
Minimal configuration for popular coding agents. Replace sk-orynx-... with your key.
Codex CLI
Full guide~/.codex/config.toml
model = "grok-4.7"
model_provider = "orynx"
[model_providers.orynx]
name = "ORYNX"
base_url = "https://api.orynx.dev/v1"
env_key = "ORYNX_API_KEY"
wire_api = "responses"Cursor
Full guideCursor Settings → Models
OpenAI API Key: sk-orynx-...
Override OpenAI Base URL: https://api.orynx.dev/v1
Custom model name: grok-4.7OpenCode
Full guideopencode.json
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"orynx": {
"npm": "@ai-sdk/openai-compatible",
"name": "ORYNX",
"options": {
"baseURL": "https://api.orynx.dev/v1",
"apiKey": "{env:ORYNX_API_KEY}"
},
"models": {
"grok-4.7": {
"name": "Grok 4.7",
"limit": {
"context": 500000,
"output": 128000
}
}
}
}
}
}