Project import generated by Copybara.

GitOrigin-RevId: 2592bdc8b4b7c695a3d689390aedc9a42914acc8
This commit is contained in:
OpenRouter Team
2026-01-22 01:26:28 +00:00
parent 5832c0495b
commit 5f2c0ee2ea
130 changed files with 16948 additions and 1127 deletions
@@ -28,6 +28,8 @@ class PricingTypedDict(TypedDict):
r"""A value in string format that is a large number"""
audio: NotRequired[str]
r"""A value in string format that is a large number"""
audio_output: NotRequired[str]
r"""A value in string format that is a large number"""
input_audio_cache: NotRequired[str]
r"""A value in string format that is a large number"""
web_search: NotRequired[str]
@@ -63,6 +65,9 @@ class Pricing(BaseModel):
audio: Optional[str] = None
r"""A value in string format that is a large number"""
audio_output: Optional[str] = None
r"""A value in string format that is a large number"""
input_audio_cache: Optional[str] = None
r"""A value in string format that is a large number"""
@@ -101,6 +106,8 @@ class PublicEndpointTypedDict(TypedDict):
r"""Information about a specific model endpoint"""
name: str
model_id: str
r"""The unique identifier for the model (permaslug)"""
model_name: str
context_length: float
pricing: PricingTypedDict
@@ -123,6 +130,9 @@ class PublicEndpoint(BaseModel):
name: str
model_id: str
r"""The unique identifier for the model (permaslug)"""
model_name: str
context_length: float