A PHP Error was encountered

Severity: Warning

Message: Undefined array key "proxy_api_key"

Filename: controllers/Welcome.php

Line Number: 18

Backtrace:

File: /var/www/html/airouter/application/controllers/Welcome.php
Line: 18
Function: _error_handler

File: /var/www/html/airouter/application/controllers/Welcome.php
Line: 8
Function: api_test

File: /var/www/html/airouter/index.php
Line: 314
Function: require_once

task4you AI Router - Available Models
Universal API Gateway for LLM Clients
🤖 Available Models
📡 API Endpoints
POST http://airouter.task4you.cz/api/v1/anthropic/messages
Native Anthropic API format (for Claude Code, MCP clients, Cursor)
POST http://airouter.task4you.cz/api/v1/openai/chat/completions
OpenAI-Compatible API format (for LibreChat, Continue.dev, Open WebUI)
🔑 Authentication
All requests require Bearer token authentication.
Add your API key to the Authorization header:
Authorization: Bearer YOUR_API_KEY
âš¡ Quick Start Examples
Anthropic API (cURL)
curl -X POST http://airouter.task4you.cz/api/v1/anthropic/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "glm-4-5",
    "max_tokens": 1024,
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'
OpenAI API (cURL)
curl -X POST http://airouter.task4you.cz/api/v1/openai/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-3-5-sonnet-20241022",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'
Claude Code Configuration
# ~/.claude/config.json
{
  "api_url": "http://airouter.task4you.cz/api/v1/anthropic",
  "api_key": "YOUR_API_KEY"
}
LibreChat Configuration
# librechat.yaml
endpoints:
  custom:
    - name: "task4you AI Router"
      baseURL: "http://airouter.task4you.cz/api/v1/openai"
      apiKey: "YOUR_API_KEY"
      models:
        default: ["claude-3-5-sonnet-20241022"]
Continue.dev Configuration
// config.json
{
  "models": [
    {
      "title": "Claude via task4you",
      "provider": "anthropic",
      "model": "glm-4-5",
      "apiBase": "http://airouter.task4you.cz/api/v1/anthropic",
      "apiKey": "YOUR_API_KEY"
    }
  ]
}
📚 Documentation
Base URL: http://airouter.task4you.cz/
API Version: 1.0.0
Supported Formats: Anthropic Native API, OpenAI-Compatible API
Developed by
Denis Palkin
© 2026 task4you. All rights reserved.