mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix(models): correct max_input_tokens for GPT-5 models (#19056)
OpenAI's 400k context window is split between input and output: - GPT-5/5.1/5.2 models: 272k input + 128k output = 400k context - GPT-5-pro models: 128k input + 272k output = 400k context Reference: https://openai.com/index/introducing-gpt-5-for-developers/ "In the API, all GPT-5 models can accept a maximum of 272,000 input tokens and emit a maximum of 128,000 reasoning & output tokens" Fixes incorrect 400k max_input_tokens values across 32 models.
This commit is contained in:
parent
4aadc0d41f
commit
e0da7ca918
1 changed files with 225 additions and 225 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue