What's free
One-time $5 credit across serverless models (GPT-OSS-120B, Claude, Llama), vision, embeddings and image generation
Rate limits
15 requests/second global default (CONN_THROTTLED on exceed)
The catch
Catch: SMS phone verification is required to claim the $5. Credit is one-time and expires 30 days after grant; a card is required to recharge afterward.
Quickstart — chat completions
from openai import OpenAI
client = OpenAI(base_url="https://api.clarifai.com/v2/ext/openai/v1", api_key="<YOUR_FREE_API_KEY>")
resp = client.chat.completions.create(
model="<a-free-model>",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)…or with curl:
curl https://api.clarifai.com/v2/ext/openai/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"<a-free-model>","messages":[{"role":"user","content":"Hello!"}]}'