chore: update OpenAPI spec from monorepo (#341)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
robert-j-y
2026-06-19 09:03:24 -07:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent 14a62e3451
commit 146cec3c08
+25
View File
@@ -24635,6 +24635,31 @@ paths:
example: 0.0001
format: double
type: number
cost_details:
description: Breakdown of upstream inference costs
example:
upstream_inference_completions_cost: 0.0004
upstream_inference_cost: null
upstream_inference_prompt_cost: 0.0008
nullable: true
properties:
upstream_inference_completions_cost:
format: double
type: number
upstream_inference_cost:
format: double
nullable: true
type: number
upstream_inference_prompt_cost:
format: double
type: number
required:
- upstream_inference_prompt_cost
- upstream_inference_completions_cost
type: object
is_byok:
description: Whether a request was made using a Bring Your Own Key configuration
type: boolean
prompt_tokens:
description: Number of tokens in the input
example: 8