EcoGym: Evaluating LLMs for Long-Horizon Plan-and-Execute in Interactive Economies

Xueyu Hu, Jinxiang Xia, Shengze Xu, Kangqi Song, Yishuo Yuan, Guibin Zhang, JinCheng Ren, Boyu Feng, Li Lu, Tieyong Zeng, Jiaheng Liu, Minghao Liu, He Zhu, Yuchen Eleanor Jiang, Wei Wang, Wangchunshu ZhouNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

Most AI benchmarks test whether a model can solve a puzzle or write a function in a few steps, but real-world value comes from sustaining complex decisions over months. EcoGym is an open-source benchmark that drops large language models (LLMs) into three 365-day economic simulations—running a vending business, freelancing, and operating a content platform—to test long-horizon planning. The takeaway? No single model dominates across all three worlds, and even top models struggle to balance high-level strategy with day-to-day execution.

What Problem Does This Paper Address?

Evaluating AI agents on short, isolated tasks doesn't tell us how they will hold up in continuous, high-stakes environments. Existing long-horizon benchmarks are often confined to narrow, stylized games or rely on closed, proprietary evaluation pipelines (like Vending-Bench). They rarely capture the messy, interdependent dynamics of real-world economic activity—where resources decay, markets shift, and a bad decision today can trigger a "death spiral" weeks later.

EcoGym addresses this gap by providing a transparent, standardized, and open-source testbed. Instead of measuring abstract rewards, it evaluates agents on tangible business outcomes—net worth, income, and daily active users (DAU)—over an ultra-long 365-day horizon.

Methods

EcoGym is built around three core design principles:

  1. Simple Action Space, Ultra-Long Horizon: Agents only have 4–5 discrete actions per day, but they must make decisions continuously for 365 days.
  2. Economic Grounding: Agents must manage budgets, inventory, labor, and operational decay.
  3. Latent Mechanics: The underlying mathematical rules (like price elasticity or user decay rates) are hidden from the prompt. Agents must actively explore, test hypotheses, and learn from feedback.
Figure 2: Design principles (upper left) and three environments in EcoGym (lower left), and a detailed illustration of the Operation environment (right). Golden leader lines indicate how the designs reflect the principles.

The authors implement three distinct environments under a unified partially observable decision-making framework:

  • Vending (adapted from Vending-Bench, now open-sourced): The agent acts as a sole proprietor managing procurement and dynamic pricing across 600+ SKUs to maximize Net Worth.
  • Freelance (new): A gig-economy simulation where the agent must balance taking on paid tasks, developing skills, and managing stress/health (avoiding burnout) to maximize Income.
  • Operation (new): The agent acts as a digital content platform operator fighting natural user decay ("Zero-Attractor" dynamics) through acquisition boosts, creator incentives, and moderation to maximize Average DAU.

Datasets

Rather than training models on a static dataset, EcoGym serves as an interactive evaluation benchmark. However, its environments are grounded in rich underlying data:

  • Vending uses product information queried via Perplexity and LLM-synthesized market physics (seasonality and elasticity) spanning 600+ SKUs across 37 categories.
  • Freelance aggregates 5,000+ tasks from 8 cross-domain datasets—covering software development (LiveCodeBench, SWE-bench), finance (FinQA, BizFinBench), STEM (GSM8K, SciQ), and legal/admin (LEXam, Pile-of-law). To prevent memorization, tasks undergo difficulty filtering, "Scenario Injection" (wrapping coding logic in business contexts), and "Logic Mutation" (refactoring numbers and variables).
  • Operation uses a continuous parameter space modeling coupled user retention, content supply, and quality entropy.

Key Insights and Ideas

  • No Universal Winner: Models that excel in one economy can flop in another, proving that long-horizon economic planning is not a single, monolithic skill.
  • Strategy vs. Execution: Differential trajectory analysis revealed that performance gaps stem from two distinct failures: Strategic Prioritization (e.g., Claude-Sonnet-4.5 correctly prioritized content scale over quality in Operation, whereas Gemini-3-Pro over-refined quality) and Execution Efficiency (e.g., Gemini-3-Flash often fell into redundant task-query loops or passive waiting).
  • Longer Context Isn't Always Better: Extending the context window from 128 to 1,024 steps on Operation did not yield consistent gains. Gemini-3-Pro peaked at 128 steps and degraded as the window grew, while Gemini-3-Flash dipped sharply at 512 before rebounding at 1,024.
  • Thinking Mode Helps Universally: Enabling explicit reasoning ("Thinking On") in Operation boosted performance across the board, lifting Gemini-3-Flash from 1,194.00 to 1,295.87 DAU and Gemini-3-Pro from 1,396.00 to 1,511.08 DAU.
Figure 4: Effect of Thinking mode on Opera- tion. We compare disabled (Off) vs. enabled (On).
  • Memory Helps, But It's Model-Dependent: Adding external memory modules (working, symbolic, episodic, or Mem0) improved Vending scores for both Gemini-3-Flash and Gemini-3-Pro, but the best architecture varied—working memory worked best for Flash, while episodic memory worked best for Pro.

Key Results

The authors benchmarked nine leading LLMs (six proprietary, three open-weights) with a 128-step sliding context window, alongside non-LLM baselines (random, heuristics, DQN, and privileged MPC).

Figure 1: Long-horizon performance across three environments in EcoGym. The plots illustrate the daily progression of key metrics: Net Worth in Vending (left), Income in Freelance (middle), and DAU in Operation (right). Note: Truncated lines represent agents that failed to survive the full simulation horizon due to triggering failure conditions. Only top-performing models are kept for clarity; full experimental results are available in Table 2.
  • Vending (Net Worth): Gemini-3-Pro dominated with 11,272.47 (± 1,037.27), followed by Gemini-3-Flash at 5,675.65. Most other models hovered between 933 and 2,125.
  • Freelance (Income): Gemini-3-Pro led again with 2,696.58 (± 229.97), with Gemini-3-Flash second at 1,815.95 and GPT-5.2 third at 1,434.26. Several models struggled with burnout and failed to survive the full 365 days.
  • Operation (DAU): Claude-Sonnet-4.5 took first place with 1,595.00 (± 70.77), beating Gemini-3-Pro (1,396.00) and outperforming a time-bounded baseline of 8 human experts who averaged 1,376 (± 104) DAU.

Limitations and Future Work

The authors note several important caveats:

  • Rule-Based Abstractions: EcoGym's simulations use mathematical rules that cannot fully capture the irrationality and unpredictability of real human markets.
  • Limited Runs & Variance: Due to evaluation costs, models were tested with only 3 to 5 runs, and Vending and Freelance showed substantial run-to-run variance.
  • Single-Agent Focus: The current environments test individual agents against a static/stochastic environment rather than multi-agent competition. Incorporating game-theoretic, multi-agent market dynamics is a key direction for future work.

Summary updated

BibTeX
@inproceedings{hu2026ecogym,
  author = {Xueyu Hu and Jinxiang Xia and Shengze Xu and Kangqi Song and Yishuo Yuan and Guibin Zhang and JinCheng Ren and Boyu Feng and Li Lu and Tieyong Zeng and Jiaheng Liu and Minghao Liu and He Zhu and Yuchen Eleanor Jiang and Wei Wang and Wangchunshu Zhou},
  title = {{EcoGym: Evaluating LLMs for Long-Horizon Plan-and-Execute in Interactive Economies}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=dNp4MepOk2},
}
Figure