Pydantic AI Now Supports O3 and O4-Mini
Pydantic AI now supports o3 and o4-mini. I really like these models: they can use tools inside their chain of thought, which makes them very agentic. For example, they can do search, reason about the results, and then search again with an improved query.
o3 is great for coding. It seems much less verbose than older models I’ve used and is less prone to over-engineering its code. It will write and revise code inside its CoT. Once o3 pro mode launches I will probably re-activate my ChatGPT Pro subscription.
o4-mini is great for visual reasoning. I’ve seen it take an image, think about my question, and then zoom in on a region of the image to find the correct answer to my question:

Check out the full release notes on GitHub: v0.1.4 Release. To install or upgrade, run:
uv add "pydantic-ai>=0.1.4"
or
uv pip install "pydantic-ai>=0.1.4"
