AI Solver API

Poker solutions over HTTP

Send a board, a pot, a stack and two ranges. Get the strategy and the EV of every hand at every decision, in seconds.

Begin here

How it works

  1. Get a keyA test key is free and works at once.
  2. Send a spotOne request: a board, a pot, a stack and two ranges.
  3. Read the strategyFor each hand: how often it takes each action, and its EV.
curl -X POST https://api.gtogecko.com/v1/solves \
  -H "Authorization: Bearer $GECKO_KEY" \
  -H "Content-Type: application/json" \
  -H "Prefer: wait=30" \
  -d '{"board": ["As", "Ks", "7h"], "pot": 100, "stack": 300,
  "ranges": [
    {"AA": 1, "KK": 1, "QQ": 1, "JJ": 1, "TT": 1, "99": 1, "88": 1,
     "77": 1, "66": 1, "55": 1, "44": 1, "33": 1, "22": 1,
     "AKs": 1, "AKo": 1, "AQs": 1, "KQs": 1, "JTs": 1},
    {"AA": 1, "KK": 1, "QQ": 1, "JJ": 1, "TT": 1, "99": 1, "88": 1,
     "77": 1, "66": 1, "55": 1, "44": 1, "33": 1, "22": 1,
     "AKs": 1, "AKo": 1, "AQs": 1, "AQo": 1, "AJs": 1, "KQs": 1,
     "QJs": 1, "T9s": 1}
  ],
  "bet_sizes": [0.33], "raise_sizes": [1.0]}'
A♠︎K♠︎7♥︎ Flop · pot 100 · stack 300 · one bet size, 33% of the pot
Out of position, first decision the whole range
Check 72.6% Bet 33 27.4% All-in <0.1%
J♥︎T♥︎ bet 99.7% · check 0.3%
A♥︎K♥︎ bet 78.3% · check 21.7%
Q♥︎Q♦︎ bet 33.7% · check 66.3%
A♦︎A♣︎ bet 1.1% · check 98.9%
The answer to this request, drawn. The numbers are from a real result: sample-result.json.

One solve is one street. Then go on to later streets.

Pricing

Prices

One solve of one street is one call.

Starter

$250a month

  • 5,000 calls a month
  • $0.05 a call
  • $0.07 a call above the plan
Subscribe

Builder

$1,875a month

  • 50,000 calls a month
  • $0.038 a call
  • $0.05 a call above the plan
Subscribe

Production

$2,625a month

  • 100,000 calls a month
  • $0.026 a call
  • $0.04 a call above the plan
Subscribe

Scale

$4,875a month

  • 300,000 calls a month
  • $0.016 a call
  • $0.025 a call above the plan
Subscribe

Pay per call

$0.10a call

No plan and no monthly fee. Calls you do not use stay on your account.

Pack of calls

Enterprise

$6,750a month

  • Unlimited calls on a dedicated GPU
  • Sold by email: jakob@gtogecko.com
Email us

What is charged, and what it will cost: the price page.

Measured

Speed and accuracy

Solver time · 500 iterations

1.4–1.8 sFlop, one bet size
0.8–0.9 sTurn
0.4–0.6 sRiver

Average EV loss as a % of the pot · heads-up

0.51%Flop
0.99%Turn
0.48%River

The full table: Speed and accuracy.

Questions

What does it solve?

Heads-up no-limit hold'em after the flop. One solve is one street: a flop, a turn or a river. It does not solve the betting before the flop, and it does not solve spots with three players.

What do I get back?

JSON with every decision of the street. For each hand it has the strategy, the weight in the range and the EV of each action: the same output as the GTO Gecko app. Results shows how to read it.

Can I try it before I pay?

Yes. A test key is free. It returns the real format, the real betting tree and the real exits, with placeholder numbers, so you can build your whole flow. A live key returns real solutions.

What is a call?

One solve of one street. A line from the flop to the river is three calls. Reading a result is free.

How long does the first solve take?

A solver starts on demand. After a quiet period the first solve waits about 45 seconds for it. After that a street takes seconds. Warm and cold solver has the details.

Who can use it?

Businesses. An account needs a company name, and the payment page asks for the company's address and tax number. You can use results in your own products. You cannot use them to help a player during a hand: see Fair use.

Start with a free test key