Search And Replace API Pricing
stability/search-and-replace- Price
- $0.005 per image
As of November 24, 2026, Search And Replace costs $0.005 per image on Stability AI.
Search And Replace pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Per image | Context |
|---|---|---|---|
| Stability AI | stability/search-and-replace | $0.005 | – |
What Search And Replace costs in practice
Generating 1,000 images
| Stability AI | $5.00 |
Use Search And Replace with LiteLLM
Call Search And Replace through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/images/edits. LiteLLM tracks the cost of every request at these prices.
from litellm import image_edit
response = image_edit(
model="stability/search-and-replace",
image=open("image.png", "rb"),
prompt="Describe your edit",
)model_list:
- model_name: search-and-replace
litellm_params:
model: stability/search-and-replace
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/images/edits \ -H "Authorization: Bearer $LITELLM_API_KEY" \ -F model="search-and-replace" \ -F image=@image.png \ -F prompt="Describe your edit"
Search And Replace 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.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.
LiteLLM docs: Stability AI.
Provider pages: Stability AI.