Real Python AI News · Weekly edition · The week of November 14–20, 2026

An email from Real Python titled Here Are Your AI News, What Changed and Why It Matters, with lavender newsletter artwork and a What's New in AI heading.

Stop Falling Behind on AI. Catch Up in Five Minutes.

New models, new prices, new agent tools, all the time. Our new AI newsletter gives you the handful of stories you actually need as a developer. Free, straight from the Real Python team.

New AI models keep arriving, and AI is now finding software flaws faster than the people who maintain that software can fix them. Here’s the week in plain language, from cheaper models to a poisoned AI toolkit and two urgent security updates.

OpenAI’s Newest GPT Models Are Out, and the Top One Costs Less

Screenshot of the source page: Introducing GPT-6.2 Astra and Sol | OpenAI

OpenAI, the company behind ChatGPT, has two new AI models out. GPT-6.2 Astra is the more powerful one, made for the hardest work. GPT-6.2 Sol is the cheaper choice for everyday tasks. Both are in ChatGPT Work and Codex, OpenAI’s coding assistant. They’re also available through OpenAI’s API, which lets other software send requests to a model and pay for each one.

OpenAI counts that bill in tokens, chunks of text a few characters long. Astra costs 20 percent less than the earlier GPT-6 Astra: $8 for every million tokens sent to it and $40 for every million tokens it writes back. Text a program sends over and over can be stored and reused as cached input, at $0.40 per million tokens. Sol keeps the prices of GPT-6.1 Sol.

OpenAI also claims better results. On Agents’ Last Exam, a test of long, multistep professional tasks, OpenAI says Astra scores 5.2 points above GPT-6 Astra and 5.5 points above Claude Fable 5.2, a model from rival Anthropic.

Philipp Acsany

“New top AI models now arrive every few months, and advanced AI work keeps getting cheaper. A lower price on OpenAI’s best model lets businesses that build on it use it for more tasks on the same budget. The benchmark lead is OpenAI’s own figure.”

— Philipp Acsany, Real Python

Poisoned Updates to Microsoft’s AI Agent Toolkit Steal Keys

Screenshot of the source page: Microsoft agent-framework PyPI Package Compromised - StepSecurity

Two updates to a Microsoft toolkit for Python programmers turn out to be traps. The toolkit, Agent Framework, helps developers build AI agents, programs that carry out tasks on their own. It’s handed out through PyPI, the public catalog of free Python packages. Security company StepSecurity reports that versions 1.26.1 and 1.26.2 hide code that steals passwords and keys.

The code runs every time Python starts, even if nothing uses the toolkit. It gathers login secrets for cloud accounts and for the automated systems that test and publish software, requests fresh access passes, and sends it all to the attacker.

PyPI blocked the first bad version about half an hour after it appeared. The attacker uploaded the second a little over two minutes later, and PyPI blocked it eight minutes after that. Version 1.26.0 is the last safe release. Anyone who installed a bad version should rebuild that machine from scratch and change every password and key on it.

“Attacks like this target the software supply chain. Instead of breaking into one company, the attacker poisons a building block that many projects download. AI toolkits make tempting targets because they often hold keys to cloud accounts and paid AI services. How the attacker got the right to publish is unknown, and Microsoft hasn’t said how many people installed the bad versions.”

— Philipp

Google Adds a Mid-Priced Model to Its Gemini Family

Read the full article at https://realpython.com/ai-news-weekly-2026-11-20/ »


[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]