---
title: "litellm.aembedding()"
description: "LiteLLM provides an asynchronous version of the `embedding` function called `aembedding` ### Usage ```python from litellm import aembedding import asyncio"
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/async-embedding
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:08:00.169Z
license: CC-BY-4.0
attribution: "litellm.aembedding() — Claudary (https://claudary.paisolsolutions.com/skills/async-embedding)"
---

# litellm.aembedding()
LiteLLM provides an asynchronous version of the `embedding` function called `aembedding` ### Usage ```python from litellm import aembedding import asyncio

## Overview

# litellm.aembedding()

LiteLLM provides an asynchronous version of the `embedding` function called `aembedding`
### Usage
```python
from litellm import aembedding
import asyncio

async def test_get_response():
    response = await aembedding('text-embedding-ada-002', input=["good morning from litellm"])
    return response

response = asyncio.run(test_get_response())
print(response)
```

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/async-embedding) · https://claudary.paisolsolutions.com
