Warning: Undefined array key "post_type_share_twitter_account" in /var/www/vhosts/casinonewsblogger.com/public_html/wp-content/themes/cryptocurrency/vslmd/share/share.php on line 24



i built a blackjack benchmark to test which ai model plays closest to optimal strategy!

i ran 5 language models through 1,000 hands of blackjack each to see who could match optimal play.

i also built a real-time ui where you can play alongside the ai recommendations and see how they compare to optimal strategy. the entire project uses fastapi + htmx for server-side rendering, with a custom blackjack engine following standard casino rules (6-deck shoe, dealer stands on soft 17, etc.).

all code, data, and visualizations are open source and free to use!

repository: https://github.com/thomasgtaylor/llm21

source