Is there a free Leonardo.Ai API?

API is Pay-As-You-Go; no API free trial found (the 150 daily tokens are the web app)

Credit card
Card required
From China
VPN
OpenAI
Not OpenAI-compatible
Real-name check
No real-name check
Checked
verified on 2026-11-24 (official)

Sign up ↗WebsiteDocsPricing page

Limits

Billing modelPrepaid PAYG top-ups or auto top-up
API free creditsNone in official docs
Pricing calculatorIn-app, shows credit use before generating

Free models

No free model ids were recorded for this check.

How to get a key

  1. Create a Leonardo account.
  2. Open the API Access tab and create an API account.
  3. Top up PAYG credit (card charged automatically under auto top-up).
  4. Create an API key and call the REST API.

Call it

This provider is not marked OpenAI-compatible. The call below is the usual chat shape for a base URL. If it does not match their API, use their docs.

curl

curl https://cloud.leonardo.ai/api/rest/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"MODEL_ID","messages":[{"role":"user","content":"Hello"}]}'

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://cloud.leonardo.ai/api/rest/v1",
    api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
    model="MODEL_ID",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Notes

  • Web-app free tier (about 150 tokens/day per third-party sources) does not apply to the API.
  • The minimum top-up amount is not stated.

Sources and check date

Checked on the provider’s own page on 2026-11-24.

Similar providers

  • Cloudflare Workers AI — 10,000 Neurons per day free on the Workers Free plan, resetting at 00:00 UTC.
  • AI Horde — Free community-run text and image generation; anonymous key 0000000000 works but has the lowest queue priority.
  • Vercel AI Gateway — Every team gets a monthly free credit (reported $5 every 30 days) usable on a subset of free-tier models.
  • Replicate — A few select models run free until you are asked to set up billing; no stated amount

free LLM API router

Questions

Is the Leonardo.Ai API free?
API is Pay-As-You-Go; no API free trial found (the 150 daily tokens are the web app)
Does Leonardo.Ai require a credit card?
Our check marked Leonardo.Ai as requiring a credit card.
Can I reach Leonardo.Ai from China without a VPN?
Our check marked Leonardo.Ai as needing a VPN from China.
Is the Leonardo.Ai API OpenAI-compatible?
Our record does not mark the Leonardo.Ai API as OpenAI-compatible.
When was the Leonardo.Ai free tier checked?
We checked Leonardo.Ai on the provider’s own page on 2026-11-24.

Get an email when a free tier changes

Leave an address. We mail it when a free allowance on this list changes.