One more issue: Turning on Guardrails seems to break streaming (at least when OpenAI is the default
One more issue: Turning on Guardrails seems to break streaming (at least when OpenAI is the default model.)
{model}:{keyword} syntax used by open router, the end of the model name is really critical to see when streaming or scanning the last


X
•3/16/25, 11:20 PM

Custom costs will appear in the logs with an underline, making it easy to identify when custom pricing has been applied.But that is no longer the case (I haven't used custom costs before so I don't know when it disappeared).








2009 Unauthorized consistently on every request going to any authenticated gateway (any provider/model). I rolled a new ai gateway token and azure ai tokens and manually tried them, but they're failing too. Last known good request was April 1, 2025
200 OK [
{
"provider": "workers-ai",
"endpoint": "@cf/meta/llama-2-7b-chat-int8",
"headers": {
"Authorization": "Bearer CF_TOKEN-INVALID",
"Content-Type": "application/json"
},
"config":{
"skipCache": true
},
"query": {
"messages": [
{
"role": "system",
"content": "You are a friendly assistant"
},
{
"role": "user",
"content": "10+1=?"
}
]
}
},
{
"provider": "workers-ai",
"endpoint": "@cf/meta/llama-2-7b-chat-int8",
"headers": {
"Authorization": "Bearer CF_TOKEN",
"Content-Type": "application/json"
},
"config":{
"skipCache": true
},
"query": {
"messages": [
{
"role": "system",
"content": "You are a friendly assistant"
},
{
"role": "user",
"content": "10+10=?"
}
]
}
}
] {
"result": null,
"success": false,
"errors": [
{
"code": 7010,
"message": "Service unavailable"
}
],
"messages": [
]
}