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

# CreateEmbeddingsRequest - Python SDK

> CreateEmbeddingsRequest method reference

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

## Fields

| Field             | Type                                                                               | Required             | Description                                   |
| ----------------- | ---------------------------------------------------------------------------------- | -------------------- | --------------------------------------------- |
| `input`           | [operations.InputUnion](/client-sdks/python/api-reference/operations/inputunion)   | :heavy\_check\_mark: | N/A                                           |
| `model`           | *str*                                                                              | :heavy\_check\_mark: | N/A                                           |
| `encoding_format` | [Optional\[operations.EncodingFormat\]](../operations/encodingformat.md)           | :heavy\_minus\_sign: | N/A                                           |
| `dimensions`      | *Optional\[int]*                                                                   | :heavy\_minus\_sign: | N/A                                           |
| `user`            | *Optional\[str]*                                                                   | :heavy\_minus\_sign: | N/A                                           |
| `provider`        | [Optional\[components.ProviderPreferences\]](../components/providerpreferences.md) | :heavy\_minus\_sign: | Provider routing preferences for the request. |
| `input_type`      | *Optional\[str]*                                                                   | :heavy\_minus\_sign: | N/A                                           |
