mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
41 lines
557 B
Plaintext
41 lines
557 B
Plaintext
---
|
|
title: "Tokenizer"
|
|
---
|
|
|
|
Tokenizer type used by the model
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import Tokenizer
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: Tokenizer = "Router"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"Router"`
|
|
- `"Media"`
|
|
- `"Other"`
|
|
- `"GPT"`
|
|
- `"Claude"`
|
|
- `"Gemini"`
|
|
- `"Gemma"`
|
|
- `"Grok"`
|
|
- `"Cohere"`
|
|
- `"Nova"`
|
|
- `"Qwen"`
|
|
- `"Yi"`
|
|
- `"DeepSeek"`
|
|
- `"Mistral"`
|
|
- `"Llama2"`
|
|
- `"Llama3"`
|
|
- `"Llama4"`
|
|
- `"PaLM"`
|
|
- `"RWKV"`
|
|
- `"Qwen3"`
|