LiteLLMModels

Search And Replace API Pricing

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

Model ID stability/search-and-replacePrices updated Checked
Per image
$0.005
Providers
1
Added to LiteLLM
December 2025

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.

ProviderModel name in LiteLLMPer imageContext
Stability AIstability/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.

Python SDK
from litellm import image_edit

response = image_edit(
    model="stability/search-and-replace",
    image=open("image.png", "rb"),
    prompt="Describe your edit",
)
Proxy config.yaml
model_list:
  - model_name: search-and-replace
    litellm_params:
      model: stability/search-and-replace
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/images/edits \
  -H "Authorization: Bearer sk-1234" \
  -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.

LiteLLM docs: Stability AI.

Provider pages: Stability AI.