Connect AI1API to WorkBuddy

WorkBuddy can connect to AI1API through a custom endpoint. Choose the protocol that matches the group assigned to your key.

Prerequisites

  • The client is installed
  • An API Key exists and its group allows the selected protocol

Setup steps

Step 1: Create an API Key

Create a key in API Keys and note its group. Protocols and available models can vary by group.

Step 2: Enter endpoint and auth

For OpenAI-compatible clients, use the Base URL, a Bearer API key, and an available model. For Anthropic-compatible clients, follow the Claude Code guide.

Generic values
Base URL: https://ai1api.com/v1
API Key: sk-your-key
Model: gpt-5.6-sol

Step 3: Send a minimal request

Start with a short text request, then enable streaming or tools after the basic connection works.

Verify the connection

Start with the smallest request, then enable streaming and tools after the connection works.

OpenAI-compatible check
curl https://ai1api.com/v1/chat/completions \
  -H "Authorization: Bearer $AI1API_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.6-sol","messages":[{"role":"user","content":"Reply with OK"}],"stream":false}'

Notes

  • Field names vary by client; follow the client UI when it asks for a provider or endpoint.
  • CC Switch users can use the Import to CCS action in the console.