openai-python v2.48.0 adds None support for cache keys and spend limit APIs
sdkaiengineer
feature
The openai-python client library has released version 2.48.0, introducing support for passing `None` to `prompt_cache_key` and `safety_identifier` for enhanced caching flexibility. It also adds support for `spend_limit` administrative APIs, beneficial for managing resource allocation. These updates are relevant for developers using the Python client to interact with OpenAI services, particularly those managing caching or administrative functions.
- →accept None for prompt_cache_key/safety_identifier
- →add support for spend_limit admin apis
Read the original announcement →
https://github.com/openai/openai-python/releases/tag/v2.48.0
Related releases
- OpenAI model gpt-5.4-cyber reaches end of life in 19 days endoflife.date ·
- OpenAI model o3-pro-2025-06-10 reaches end of life in 90 days endoflife.date ·
- OpenAI model o3-2025-04-16 reaches end of life in 90 days endoflife.date ·
- OpenAI model gpt-5-pro-2025-10-06 reaches end of life in 90 days endoflife.date ·
- OpenAI model gpt-5-nano-2025-08-07 reaches end of life in 90 days endoflife.date ·
- OpenAI model gpt-5-mini-2025-08-07 reaches end of life in 90 days endoflife.date ·