From 822b42eecf8e43f2de80b29a1ca20a17f37e8ff6 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Thu, 5 Nov 2026 20:36:19 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index a8f5e41cf..9cf9822e5 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -11229,12 +11229,18 @@ components: usage: properties: cost: + description: 'What OpenRouter charges for the request, in credits. On a BYOK request this is the OpenRouter fee only.' format: 'double' type: 'number' + cost_details: + $ref: '#/components/schemas/CostDetails' input_tokens: type: 'integer' input_tokens_details: $ref: '#/components/schemas/DecisionsUsageInputTokensDetails' + is_byok: + description: 'Whether a request was made using a Bring Your Own Key configuration' + type: 'boolean' output_tokens: type: 'integer' required: