I'll try using it like this, not ideal but maybe it will work.
I'll try using it like this, not ideal but maybe it will work.





3046 can it happen that I am using max tokens? Because I am using base64 images @cf/google/gemma-3-12b-it 


curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/meta/llama-4-scout-17b-16e-instruct \
-X POST \
-H "Authorization: Bearer $CLOUDFLARE_AUTH_TOKEN" \
-d '{ "messages": [{ "role": "system", "content": "You are a friendly assistant" }, { "role": "user", "content": "Why is pizza so good" }]}'{
"error": {
"code": "invalid_prompt",
"message": "AiError: AiError: Request timeout (a613c7db-647c-4c07-ba94-a5702bc99d52)"
}
} "error": {
"message": "4006: you have used up your daily free allocation of 10,000 neurons, please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage.",
"stage": "pipeline",
"code": "internal_error"
},
"timestamp": "2025-10-27T08:26:51.928Z"{
"httpCode": 408,
"internalCode": 3046,
"message": "AiError: AiError: Request timeout (a22d7817-d6c4-42a8-b5fb-1693703a1845)",
"name": "AiError",
"skipSentry": true,
"description": "Request timeout"
}3046@cf/google/gemma-3-12b-it