LLM Reasoning in 2025: From RLVR to Inference-Time Scaling

    This article explains how RLVR and GRPO shifted LLM training toward verifiable outcomes in 2025, how to read training cost figures, when inference-time scaling fits a task, and what to check before adopting these methods in an enterprise.

    Reasoning became the main focus of large language model (LLM) competition in 2025. Researchers writing year-end reviews noted that adding parameters brings smaller and smaller gains. The industry has shifted its effort toward post-training algorithms and the reasoning process. This article covers four questions: what RLVR and GRPO are, how to read training cost figures, how to use inference-time scaling, and what enterprises should check before deployment.

    1. What Are RLVR and GRPO?

    Reinforcement learning from human feedback (RLHF) has been the mainstream method for aligning LLMs over the past few years. It relies on human preference labels, which cause three problems. Annotators often disagree with each other, labeling is expensive, and annotators find it hard to verify complex reasoning step by step.

    Reinforcement learning with verifiable rewards (RLVR) scores outputs by objective outcomes instead. In coding tasks, the reward depends on whether the code passes unit tests. In math tasks, the reward depends on whether the final answer matches the reference answer. A program determines the reward, so the training goal changes from “satisfy the annotator” to “produce a correct result.”

    RLVR has limited scope. It requires that task results can be verified automatically, so it works most clearly on code, math, and factual questions that can be checked against a source. For writing and open-ended consulting, which have no single correct answer, reward design is difficult and evaluation requires more care.

    GRPO (Group Relative Policy Optimization) was proposed in the DeepSeekMath paper and became widely known in 2025 through reasoning models such as DeepSeek-R1. Traditional PPO needs a critic network, roughly the same size as the policy model, to estimate the advantage function. This adds substantial memory and compute cost. GRPO instead samples a group of responses for each prompt and computes each response’s relative advantage from the mean and standard deviation of rewards within the group. It does not need a critic network. The pseudocode below shows the computation:

    1. def compute_group_advantages(prompts, model, env, group_size=8, eps=1e-6):
    2. all_advantages = []
    3. for prompt in prompts:
    4. # 1. Sample group_size responses for the same prompt
    5. outputs = [model.generate(prompt) for _ in range(group_size)]
    6. # 2. Score each response with a verifiable environment (e.g., unit tests or answer matching)
    7. rewards = [env.verify(prompt, output) for output in outputs]
    8. # 3. Normalize within the group: advantage = (reward - mean) / (std + eps)
    9. mean = sum(rewards) / group_size
    10. std = (sum((r - mean) ** 2 for r in rewards) / group_size) ** 0.5
    11. advantages = [(r - mean) / (std + eps) for r in rewards]
    12. all_advantages.append((outputs, advantages))
    13. return all_advantages

    Several points about this code matter. First, the responses for each prompt must be grouped separately when computing rewards. Otherwise, responses cannot be matched to their rewards. Second, group_size is usually between a few and a dozen or so. If the group is too small, the group mean and standard deviation are unstable. Third, if all responses in a group receive the same score, the standard deviation is zero and all advantages are zero, so that group produces no gradient. The eps term prevents division by zero. In practice, rewards are often binary (0 or 1), though a format reward can also be added. Training stability also depends on PPO-style ratio clipping and an appropriate sampling temperature.

    2. How to Read Training Cost Figures

    Early in 2025, the DeepSeek-R1 technical report showed that reasoning ability can be effectively elicited through reinforcement learning, without relying entirely on parameter scaling during pretraining. R1 was built on the DeepSeek-V3 base model. The V3 technical report gives the following numbers: the final training run used about 2.788 million H800 GPU hours. Under the report’s assumption of $2 per GPU hour, that comes to about $5.576 million.

    This figure has a specific scope. It covers only the GPU rental cost of the final training run. It excludes early architecture research, ablation experiments, failed attempts, data construction, and team labor. It should therefore not be read as the total cost of training a large model.

    Different scopes answer different questions. The table below compares them.

    Table 1: Cost scopes and the questions each one answers

    Scope What it includes Question it answers
    Final training compute GPU cost of a single final training run How much did this one training run directly cost?
    Total R&D cost Final training plus earlier experiments, data, and staffing How many resources does a team need to invest?
    Enterprise deployment cost Plus private deployment, inference services, compliance, and operations What is the long-term spending after the business goes live?

    When budgeting, enterprises should estimate four parts separately: compute, data, people, and time. Data covers collection, cleaning, labeling, synthesis, and review. Time covers hyperparameter search and multiple rounds of experiments. Before comparing two cost figures, confirm which scope each one uses.

    3. How to Use Inference-Time Scaling

    The compute cost of Transformer attention grows quickly with context length, so architecture improvements such as mixture-of-experts (MoE) models and linear attention continue to advance. One notable development in 2025 is inference-time scaling. The model generates a longer reasoning trace before giving an answer, trading more compute for more accurate results. Architecture improvements and inference-time scaling can be used together, and the two do not conflict.

    Inference-time scaling suits tasks that require multi-step derivation, such as math proofs, complex code debugging, and planning with multiple constraints. For factual lookups, simple rewrites, and everyday conversation, the extra reasoning steps only add latency and cost.

    When choosing a mode, compare three metrics: whether the accuracy gain justifies the added latency, whether the cost per call fits the budget, and whether the reasoning trace should be shown to users. A practical approach is to run the same set of tasks in standard mode and reasoning mode, record accuracy, average latency, and cost per thousand calls, and then decide.

    Tool use is another clear change. Models can call external APIs, query private databases, and execute code. They are shifting from knowledge bases to systems that take actions. This also widens the risk surface, so each tool should have its own minimum permissions, and every call should be logged.

    4. Benchmaxxing: How to Spot Evaluation Contamination

    Benchmaxxing means over-optimizing for public benchmarks. Sometimes benchmark questions even end up in training data, so leaderboard scores overstate a model’s real ability. To check for this problem, follow these steps:

    1. Review the training data sources and check whether they contain questions or answers from public benchmarks.
    2. Run blind tests on your own private business samples. Testers should not know which model version is being evaluated.
    3. Rephrase questions or change numbers in the same tasks, then see whether scores drop sharply. A large drop suggests the model may depend on memorization.
    4. Record the model version, system prompt, temperature setting, and evaluation scripts so results can be reproduced.

    5. Three Enterprise Use Cases and a Selection Checklist

    Programming, writing, and research are currently the three relatively mature application areas.

    Intelligent programming: Models can help refactor complex business logic, review code, and generate tests. Combined with a sandbox environment that runs unit tests automatically, generated code can be verified immediately.

    Research and writing: With RAG (retrieval-augmented generation) connected to private materials, models can help draft industry analysis reports. Key data and citations still need manual checks against their sources.

    Edge and private data: Lightweight models can run on edge devices. For sensitive data, teams can choose local deployment or a trusted execution environment, and log every call through a logging service for auditing.

    Use this checklist to evaluate a model:

    • Task fit: Does the task have clear success criteria, and can results be verified automatically?
    • Private evaluation: Has the model been tested on real business samples?
    • Latency and cost: Are the latency and cost per call acceptable?
    • Data compliance: Will data leave the internal network, and does data retention meet requirements?
    • Tool permissions: Are the APIs the model can call limited to the minimum necessary scope?

    6. Conclusion

    In 2025, RLVR and GRPO made LLM training depend more on verifiable outcomes, while inference-time scaling gave models more compute for complex tasks. These advances have practical value, but they also have limits. Open-domain tasks lack reliable verification environments, cost figures lack a common definition, and leaderboard scores can be affected by data contamination. Before adopting these techniques, test them on your own tasks and data at small scale, then decide how much to invest.