Skip to content

Commit 4bfcdb8

Browse files
authored
Update custom-costs.mdx (#16760)
Nelson caught extra brackets
1 parent 378c8c8 commit 4bfcdb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/ai-gateway/configuration/custom-costs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In this example, if you have a negotiated price of $1 per million input tokens a
3434
curl https://gateway.ai.cloudflare.com/v1/{{account_id}}/{{gateway_id}}/openai/chat/completions \
3535
--header 'Authorization: Bearer $TOKEN' \
3636
--header 'Content-Type: application/json' \
37-
--header 'cf-aig-custom-cost: {{"per_token_in":0.000001,"per_token_out":0.000002}}' \
37+
--header 'cf-aig-custom-cost: {"per_token_in":0.000001,"per_token_out":0.000002}' \
3838
--data ' {{
3939
"model": "gpt-4o-mini",
4040
"messages": [

0 commit comments

Comments
 (0)