# justlovemaki/aiclient-2-api

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/justlovemaki-aiclient-2-api).**

4,144 stars · 652 forks · JavaScript · gpl-3.0

## Links

- GitHub: https://github.com/justlovemaki/AIClient-2-API
- Homepage: https://aiproxy.justlikemaki.vip
- awesome-repositories: https://awesome-repositories.com/repository/justlovemaki-aiclient-2-api.md

## Topics

`aicoding` `free`

## Description

AIClient-2-API is an AI gateway and proxy server that translates diverse large language model interfaces into a single standardized API format. It functions as an OpenAI API compatible proxy and multi-provider orchestrator, allowing a single client to interact with multiple different model backends through a unified interface.

The project distinguishes itself by acting as a load balancer that distributes requests across multiple provider accounts using health checks and polling to bypass quota limits. It includes a TLS fingerprint emulator to simulate browser characteristics and prevent API access blocks, as well as a failover system that automatically redirects requests to secondary providers when a primary service is unhealthy.

The system covers broad capability areas including traffic management via network proxy configuration, model behavior control through system prompt overrides, and the processing of multimodal inputs such as images and documents. It also provides API traffic logging for auditing and debugging.

The server is packaged as a Docker image for containerized deployment.

## Tags

### Artificial Intelligence & ML

- [AI Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-gateways.md) — Functions as a unified gateway for managing and routing requests across multiple AI model providers.
- [LLM Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-gateways.md) — Functions as a centralized gateway that aggregates multiple LLM providers into a single standardized API.
- [OpenAI-Compatible APIs](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/model-integration-serving/model-integration-interfaces/ai-integration-apis/openai-compatible-apis.md) — Implements HTTP endpoints that provide a standardized OpenAI-compatible format for interacting with diverse machine learning models. ([source](https://cdn.jsdelivr.net/gh/justlovemaki/aiclient-2-api@main/README.md))
- [AI Provider Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-provider-integrations.md) — Connects multiple third-party model providers to a single client through a unified interface.
- [API Format Standardizers](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-api-connectors/api-format-standardizers.md) — Translates diverse language model interfaces into a single compatible format for use with existing AI tools and agents.
- [Model API Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/model-api-integrations.md) — Provides connectors that allow software to interact with various large language model services via standardized protocols. ([source](https://aiproxy.justlikemaki.vip/en/docs/development/))
- [Model Provider Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-interfaces.md) — Provides a standardized layer for normalizing responses from various artificial intelligence service providers into a single interface. ([source](https://aiproxy.justlikemaki.vip/en/docs/core-concepts/))
- [Model Fallbacks](https://awesome-repositories.com/f/artificial-intelligence-ml/model-task-retries/model-fallbacks.md) — Automatically switches to alternative AI models or providers when the primary service is unhealthy or returns an error.
- [AI Provider Managers](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-provider-managers.md) — Provides a management console for modifying provider parameters, monitoring health, and managing API credentials. ([source](https://cdn.jsdelivr.net/gh/justlovemaki/aiclient-2-api@main/README.md))
- [System Prompt Overrides](https://awesome-repositories.com/f/artificial-intelligence-ml/model-behavioral-analysis/system-prompt-overrides.md) — Implements a middleware system to intercept and override system prompts to standardize AI responses across different providers.
- [Runtime Provider Switching](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-configurations/runtime-provider-switching.md) — Enables switching the active backend AI provider at runtime via configuration without modifying the client application. ([source](https://aiproxy.justlikemaki.vip/en/docs/core-concepts/))
- [Multimodal Input Processors](https://awesome-repositories.com/f/artificial-intelligence-ml/multimodal-input-processors.md) — Processes diverse input modalities including images and documents for consumption by supported large model providers. ([source](https://cdn.jsdelivr.net/gh/justlovemaki/aiclient-2-api@main/README.md))
- [System Prompts](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-engineering/system-configuration-layers/system-prompts.md) — Injects structured system instructions into models to enforce specific behaviors and operational constraints across different providers. ([source](https://cdn.jsdelivr.net/gh/justlovemaki/aiclient-2-api@main/README.md))

### Data & Databases

- [Provider-Agnostic Request Normalization](https://awesome-repositories.com/f/data-databases/data-format-converters/trace-format-normalization/provider-agnostic-request-normalization.md) — Converts diverse request formats from different model providers into a standardized interface to ensure SDK compatibility. ([source](https://aiproxy.justlikemaki.vip/en/docs/api-usage/))

### DevOps & Infrastructure

- [Quota Routing](https://awesome-repositories.com/f/devops-infrastructure/api-service-management/api-management/api-traffic-management/quota-routing.md) — Distributes requests across multiple provider accounts using polling and health checks to bypass API quota limits.
- [AI Model Load Balancers](https://awesome-repositories.com/f/devops-infrastructure/traffic-load-balancers/ai-model-load-balancers.md) — Provides a load balancer optimized for distributing requests across multiple AI model providers using health checks and polling.
- [AI Server Containerization](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/ai-server-containerization.md) — Packages the AI proxy server and its API interfaces into a Docker container for simplified hosting. ([source](https://aiproxy.justlikemaki.vip/en/docs/installation/))
- [Containerized Deployments](https://awesome-repositories.com/f/devops-infrastructure/containerized-deployments.md) — Packages the translation layer into a Docker image to ensure consistent execution across different hosting platforms.
- [Dynamic Configuration Providers](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/management/infrastructure-configuration/dynamic-configuration-providers.md) — Allows adjusting service behavior and provider settings at runtime via configuration without requiring server restarts.

### Networking & Communication

- [Dual-Format Request Proxies](https://awesome-repositories.com/f/networking-communication/model-request-proxies/dual-format-request-proxies.md) — Acts as a proxy that accepts multiple API formats and translates them into the appropriate backend provider protocols.

### Development Tools & Productivity

- [Runtime Behavior Configuration](https://awesome-repositories.com/f/development-tools-productivity/configuration-parsers/runtime-behavior-configuration.md) — Allows tuning of proxy behavior and model interaction parameters through a central runtime configuration file. ([source](https://aiproxy.justlikemaki.vip/en/docs/advanced-config/))

### Security & Cryptography

- [TLS Fingerprint Emulators](https://awesome-repositories.com/f/security-cryptography/device-fingerprinting/fingerprint-configuration/tls-fingerprinting/tls-fingerprint-emulators.md) — Simulates browser-specific TLS handshake parameters to bypass security filters that block non-browser client requests.

### Software Engineering & Architecture

- [Request Interception Middleware](https://awesome-repositories.com/f/software-engineering-architecture/request-interception-middleware.md) — Intercepts request payloads to append or replace system instructions before forwarding them to the model provider.
