Daily News
· 1 min read
Pydantic AI Updates: July 30, 2026
1. Pydantic AI v2.21.0 Adds Per-Request Input Token Limits
Pydantic AI released v2.21.0, adding a per_request_input_tokens_limit setting to UsageLimits so applications can cap the input tokens sent on any single model request. The release also fixes refreshing of KnownModelName from Gateway probes and stabilizes Google image IDs. The token-limit control gives developers a guardrail against oversized prompts inflating cost or hitting provider limits mid-run. Source