> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Embedding

> OpenAI-compatible embeddings endpoint.

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.arouter.ai/v1/embeddings \
    -H "Authorization: Bearer lr_live_xxxx" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "openai/text-embedding-3-small",
      "input": "The quick brown fox"
    }'
  ```

  ```python Python theme={null}
  response = client.embeddings.create(
      model="openai/text-embedding-3-small",
      input="The quick brown fox",
  )
  ```
</RequestExample>
