ty 1.0: Astral's Python type checker goes stable and becomes OpenAI's default

Astral announced on December 1, 2026, ty 1.0, version 1.0 of its Python type checker and language server, written in Rust. Built as an alternative to tools such as mypy, Pyright and Pyrefly, ty is now recommended by the company for production use by all users.

The headline of the announcement is adoption at OpenAI: according to Astral, ty is now the default and most widely deployed type checker at the company, covering many millions of lines of critical Python. In the internal migration, OpenAI recorded a median 24x speedup and a 73% reduction in peak memory usage. The figures come from Astral itself and have not been independently reproduced. It is worth noting that OpenAI announced in March 2026 that it would acquire Astral, so this is not an independent customer win.

In Astral's benchmarks, ty was the fastest type checker on 16 of 18 ecosystem projects — 1.46x faster than Pyrefly and 3.56x faster than Zuban, by geometric mean. As a language server, it was the fastest on 14 of 17 projects. Independent tests published after the release confirm the speed advantage: on a 201-file codebase, ty 1.0.0 took 0.042 seconds at the median, 24.2x faster than mypy and 74.9x faster than Pyright. In another test, on FastAPI, ty checked the project in 0.57 seconds, against 7.75 seconds for mypy and 10.68 seconds for Pyright — but it also raised 16 diagnostics on code mypy considered clean, which suggests migration may require an initial triage.

Adoption grew fast even during the beta: PyPI downloads rose 29x between October 2025 and October 2026, from 1.7 million to 49.6 million. In a November audit of the 25,000 most-downloaded PyPI packages, 11.6% of repositories with a type checker used ty — third place, behind mypy and Pyright. Among repositories created in the last year, the share reaches 22.6%.

On Python's official typing conformance suite — which Astral itself describes as an imperfect proxy for real-world correctness — ty now records 14 false positives and 13 false negatives, down from 224 and 405 at the beta release. For comparison, mypy records 190 false positives and 109 false negatives.

What ships in 1.0

  • A new generics solver and expanded bidirectional inference;
  • Built-in support for libraries such as Pydantic, Django, pytest and attrs;
  • Opt-in return type inference for functions without annotations;
  • Automatic fixes with ty check --fix and one-pass suppressions with ty check --add-ignore;
  • A diagnostic baseline, in preview, so CI flags only new errors;
  • Integration with uv to check standalone scripts with PEP 723 metadata, also in preview.

To install, run uv tool install ty@latest or use the official VS Code extension.

Cover image: Astral (press material).

Sources

Transparency: this article was produced with the assistance of artificial intelligence, based on cross-checking public posts on X and sources on the internet. Always consult the original sources to confirm the details.

Por Muse