You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f0a8ff1
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30422,7 +30422,7 @@ components:
30422
30422
description: 'Price in USD per token for prompt (input) processing'
30423
30423
type: 'string'
30424
30424
request:
30425
-
description: 'Price in USD per request. For rerank models, price in USD per search unit: one query over up to 100 documents, so a call with more documents costs a multiple of this rate'
30425
+
description: 'Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit.'
30426
30426
type: 'string'
30427
30427
web_search:
30428
30428
description: 'Price in USD per web search'
@@ -32463,7 +32463,7 @@ components:
32463
32463
description: 'Price in USD per token for prompt (input) processing'
32464
32464
type: 'string'
32465
32465
request:
32466
-
description: 'Price in USD per request. For rerank models, price in USD per search unit: one query over up to 100 documents, so a call with more documents costs a multiple of this rate'
32466
+
description: 'Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit.'
Copy file name to clipboardExpand all lines: docs/components/pricing.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,5 +20,5 @@ title: "Pricing"
20
20
| `internal_reasoning` | *Optional[str]* | ➖ | Price in USD per internal reasoning token |
21
21
| `overrides` | List[[components.PricingOverride](../components/pricingoverride.mdx)] | ➖ | Conditional overrides of the base pricing (e.g. long-context or time-based pricing). An entry applies when all of its condition fields (e.g. min_prompt_tokens, or the utc_start/utc_end time window) match the request; among applicable entries, later entries win per key; price keys absent from an entry inherit the base price. The top-level pricing keys always reflect the price that applies under default conditions. |
22
22
| `prompt` | *str* | ✔️ | Price in USD per token for prompt (input) processing |
23
-
| `request` | *Optional[str]* | ➖ | Price in USD per request. For rerank models, price in USD per search unit: one query over up to 100 documents, so a call with more documents costs a multiple of this rate |
23
+
| `request` | *Optional[str]* | ➖ | Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit. |
24
24
| `web_search` | *Optional[str]* | ➖ | Price in USD per web search |
0 commit comments