Gpt-5, gpt-5-mini, and gpt-5-nano now available in the API

Using gpt-5-chat-latest I didn’t have the greatest start in “production”, (don’t worry nothing critical)

openai.NotFoundError: Error code: 404 - {'error': {'message': 'functions is not supported in this model. For a list of supported models, refer to https://platform.openai.com/docs/guides/function-calling#models-supporting-function-calling.', 'type': 'invalid_request_error', 'param': None, 'code': None}}

then with gpt-5:

openai.BadRequestError: Error code: 400 - {'error': {'message': "Unsupported value: 'temperature' does not support 0.2 with this model. Only the default (1) value is supported.", 'type': 'invalid_request_error', 'param': 'temperature', 'code': 'unsupported_value'}}

Guess I need to review the docs! A bit of a migration to do …

(“functions” is now fully deprecated, you must use “tools” etc. … one of the risks of vibe coding :slight_smile: )

6 Likes