> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://openrouter.ai/docs/llms.txt.
> For full documentation content, see https://openrouter.ai/docs/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://openrouter.ai/docs/_mcp/server.

# CreateRerankUsage - Python SDK

The Python SDK and docs are currently in beta.
Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).

Usage statistics

## Fields

| Field          | Type               | Required             | Description                                      | Example |
| -------------- | ------------------ | -------------------- | ------------------------------------------------ | ------- |
| `cost`         | *Optional\[float]* | :heavy\_minus\_sign: | Cost of the request in credits                   | 0.001   |
| `search_units` | *Optional\[int]*   | :heavy\_minus\_sign: | Number of search units consumed (Cohere billing) | 1       |
| `total_tokens` | *Optional\[int]*   | :heavy\_minus\_sign: | Total number of tokens used                      | 150     |