# Best AI setup for a Polymarket bot (paper trading first)

Updated: 2026-11-30 | Cluster: Data and analysis | Canonical: https://theailoadout.com/best-ai-setup/prediction-market-bot/

> Educational only, not financial advice. Trading involves risk of loss, including losing more than you put in with leverage. Start with paper trading. We may earn affiliate commissions from some links, which never change our picks. Nothing here is a performance or profit claim. Prediction market contracts can settle at $0. This page is educational, not financial advice.

Build a paper trader before you build a trading bot. Have Claude Code or Codex write a small program that reads Polymarket US's public order book, simulates fills at the prices you would actually get, applies the real fee formula, and writes every decision to a journal, including the trades it skipped. Use Claude Opus 5.5 for the judgment step: reading a market's rules and resolution source and writing down a probability with reasons. Paste in The Risk Manager persona, and put your loss caps in code so the model cannot argue its way past them. You do not need an API key for any of this, because the events, markets and order book endpoints are public. If you are in the US, Polymarket US is the version built for you: a CFTC-regulated exchange that requires identity verification before you deposit, trade or use the trading API. Run the paper journal for weeks before you think about real money, and go in expecting a small or negative result. In a seller-published sample of 2,500 always-on bots, the median one lost $59. This page is educational, not financial advice.

| Slot | Pick |
|---|---|
| Tool | [Claude Code or Codex](https://claude.com/pricing) |
| Model | [Claude Opus 5.5](https://theailoadout.com/models/claude-opus-5-5/) |
| Skill | [Paper fill simulator](https://theailoadout.com/best-ai-setup/prediction-market-bot/#copy-this-setup) |
| Persona | [The Risk Manager](https://theailoadout.com/best-ai-setup/prediction-market-bot/#copy-this-setup) |

## Why each pick
- Tool: Most of this project is ordinary code: an API client, a fill simulator, fee math, a small state file and a CSV journal. Claude Code comes with Claude Pro ($20 a month, or $17 a month billed yearly; it is not in the free plan), and Codex comes with paid ChatGPT plans. Either one can write and test it. Ask for tests on the fee function first, because a rounding mistake there quietly distorts every paper result that follows. Keep live order code out of the repository until you make a deliberate decision to add it. An agent cannot misfire an endpoint the project does not call.
- Model: Use Opus 5.5 for the part that needs judgment: reading the market question, the resolution rules and the named resolution source, then writing a probability estimate, the reasons for it, and what evidence would change it. Rules matter more than headlines, because a contract pays on what its resolution source reports, not on what the news seemed to imply. Keep the model away from sizing and limits; those belong in code. If cost matters, test Gemini 4 Neon on the same prompts. Its list price is $3 in and $15 out per million tokens against $4 and $20 for Opus 5.5. Log which model made each call so you can compare them later on your own journal, not on a leaderboard.
- Skill, Paper fill simulator: Walk the public order book level by level for the size you want, the way a real taker order fills, instead of assuming you get the midpoint. Top-of-book size can be small: one Polymarket US market we pulled on Nov 30 had 15 contracts at the best bid before the next price level. Record the average fill price, the fee and the levels you crossed.
- Skill, Fee and rebate math: The API taker fee is 0.0695 x contracts x price x (1 - price), rounded to the cent with banker's rounding. Through Dec 31, 2026, 70% of that fee comes back as a rebate on straight API trades. 100 contracts at $0.50 cost $1.74 in fees before the rebate and about $0.52 after it. Fees are largest at 50 cents and shrink toward 1 cent and 99 cents. App and web trades pay a higher coefficient, 0.11 below $10,000 of monthly taker volume.
- Skill, Rate limit and reject handling: The retail API allows 25 requests a second per IP, and keys on the same IP share that counter. On a 429, stop, wait at least a second, then back off. A reject that says Order Processing Max Delay Exceeded is different: it is the exchange's 5-second latency stopgap, not a rate limit, and the docs say you can resubmit. For live prices, the docs recommend WebSocket streams over polling.
- Persona: Inspired by a disciplined risk-management approach, not a real person. Models sound confident about probabilities. This persona makes every idea show its rule, its price, its fee and its worst case before anything is logged, and it treats skipping a trade as a normal outcome.

## Comparison
| Option | Best for | Model(s) | Price | Free plan |
|---|---|---|---|---|
| Claude Pro (Claude Code) | Building and testing the bot in a terminal agent | Opus 5.5, Sonnet 5.5 | $20/mo ($17/mo billed yearly); Claude Code not in Free | Yes |
| ChatGPT Plus (Codex) | The same build if you already pay for ChatGPT | Codex | Paid ChatGPT plan; see pricing page | Yes |
| Polymarket US API | Public market data now, trading after KYC | REST and WebSocket, Python and TypeScript SDKs | Data free; API taker fee 0.0695 coefficient with 70% rebate to Dec 31, 2026 | Yes |
| Alpaca paper trading | Practicing on stocks, options and crypto instead of event contracts | Any MCP client | Paper account free | Yes |
| polymtradebot (commercial) | Seeing what a paid BTC Up or Down bot includes; it sells the bot, so read its claims that way | Python script | $499 one-time; Pro $999 | No |

## Persona prompt
```
You are The Risk Manager for my prediction market bot. Paper trading is the default. Never place a live order, never ask for live API keys, and never suggest turning paper mode off. For every trade idea, write down: the market slug; a one-line summary of the resolution rule and the resolution source; your probability estimate and the reasons for it; the current best bid and ask; the size; the maximum loss if the contract settles against me; the fee before and after any rebate; and one reason to skip. Enforce my caps exactly as numbers I set: maximum loss per trade, daily loss limit and maximum open positions. If a trade would break a cap, skip it and log why. Refuse to raise a cap during a session. Journal every decision, skips included. Once a week, summarize the journal: number of trades and skips, total fees, realized paper profit or loss, the worst day, and any trade where the reasoning was wrong. Treat profile PnL screenshots and viral bot stories as unverified until a public record supports them. Never invent a market rule, price, result or quote. This is not financial advice.
```

## What changed
- 2026-11-30: Page launched: Claude Code or Codex, the Polymarket US public API, Claude Opus 5.5 and The Risk Manager persona, with fees, the 70% API taker rebate and bot-result claims checked against the sources below.

## FAQ
### Do Polymarket bots make money?
Most do not, in the best public data we found. polymtradebot tracked 2,500 always-on bots in Polymarket's Bitcoin Up or Down markets from Sep 6 to Oct 3, 2026. 32% finished in profit after fees and rebates (28% before rebates), and the median bot lost $59. The company sells a $499 bot, and the study covers Polymarket's international crypto markets, not Polymarket US, so treat it as context rather than a forecast.

### Can people in the US use a Polymarket bot?
Polymarket US is the US product. It is a fiat-based, CFTC-regulated exchange, and you must complete identity verification (KYC) before you can deposit, trade or use the trading API. Public market data needs no account, which is why paper trading is the right first step.

### What does the Polymarket US API cost to trade?
From Nov 21 through Dec 31, 2026, API taker trades use a 0.0695 fee coefficient and get a 70% rebate on those fees, for straight trades. The fee is 0.0695 x contracts x price x (1 - price). At $0.50, 100 contracts cost $1.74 before the rebate, about $0.52 after. Fees are charged only when an order fills, and Polymarket says it intends to extend the program based on how it performs, so recheck the fee page.

### Is the $794K Claude Polymarket bot real?
The public record does not support the story as told. agenteconomy.cloud's fact check found the wallet was created Mar 25, 2026, so it was 58 days old at the first post, not 14 months. The 40,266 figure counted markets, not trades. The $794,000 matched the profile's older P&L display that day, while Polymarket's newer figures for the start of that day ranged from $34,759.69 to $595,488.69. Nothing public ties the wallet to Claude or to the student in the story.

### Do I need an API key to paper trade?
No. The Polymarket US events, markets, best bid and offer, and order book endpoints are public. You need an approved account and an API key only when you want to place real orders.

### Which AI model should run the bot?
Let code run the bot and let a model advise it. Use Claude Opus 5.5 or another frontier model to read rules and estimate probabilities, and keep sizing, caps and order logic in plain code you can test. A model should never be the only thing standing between your account and a bad order.

## Sources
- [Polymarket US: Fee schedule and 70% API taker rebate](https://docs.polymarket.us/fees)
- [Polymarket US: Quickstart (KYC, API keys, SDKs, public endpoints)](https://docs.polymarket.us/getting-started/quickstart)
- [Polymarket US: Overview (CFTC-regulated exchange)](https://docs.polymarket.us/learn/home)
- [Polymarket US: Create an account and KYC](https://docs.polymarket.us/learn/get-started/signup)
- [Polymarket US: Get market BBO (public endpoint)](https://docs.polymarket.us/api-reference/markets/get-market-bbo)
- [Polymarket US: Rate limits and latency stopgap](https://docs.polymarket.us/api-reference/rate-limits)
- [Polymarket US: Trading restrictions](https://docs.polymarket.us/learn/trading/access-and-limits/trading-restrictions)
- [polymtradebot (bot seller): Do Polymarket bots work? 2,500 bots tracked for 28 days (Oct 4, 2026)](https://polymtradebot.com/blog/do-polymarket-bots-work)
- [polymtradebot: product and pricing](https://polymtradebot.com/)
- [agenteconomy.cloud fact check: the $794,000 Bonereaper claim](https://agenteconomy.cloud/fact-check/bonereaper-794000-polymarket-14-months)
- [Claude plans and pricing](https://claude.com/pricing)
- [ChatGPT plans and pricing](https://chatgpt.com/pricing)
- [Anthropic models overview and pricing](https://platform.claude.com/docs/en/models/overview)
- [Gemini Developer API pricing](https://aistudio.google.com/docs/pricing)
