Model pricing
Grok 4.7 · OpenCode API list price — cost per token
Grok 4.7 · OpenCode costs $2.00 per million input tokens and $6.00 per million output tokens (USD). Requests with >200K tokens in the prompt, including cache reads and writes, use the premium rates for the whole request. Rates follow the published OpenCode Zen or Go table for this model and gateway (opencode.ai/docs/zen and opencode.ai/docs/go). On OpenCode Zen or Go this is a notional list-price figure for turns logged on this Mac, not a metered vendor bill; free-tier ids stay unpriced and show as tokens.
| Token rate | USD / 1M tokens |
|---|---|
| Effortqualitative reasoning depth | High |
| Inputper 1M tokens | $2.00 |
| Output | $6.00 |
| Cache readper 1M tokens | $0.50 |
| Input · >200K context | $4.00 |
| Output · >200K context | $12.00 |
| Cache read · >200K context | $1.00 |
Notional list price. These are OpenCode Zen / Go models API list prices in USD. On OpenCode Zen / Go usage this is a notional list price — what usage would cost at API rates, not metered spend.
Cache & context economics
Cache reads cost $0.50 per million tokens — about 25% of input. The >200K tokens context tier reprices the whole request.
Common questions
- How much does Grok 4.7 · OpenCode cost per million tokens?
- $2.00 input and $6.00 output per million tokens (USD list price).
- What is the cache-read price for Grok 4.7 · OpenCode?
- $0.50 per million cached-read tokens — about 25% of the input rate.
- Does Grok 4.7 · OpenCode have a context pricing tier?
- Yes — at >200K tokens input rises to $4.00 per million for the entire request.
Track your real cost with JP the Cat
A live menu-bar total, priced to the cent from your local logs — including the cache-write split most tools miss.
Download MeowPrefer Homebrew? Install the same signed, notarized app from JP's public tap.
brew tap 8bittts/jpthecat
brew trust 8bittts/jpthecat
brew install --cask jpthecatView and verify the tap