We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 378c8c8 commit 4bfcdb8Copy full SHA for 4bfcdb8
src/content/docs/ai-gateway/configuration/custom-costs.mdx
@@ -34,7 +34,7 @@ In this example, if you have a negotiated price of $1 per million input tokens a
34
curl https://gateway.ai.cloudflare.com/v1/{{account_id}}/{{gateway_id}}/openai/chat/completions \
35
--header 'Authorization: Bearer $TOKEN' \
36
--header 'Content-Type: application/json' \
37
- --header 'cf-aig-custom-cost: {{"per_token_in":0.000001,"per_token_out":0.000002}}' \
+ --header 'cf-aig-custom-cost: {"per_token_in":0.000001,"per_token_out":0.000002}' \
38
--data ' {{
39
"model": "gpt-4o-mini",
40
"messages": [
0 commit comments