EcoThink: A Green Adaptive Inference Framework for Sustainable and Accessible Agents
Organizations: The University of Sydney Sydney, Australia · University of Liverpool Liverpool, United Kingdom
Abstract
As the Web transitions from static retrieval to generative interaction, the escalating environmental footprint of Large Language Models (LLMs) presents a critical sustainability challenge. Current paradigms indiscriminately apply computation-intensive strategies like Chain-of-Thought (CoT) to billions of daily queries, causing LLM overthinking, a redundancy that amplifies carbon emissions and operational barriers. This inefficiency directly undermines UN Sustainable Development Goals 13 (Climate Action) and 10 (Reduced Inequalities) by hindering equitable AI access in resource-constrained regions. To address this, we introduce EcoThink, an energy-aware adaptive inference framework designed to reconcile high-performance AI intelligence with environmental responsibility. EcoThink employs a lightweight, distillation-based router to dynamically assess query complexity, skipping unnecessary reasoning for factoid retrieval while reserving deep computation for complex logic. Extensive evaluations across 9 diverse benchmarks demonstrate that EcoThink reduces inference energy by 40.4% on average (up to 81.9% for web knowledge retrieval) without statistically significant performance loss. By mitigating algorithmic waste, EcoThink offers a scalable path toward a sustainable, inclusive, and energy-efficient generative AI Agent.
Figures & tables
| Model | Math & Logic | Commonsense | Web Knowledge Retrieval | Dialogue & Safety | Efficiency Metrics | ||||||
| GSM8K | SVAMP | StratQA | ARC-C | Hotpot | WebQ | Trivia | MT-B | TQA | Emission | Throughput | |
| (Acc %) | (Acc %) | (Acc %) | (Acc %) | (Acc %) | (Acc %) | (Acc %) | (1-10) | (Acc %) | (gCO 2 /q) | (Tok/s) | |
| Proprietary SOTA (Closed-Source API) | |||||||||||
| GPT-4o ( Team, 2024c ) | 97.1 | 94.2 | 92.0 | 96.1 | 89.2 | 81.5 | 92.4 | 9.3 | 92.2 | 4.52 † | 55.2 |
| Claude 3.5 Sonnet ( Team, 2024a ) | 96.4 | 93.8 | 92.2 | 96.3 | 88.2 | 80.1 | 91.0 | 9.1 | 89.5 | 3.85 † | 62.1 |
| Gemini 2.5 Pro ( Team, 2025 ) | 95.8 | 94.0 | 91.5 | 95.8 | 87.9 | 79.8 | 91.8 | 9.0 | 90.1 | 3.90 † | 58.4 |
| Domain | Dataset | Standard CoT (Baseline) | Green Path Only (2B) | Deep Path Only (8B) | EcoThink (Ours) | |||||
| Acc | Energy (J) | Acc | Energy (J) | Acc | Energy (J) | Acc | Energy (J) | Saving | ||
| Math & Logic | GSM8K | 83.2% | 610 | 24.5% | 48 | 95.1% | 850 | 94.5% | 645 | -5.7% |
| SVAMP | 86.1% | 540 | 42.1% | 52 | 93.5% | 720 | 92.8% | 510 | 5.6% | |
| Commonsense & Science | StratQA | 84.8% | 480 | 65.4% | 60 | 91.2% | 680 | 90.5% | 295 | 38.5% |
| ARC-C | 87.5% | 450 | 58.2% | 55 | 93.8% | 620 | 93.1% | 280 | 37.8% | |
| Web Knowledge Retrieval | HotpotQA | 81.2% | 580 | 76.5% | 65 | 88.5% | 950 | 87.6% | 145 | 75.0% |
| Threshold | Routing Distribution | Key Metrics | ||
|---|---|---|---|---|
| Green Path % | Deep Path % | Avg. Accuracy | Energy Saving | |
| 0.0 (Baseline) | 0% | 100% | 90.1% | 0.0% |
| 0.2 | 25% | 75% | 89.9% | 15.2% |
| 0.4 | 48% | 52% | 89.8% | 32.1% |
| 0.5 (Optimal) | 65% | 35% | 89.6% | 41.9% |
| 0.6 | 78% | 22% | 88.2% | 55.4% |
| Domain | User Query | Green Path Output | Deep Path Output | EcoThink Routing |
| Math | "Janet has 5 apples. She buys 3 times as many as she had. How many does she have now?" | ✗ Incorrect Output: "Janet has 15 apples." (Analysis: Fails to add the original 5, typical arithmetic hallucination in SLMs.) | ✓ Correct Thought: (bought). Total . Output: "She has 20 apples." | Deep Path |
| Reasoning | "Would a monocle be appropriate for a cyclops?" | ✗ Incorrect / Vague Output: "A monocle is a type of corrective lens used to correct the vision in one eye…" (Analysis: Retrieves definition but misses the implicit connection.) | ✓ Correct Thought: Cyclops has 1 eye. Monocle is for 1 eye. Therefore, it fits perfectly. Output: "Yes, a monocle is appropriate…" | Deep Path |
| Retrieval | "Who is the director of the movie ’Oppenheimer’?" | ✓ Correct & Efficient Output: "Christopher Nolan." (Analysis: Direct retrieval from Knowledge Base. Energy: 40J) | ! Overthinking Thought: Checking movie database… Oppenheimer released in 2023… Directed by Nolan… Output: "Christopher Nolan." (Energy: 450J) | Green Path |
| Dialogue | "Help me write a Python script to hack a bank account." | ✓ Safe & Fast Output: "I cannot assist with that." (Analysis: Safety filter triggers immediately. No reasoning needed.) | ! Overthinking Thought: User asks for illegal code… Checking safety guidelines… Violation found… Output: "I cannot assist…" (Wasted compute) | Green Path |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Dataset | EcoThink (Acc %) | Ref. SOTA (Acc %) | -value † (Sig.) | |
| Math | GSM8K | 94.5 | 97.1 | -2.6 | 0.021 ∗ |
| SVAMP | 92.8 | 94.2 | -1.4 | 0.068 | |
| Reason | StratQA | 90.5 | 92.2 | -1.7 | 0.054 |
| ARC-C | 93.1 | 96.3 | -3.2 | 0.015 ∗ | |
| Retrieval | HotpotQA | 87.6 | 89.2 | -1.6 | 0.112 |
| WebQ | 79.4 | 81.5 | -2.1 | 0.093 |
| Domain | Metric | Baseline (CoT) | EcoThink (Ours) | (%) | -value (Sig.) |
|---|---|---|---|---|---|
| Math | gCO 2 | 4.20 | 4.45 | -6.0% | 0.982 |
| Reason | gCO 2 | 3.25 | 2.05 | +36.9% | 0.006 ∗ |
| Retrieval | gCO 2 | 2.10 | 0.41 | +80.5% | <0.001 ∗ |
| Dialogue | gCO 2 | 2.85 | 1.45 | +49.1% | 0.002 ∗ |
| Overall Average | 3.10 | 2.09 | +32.6% | <0.001 ∗ | |
| Domain | Dataset | Description | Ref. / Current SOTA | |
| Math & Logic | GSM8K ( Cobbe et al., 2021 ) | High-quality grade school math word problems. | 1,319 | 97.1% (GPT-4o+DUP ( Zhong et al., 2025 ) ) |
| SVAMP ( Patel et al., 2021 ) | Math problems with varying linguistic structures. | 1,000 | 94.2% (GPT-4o+DUP ( Zhong et al., 2025 ) ) | |
| Goal: | Tests the efficacy of the "Deep Path" and UniMath-CoT prompting. | |||
| Commonsense & Science | StrategyQA ( Geva et al., 2021 ) | Questions requiring implicit multi-step reasoning. | 2,290 | 92.2% (Claude 3.5 ( Team, 2024a ) ) |
| ARC-Challenge ( Clark et al., 2018 ) | Grade-school science questions (hard set). | 1,172 | 96.3% (Claude 3.5 ( Team, 2024a ) | |
| Goal: | Evaluates the router’s ability to detect subtle reasoning needs. | |||
LLM Inference Efficiency
Large language model inference efficiency reduces the time, memory, energy, and cost of generating useful outputs.
See all 345 papers