Astral's ty 1.0 becomes OpenAI's default Python type checker with a 24x speedup
Ty 1.0: an extremely fast Python type checker and language server

Astral has released ty 1.0, a Rust-based Python type checker and language server that is now OpenAI's default, delivering a median 24x speedup and 73% less peak memory. It was the fastest checker on 16 of 18 projects and fastest language server on 14 of 17, and it adds Pydantic support, bidirectional inference, and auto-fixes. PyPI downloads grew 29x in a year.
ty is the most technically ambitious project I have ever worked on.
- cataflam
I remember re-evaluating in March and switching (from mypy or nothing depending on the projects) to pyright
At the time, ty had a conformance suite pass rate of 53% and pyrefly of 88% vs. pyright's 98% (and I didn't know zuban)
Now [1] pyrefly and zuban both sit at 100%, ty at 97% and pyright at 96%
Time to re-evalute
[1] https://github.com/python/typing/blob/main/conformance/resul...
- adsharma
All the people asking for django type checking: there is no free lunch. You have to change how you write Django to be type friendly. Applies to sqlalchemy/sqlmodel too.
https://github.com/adsharma/fquery/blob/main/tests/django_ex...
https://github.com/adsharma/fastapi-shopping/blob/main/src/f...
- memco
I'm excited for this as I think Ty is quite nice to use, but this announcement was hard to appreciate because it feels poorly written.
They have benchmark graphs which aren't properly labeled; the links (when they exist below) do not give a more full picture (you just have to jump back and forth and try to map the table to the graphs somehow?); and the year-over-year growth chart feels weird. The YoY chart makes me want to know more about why mypy grew 4x from 2025 to 2026 than it makes me feel like Ty has healthy growth. It also is concerning why they chose to emphasize growth of the user base over the actual type checking advantages that Ty gives: especially the advancements 1.0 gives.
It's a mishmash of information and feels lacking.
- scosman
We switched from Pyright to Ty during early betas and never looked back. The speed was a clear win, and the few bugs we hit were all resolved. Great work Astral folks.
- lastofus
Has anyone had success integrating a type checker like Ty, Pyright, MyPy etc. into a large Django monolith that currently has no type checking at all?
- fishgoesblub
Curious to see how Ty now compares to Pyrefly in practice. Had to switch from Ty because it was rather poor compared to Pyrefly at the time. A bit spoiled for choice in regards to Python type checkers now.
- kccqzy
I’ve given up on typing in Python in the work codebase. My colleagues don’t care about types, use meta programming too much (too many type-changing decorators and meta classes, etc), and I’ve seen as much as 2000 false positives per 10k loc.
But even then, when I switched from pyright to ty, I was really amazed at how fast operations like go-to-definition can be. With pyright, the language-server-based go-to-definition is often slower than ripgrep search.
- dang
Past related threads. Others?
Ty – A fast Python type checker, written in Rust - https://news.ycombinator.com/item?id=46100637 - Nov 2025 (15 comments)
Pyrefly vs. Ty: Comparing Python's two new Rust-based type checkers - https://news.ycombinator.com/item?id=44107655 - May 2025 (160 comments)
Ty: A fast Python type checker and language server - https://news.ycombinator.com/item?id=43918484 - May 2025 (287 comments)