mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
23 lines
449 B
Plaintext
23 lines
449 B
Plaintext
---
|
|
title: "Speed"
|
|
---
|
|
|
|
Controls output generation speed. When set to `fast`, uses a higher-speed inference configuration at premium pricing. Defaults to `standard` when omitted.
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import Speed
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: Speed = "fast"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"fast"`
|
|
- `"standard"`
|