Run ensembles from your own code

The AI Crucible API runs the same multi-model strategies as the app: several models work the question and one answer comes back. API access is included in the Pro plan.

Quickstart

curl https://ai-crucible.com/v1/chat/completions \
  -H "Authorization: Bearer $AI_CRUCIBLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-5","messages":[{"role":"system","content":"You are a precise technical editor. Pick the most accurate answer."},{"role":"user","content":"Explain the difference between optimistic and pessimistic locking in two paragraphs."}],"temperature":0.7,"stream":false,"ai_crucible":{"strategy":"competitive_refinement","rounds":2,"models":["gemini-3.8-flash","gpt-5.4-mini"],"includeCandidates":true,"includeReasoning":true}}'

Endpoints

Resources