Skip to content

Commit 4b62c1c

Browse files
authored
fix OpenRouter API URL instruction in documentation (#25362)
1 parent 079deb1 commit 4b62c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/ai-gateway/usage/providers/openrouter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/openrouter
1313

1414
## URL structure
1515

16-
When making requests to [OpenRouter](https://openrouter.ai/), replace `https://openrouter.ai/api/v1/chat/completions` in the URL you are currently using with `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/openrouter`.
16+
When making requests to [OpenRouter](https://openrouter.ai/), replace `https://openrouter.ai/api/v1/chat/completions` in the URL you are currently using with `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/openrouter/chat/completions`.
1717

1818
## Prerequisites
1919

0 commit comments

Comments
 (0)