> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-speakeasy-sdk-regen-1790763208.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenRouterMetadata

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `attempt` | *int* | :heavy\_check\_mark: | N/A | |
| `attempts` | List\[[components.RouterAttempt](../components/routerattempt.mdx)] | :heavy\_minus\_sign: | N/A | |
| `endpoints` | [components.EndpointsMetadata](../components/endpointsmetadata.mdx) | :heavy\_check\_mark: | N/A | \{<br />"available": \[<br />\{<br />"model": "openai/gpt-4o",<br />"provider": "OpenAI",<br />"selected": true<br />}<br />],<br />"total": 3<br />} |
| `generation_time` | *Optional\[int]* | :heavy\_minus\_sign: | Milliseconds measured for the generation, from dispatching the upstream request until its response body ended. Divide the completion token count by this for throughput. Absent when no upstream request was dispatched. | 2016 |
| `is_byok` | *bool* | :heavy\_check\_mark: | N/A | |
| `params` | [Optional\[components.RouterParams\]](../components/routerparams.mdx) | :heavy\_minus\_sign: | N/A | \{<br />"version\_group": "anthropic/claude-sonnet-4"<br />} |
| `pipeline` | List\[[components.PipelineStage](../components/pipelinestage.mdx)] | :heavy\_minus\_sign: | N/A | |
| `region` | *Nullable\[str]* | :heavy\_check\_mark: | N/A | |
| `requested` | *str* | :heavy\_check\_mark: | N/A | |
| `strategy` | [components.RoutingStrategy](../components/routingstrategy.mdx) | :heavy\_check\_mark: | N/A | direct |
| `summary` | *str* | :heavy\_check\_mark: | N/A | |
