Octopus is a self-hosted large language model API gateway written in Go that centralizes access to multiple AI service providers. It combines different provider channels behind a unified interface and supports conversion between OpenAI and Anthropic API formats. Users can organize available models into groups and expose them through consistent model identifiers. Automatic failover redirects requests when upstream services become unavailable. Integrated analytics track request activity, token consumption, and estimated operational costs. Its web-based management dashboard provides real-time request tracing and automatic model pricing synchronization. The application supports SQLite, MySQL, and PostgreSQL databases alongside standalone executable and Docker deployment options.

Features

  • Centralized large language model API aggregation across multiple service providers
  • Automatic protocol conversion between OpenAI Chat, OpenAI Responses, and Anthropic APIs
  • Configurable model groups with automatic model availability and pricing synchronization
  • Automatic upstream service failover with request error interception and recovery mechanisms
  • Real-time request tracing, token consumption analytics, and API expenditure monitoring
  • Web-based administration dashboard with multiple database backends and Docker deployment

Project Samples

Project Activity

See All Activity >

License

Affero GNU Public License

Follow Octopus

Octopus Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Octopus!

Additional Project Details

Operating Systems

Android, Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript API Gateways, TypeScript AI Models

Registered

1 day ago