Stable Diffusion XL Base 1.0 API Pricing
As of October 10, 2026, Stable Diffusion XL Base 1.0 costs $0 per megapixel on Nscale.
- Providers
- 1
- Added to LiteLLM
- May 2025
Stable Diffusion XL Base 1.0 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 | Context |
|---|---|---|
| Nscale | nscale/stabilityai/stable-diffusion-xl-base-1.0 | – |
Use Stable Diffusion XL Base 1.0 with LiteLLM
Call Stable Diffusion XL Base 1.0 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/images/generations. LiteLLM tracks the cost of every request at these prices.
from litellm import image_generation
response = image_generation(
model="nscale/stabilityai/stable-diffusion-xl-base-1.0",
prompt="A cute baby sea otter",
)model_list:
- model_name: stable-diffusion-xl-base-1.0
litellm_params:
model: nscale/stabilityai/stable-diffusion-xl-base-1.0
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "stable-diffusion-xl-base-1.0",
"prompt": "A cute baby sea otter",
"n": 1,
"size": "1024x1024"
}'Stable Diffusion XL Base 1.0 FAQ
How much does Stable Diffusion XL Base 1.0 cost?
Stable Diffusion XL Base 1.0 costs $0 per megapixel on Nscale.
Which providers offer Stable Diffusion XL Base 1.0?
Stable Diffusion XL Base 1.0 is available from Nscale through LiteLLM, using the model name nscale/stabilityai/stable-diffusion-xl-base-1.0.
How do I call Stable Diffusion XL Base 1.0 with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="nscale/stabilityai/stable-diffusion-xl-base-1.0", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/images/generations from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
When did LiteLLM add Stable Diffusion XL Base 1.0?
Stable Diffusion XL Base 1.0 was added to LiteLLM's model price file in May 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. Provider pricing pages:
LiteLLM docs: Nscale.
Provider pages: Nscale.
