Skip to content

Commit 9d692b0

Browse files
committed
update
1 parent cb44768 commit 9d692b0

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

articles/ai-foundry/openai/concepts/models.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the different model capabilities that are available wit
55
author: mrbullwinkle #ChrisHMSFT
66
ms.author: mbullwin #chrhoder#
77
manager: nitinme
8-
ms.date: 06/25/2025
8+
ms.date: 07/24/2025
99
ms.service: azure-ai-openai
1010
ms.topic: conceptual
1111
ms.custom:
@@ -36,6 +36,21 @@ Azure OpenAI is powered by a diverse set of models with different capabilities a
3636

3737
## GPT 4.1 series
3838

39+
> [!IMPORTANT]
40+
> There is a known issue impacting all GPT 4.1 series models where large tool/function call definitions exceeding 300,000 tokens will result in failures even though the 1 million token context limit of the models has not been reached.
41+
>
42+
> The errors can vary based on API call as well as underlying payload characteristics.
43+
>
44+
> **Chat Completions API error messages**:
45+
>
46+
> **Error code: 400** - {'error': {'message': "This model's maximum context length is 300000 tokens. However, your messages resulted in 350564 tokens (100 in the messages, 350464 in the functions). Please reduce the length of the messages or functions.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}
47+
>
48+
> **Error code: 400** - {'error': {'message': "Invalid 'tools[0].function.description': string too long. Expected a string with maximum length 1048576, but got a string with length 2778531 instead.", 'type': 'invalid_request_error', 'param': 'tools[0].function.description', 'code': 'string_above_max_length'}}
49+
>
50+
> **Responses API error message:**
51+
>
52+
> Error code: 500 - {'error': {'message': 'The server had an error processing your request. Sorry about that! You can retry your request, or contact us through an Azure support request at: https://go.microsoft.com/fwlink/?linkid=2213926 if you keep seeing this error. (Please include the request ID d2008353-291d-428f-adc1-defb5d9fb109 in your email.)', 'type': 'server_error', 'param': None, 'code': None}}
53+
3954
### Region availability
4055

4156
| Model | Region |

0 commit comments

Comments
 (0)