# Search And Replace API Pricing

As of October 10, 2026, Search And Replace costs $0.005 per image on Stability AI.

- Page: https://models.litellm.ai/models/search-and-replace
- LiteLLM model name: `stability/search-and-replace`
- Added to LiteLLM: December 2025
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Stability AI | `stability/search-and-replace` | – | – | – | $0.005 | – | – |

## Cost examples

Generating 1,000 images:

- Stability AI: $5.00

## Use it with LiteLLM

```python
from litellm import image_edit

response = image_edit(
    model="stability/search-and-replace",
    image=open("image.png", "rb"),
    prompt="Describe your edit",
)
```

## FAQ

### How much does Search And Replace cost?

Search And Replace costs $0.005 per image on Stability AI.

### Which providers offer Search And Replace?

Search And Replace is available from Stability AI through LiteLLM, using the model name stability/search-and-replace.

### How do I call Search And Replace with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="stability/search-and-replace", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/images/edits from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### When did LiteLLM add Search And Replace?

Search And Replace was added to LiteLLM's model price file in December 2025.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
