What's free
$30 trial credit
Rate limits
Any supported model, compute-based pricing
The catch
No documented expiration date publicly
Quickstart — chat completions
from openai import OpenAI
client = OpenAI(base_url="https://inference.baseten.co/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://inference.baseten.co/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"<a-free-model>","messages":[{"role":"user","content":"Hello!"}]}'