// Docs

Documentation

Connect to Compyoot via OpenAI-compatible API in under 5 minutes.

Quickstart

1. Set your base URL

const client = new OpenAI({
  apiKey: process.env.COMPYOOT_API_KEY,
  baseURL: "https://api.compyoot.com/v1"
});

2. Route a task

const response = await client.chat.completions.create({
  model: "auto",
  messages: [{ role: "user", content: "Extract all prices from this listing" }],
  task_hint: "extraction"
});
console.log(response.choices[0].message.content);

API Reference

POST
/v1/chat/completions

Send a chat completion. Compyoot classifies and routes to the optimal model.

POST
/v1/feedback

Submit quality feedback for a completed run.

GET
/v1/models

List all available models and their current status.

GET
/v1/stats

Get router performance statistics.

Available models

32 models across 8 providers.

ModelProviderBest for
cerebras-llamaCerebrasFast extraction
cerebras-qwenCerebrasReasoning
groq-llamaGroqLow-latency
groq-scoutGroqAnalysis
samba-llamaSambaNovaBalanced
samba-r1SambaNovaChain-of-thought
cf-kimiFireworksAnalysis
fw-gptossFireworksGeneration
geminiGoogleLong context + vision
openrouter-qwen36OpenRouterComplex reasoning
mistralMistralFast generation
haikuAnthropicFast Claude
opusAnthropicPremium reasoning
zai-flashZAISpeed + quality