AI Task Manager

API proxy

AI Task Manager can stand in for the OpenAI and Anthropic APIs. Point any app, SDK or editor at it with a task-manager API key, and its requests run on one of your connections, including CLI-only subscriptions that have no API key of their own.

The endpoint in Settings → API

Quick example

from anthropic import Anthropic

client = Anthropic(base_url="http://localhost:3000/api/llm", api_key="tm_live_YOUR_KEY")
reply = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=512,
    messages=[{"role": "user", "content": "Write a haiku about merge conflicts."}],
)
print(reply.content[0].text)
curl http://localhost:3000/api/llm/v1/chat/completions \
  -H "Authorization: Bearer tm_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "default", "messages": [{"role": "user", "content": "Hello"}]}'

The API proxy reference has setup for more SDKs and editors.

One key per service

Create a key for each app that uses the proxy, and choose which connection answers it:

If the chosen connection is disabled, deleted or rate-limited, the request falls back to another enabled connection. The client doesn't change.

API keys, each with its own provider

Either API, any vendor

Requests are translated between the two formats when needed. A tool written for OpenAI can run on your Claude subscription, and a tool written for Anthropic can run on ChatGPT. Pass default as the model, or a model from the other vendor, to use the connection's own model.

On subscription CLIs:

Monitoring

Every request is recorded. Analytics → API Proxy shows:

API proxy analytics

Usage by model and API key

Kill switch

Disable temporarily (on the analytics tab and in Settings → API) pauses the proxy for an hour, a day or until you turn it back on. While it's paused, every authenticated request gets a 503 with Retry-After, and a timed pause ends on its own.

Check your provider's terms before sharing a personal subscription with other people or services through the proxy.