Hi I wanted to test the speed for the new 4o-mini vision API, I am using Mac/Linux and curl request with command line… I am always getting the same error message, hoverver i am on a tier3 and have very high rate limits, and haven’t spent a penny in the last 24 hours!
The response is the following:
{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
My Curl request is like this (yes skipped my API key of course and the content)
curl https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-my-api-key" \
-d '{
"model": "gpt-4o-mini-2024-07-18",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "what is in the image?"
},
{
"type": "image_url",
"image_url": {
"url": "https:/my-url-of-an-image.jpg"
}
}
]
}
],
"max_tokens": 3000
}'
I was trying also to pass only the gpt-4o-mini
and the same error…
It works fine with gpt-4o
model…
what am I doing wrong??
Any help/hint appreciated!