From 9dcc4899da83bf90f36136cfc753e08602279f19 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Fri, 26 Jun 2026 00:14:22 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 3ee87201..784ab7e2 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -18888,7 +18888,14 @@ components: description: Price in USD per cached input token (read) type: string input_cache_write: - description: Price in USD per cached input token (write) + description: >- + Price per cache-write token, in USD per token. For providers with multiple cache TTLs (e.g. Anthropic), + this is the default (5-minute) cache-write rate. + type: string + input_cache_write_1h: + description: >- + Price per 1-hour cache-write token, in USD per token. Only present for providers that price an extended + (1-hour) cache TTL separately, such as Anthropic. type: string internal_reasoning: description: Price in USD per internal reasoning token @@ -19005,7 +19012,14 @@ components: description: Price in USD per cached input token (read) type: string input_cache_write: - description: Price in USD per cached input token (write) + description: >- + Price per cache-write token, in USD per token. For providers with multiple cache TTLs (e.g. Anthropic), this + is the default (5-minute) cache-write rate. + type: string + input_cache_write_1h: + description: >- + Price per 1-hour cache-write token, in USD per token. Only present for providers that price an extended + (1-hour) cache TTL separately, such as Anthropic. type: string internal_reasoning: description: Price in USD per internal reasoning token