Skip to content

Grok 4.7 · Math

Grok 4.7 for math: our test runs

Grok 4.7 ran our 5 math prompts in llmwise, through the same pipeline your messages take. Here's every reply as it came, whether it passed, what it cost and what it counts as on Pro, next to the other models.

Based on 5 of our test runs on , through OpenRouter with the app's own prompt and settings.

Short answer

In our test runs on September 27, 2026, Grok 4.7 passed 5 of 5 of our math prompts (both hard ones): tied 1st of 15 models. Each reply counted as 1 message on Pro, where it has 250 a month, and cost $0.0050 to run on average.

Prompt by prompt

Each of the 5 math prompts, and how Grok 4.7's reply did.

Grok 4.7 on each math prompt
PromptResultCostTime
A discount, then sales taxEverydayPassed: Final answer 66: right.$0.00273.9 s
Pens at 3 for $4EverydayPassed: Final answer 3 bundles + 1 single ( 13.50): right.$0.008740.7 s
Compound interest over three yearsEverydayPassed: Final answer 315.25: right.$0.00315.5 s
Four-digit numbers whose digits sum to 9HardPassed: Final answer 165: right.$0.005611.1 s
The highest of three dice is a 5HardPassed: Final answer 61/216: right.$0.00509.1 s

Every math reply from Grok 4.7

  1. A discount, then sales tax

    An everyday prompt: “A discount, then sales tax”, in full.

    Passed: Final answer 66: right.

    Discounted price: \(80 \times 0.75 = 60\).  
    With tax: \(60 \times 1.10 = 66\).
    
    Final answer: $66

    1,634 tokens in, 307 out (267 of them reasoning) · 3.9 s · $0.0027 · 1 message on Pro · answered by x-ai/grok-4.7 via xAI ·

  2. Pens at 3 for $4

    An everyday prompt: “Pens at 3 for $4”, in full.

    Passed: Final answer 3 bundles + 1 single ( 13.50): right.

    Buy as many 3-for-$4 bundles as possible, since each bundle pen costs about $1.33 versus $1.50 for a single. For exactly 10 pens the options are 0–3 bundles plus singles; the cost formula \(15 - 0.5k\) (where \(k\) is the number of bundles) is minimized at \(k=3\).
    
    Final answer: 3 bundles + 1 single ($13.50)

    1,636 tokens in, 1,547 out (1,451 of them reasoning) · 40.7 s · $0.0087 · 1 message on Pro · answered by x-ai/grok-4.7 via xAI ·

  3. Compound interest over three years

    An everyday prompt: “Compound interest over three years”, in full.

    Passed: Final answer 315.25: right.

    Principal \(P = 2000\), rate \(r = 0.05\), time \(t = 3\).
    
    \[
    A = 2000 \times (1.05)^3 = 2000 \times 1.157625 = 2315.25
    \]
    
    Interest earned \(= 2315.25 - 2000 = 315.25\).
    
    Final answer: $315.25

    1,636 tokens in, 460 out (369 of them reasoning) · 5.5 s · $0.0031 · 1 message on Pro · answered by x-ai/grok-4.7 via xAI ·

  4. Four-digit numbers whose digits sum to 9

    A hard prompt: “Four-digit numbers whose digits sum to 9”, in full.

    Passed: Final answer 165: right.

    The four-digit positive integers \(ABCD\) (with \(A \in \{1,\dots,9\}\) and \(B,C,D \in \{0,\dots,9\}\)) whose digits sum to 9 are in bijection with the non-negative integer solutions of \(A' + B + C + D = 8\) via the change of variables \(A' = A - 1\).  
    
    No variable can exceed 8, so the upper bounds of 9 are automatically satisfied. The number of solutions is therefore
    \[
    \binom{8+4-1}{3} = \binom{11}{3} = 165.
    \]
    
    Final answer: 165

    1,613 tokens in, 925 out (780 of them reasoning) · 11.1 s · $0.0056 · 1 message on Pro · answered by x-ai/grok-4.7 via xAI ·

  5. The highest of three dice is a 5

    A hard prompt: “The highest of three dice is a 5”, in full.

    Passed: Final answer 61/216: right.

    The total number of outcomes when rolling three fair six-sided dice is \(6^3 = 216\).
    
    The highest face is exactly 5 precisely when every die shows a face in \(\{1,2,3,4,5\}\) and at least one die shows a 5. There are \(5^3 = 125\) outcomes in which every face is at most 5, and \(4^3 = 64\) outcomes in which every face is at most 4. Subtracting gives
    \[
    125 - 64 = 61
    \]
    favorable outcomes.
    
    Thus the desired probability is \(\frac{61}{216}\). (The fraction is already in lowest terms, since 61 is prime and does not divide 216.)
    
    Final answer: 61/216

    1,628 tokens in, 786 out (621 of them reasoning) · 9.1 s · $0.0050 · 1 message on Pro · answered by x-ai/grok-4.7 via xAI ·

How it compares on math

Grok 4.7 beside the job's picks among every model. 14 models share the hard-problems pick, Grok 4.7 among them.

Grok 4.7 beside other models on math
ModelPassedOn ProCost per reply
GLM 5.3Our pick: hard problems (shared), best value5 of 5250 a month on Pro$0.0004
GLM 5.3 FlashOur pick: hard problems (shared), everyday5 of 560 a day on Pro$0.0002
Grok 4.7Our pick: hard problems (shared)5 of 5250 a month on Pro$0.0050
On Pro: Pro's count on each model. Cost: what OpenRouter charged us per reply, on average.

Every limit is published. Paid plans also have a monthly fair-use limit on AI cost: Pro $7.50, Max $20, Ultra $42, Studio $85. Using every message on your plan at typical sizes stays under it; very large messages and heavy research use it faster. Every limit, explained.

How these runs were done

Final answer. Automatic. The reply's last “Final answer:” line must hold the right value.

How the runs were done, and every math prompt.

Grok 4.7, and math, elsewhere

Questions

Is Grok 4.7 good for math?

In our test runs it passed 5 of 5 math prompts, tied 1st of the 15 models in llmwise. Every reply is on this page, so you can judge them yourself.

How many of my messages does a math reply from Grok 4.7 use?

1 message each on Pro, where it has 250 a month on Pro. The price of a message is fixed and shown before you send it, however long the reply.

How were these runs done?

The same way for every model: each prompt sent through llmwise's own pipeline, each reply checked the same way. The methods page has every prompt and how each is scored.

Claude, GPT, Gemini, DeepSeek, Grok, Kimi, and GLM, in one chat.

See what a message costs before you send it. Free is 5 messages to try; sign in with an email link, no password or card.