When to use Spot
The canonical agent-instructions file is /agent-instructions.md. This page is the docs copy.
When to use this
Use Spot when you need to:
- Buy an OpenAI-compatible chat completion at a
max_pricebid instead of a vendor list price. - Repoint an existing Chat Completions client at
https://api.aispotmarket.com. - List unused GPU capacity as a seller ask.
Do not use Spot for embeddings, images, audio, or fine-tuning. Those are not on v1. Do not send inference to aispotmarket.com.
How to call
curl https://api.aispotmarket.com/v1/chat/completions \
-H "Authorization: Bearer $SPOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4","messages":[{"role":"user","content":"hello"}],"max_price":"0.05"}'
Or aispot chat --message hello --max-price 0.05 (Rust CLI; see CLI). Also Authentication and llms.txt.