Building an all-Claude forecasting bot
Metaculus runs FutureEval, a forecasting tournament where only bots compete. I adapted an open-source bot to use Claude models only and run on a $100-a-month budget. Here's how it works, what a forecast really costs, and what broke the first time it hit the live API.
The short version
- Three Claude models forecast every question independently, and the bot submits the median.
- A full forecast costs about $0.39, less than half my estimate.
- The first live run exposed three bugs a test suite couldn't catch. All three are fixed.
- The field is now about 500 bots per question, so I'm treating this as an experiment, not income.
The tournament in four rules
- Short windows. Questions open at random hours and close three hours later. A missed question scores zero.
- Relative scoring. Only the last forecast counts, and it's scored against the other bots on the same question.
- Top-heavy payouts. The $50k pool is split by the square of each bot's score, so the top takes most of it.
- No human in the loop. The bot forecasts and explains itself through the API. I can't look at its forecasts on open questions and then adjust it.
Fork, don't rewrite
I started from nostreambot, an MIT-licensed bot that finished 14th of the 41 prize winners last summer. It handles every question type, has a large test suite, and documents its own experiments.
Its default ensemble mixes providers through OpenRouter, at about $2.60 a question. What I had instead was the $100 a month of Claude API credits included in my Claude subscription. So the goal became simple: keep the pipeline, use only Claude models, and fit the budget. I did most of the implementation with Claude Code, reviewing each change and running the tests before committing.
How a forecast is made
Running it without me
- A scheduler that doesn't drop runs. GitHub's built-in cron delivered only about a fifth of its scheduled runs for the original bot. An external scheduler triggers the workflow every 15 minutes, with GitHub's cron as a backup.
- A spending brake. The bot keeps a running total for the month. If it gets ahead of budget, it drops the priciest model first, and never skips a question.
- A failure cap. Three attempts per question, plus a tiny check that the API key still works before spending anything.
What one forecast costs
Before going live, I ran the whole pipeline on one question in Metaculus's unscored testing area:
Show the token counts
| Role | Input | Output | Cost |
|---|---|---|---|
| Fable forecaster | 13,864 | 1,645 | $0.177 |
| Opus forecaster | 13,864 | 1,884 | $0.093 |
| Sonnet briefing | 13,515 | 1,633 | $0.043 |
| Sonnet forecaster | 13,864 | 1,287 | $0.041 |
| Haiku web search | 31,869 | 2,601 | $0.035 |
| Other small roles | 55,775 | 1,020 | $0.006 |
| Total | 142,751 | 10,070 | $0.394 |
Three takeaways:
- Cheaper than expected. I'd estimated about $0.94. At ~100 questions a month, $0.39 leaves room to give Fable more reasoning effort.
- Fable dominates the bill. At low effort it still costs more than the other two forecasters combined, because its price per token is twice Opus's. Whether it earns that is the first thing to measure.
- Keep web search under 100k tokens. Above that, Haiku switches to a long-context price for the whole request, about five times more. Capping it at three searches kept it near 32k.
It's one question, so read it as an order of magnitude. The bot logs these numbers on every run, and I'll update them with real monthly totals.
Three things that broke on the first live run
1. The search "found nothing" while citing sources
Symptom: the web search was thrown away as a failure, even though it had read 32k tokens of results and written a 3,200-character answer.
The bot drops any search answer without links, because a model that stops early often returns only a sentence of preamble. But Claude attaches web-search citations as metadata on its text and often writes no URL in the text itself. litellm keeps that metadata in provider_specific_fields["citations"], and the usual "just give me the text" path throws it away.
Fix: read the response directly and append the cited URLs as a sources list. The next run returned 6,700 characters of cited research.
2. One model silently ignored its effort setting
Symptom: none. That's the problem: nothing in the logs said anything was wrong.
litellm's built-in model list didn't know claude-fable-5-2 yet. The forecasting library turns on drop_params, which quietly removes any parameter litellm can't confirm a model supports. Fable would have run at the default effort, with no cost tracking.
Fix: the bot registers the model at startup and warns in the logs if any role's effort would be dropped.
3. You can't backtest on questions you didn't forecast
Symptom: a backtest fetched 12 resolved questions and kept zero.
The API only shows the outcome of a closed question to accounts that forecast on it. Metaculus has a separate benchmarking access tier for exactly this. Until I have it, the choice of models and effort levels is an untested judgement call.
What I expect
Honestly, not much money. About three times as many bots compete as last summer, and payouts favour the top heavily. A bot that would have placed comfortably before is now mid-table. A small prize or none in the first full season is the realistic case.
It's still worth running. It uses credits I already pay for, and it answers a question I care about: how a Claude-only ensemble compares with multi-provider bots on the same questions.
Next
- Run live on the rest of Fall 2026, to measure cost and scheduling, not prizes.
- Get benchmarking access, then compare each model and Fable's effort level on resolved questions.
- Enter Spring 2027 from day one, and update this post with results.
The code is open source: github.com/meruw/metaculus-forecasting-bot.