giip
PartnersSES Proposal

An AI router without model selection — routed to the right model for the task

gair

gair speaks the Anthropic Messages format. Point the development tool you already use at a base URL, hand it a project SK, and gair decides which model each request should go to.

What gair is

A base URL and a project SK are all you need. Everything else stays exactly as it was.

Compatible with the Anthropic Messages API

Any tool that accepts a base URL and a key can point at gair. Tools that read a model list first — Cline does this when it saves — find the list on the models path.

You do not pick the model

gair classifies the request and forwards it to the model configured for that profile. There is no model picker in your tool to think about.

Usage is recorded per project

Usage is attributed to the project the SK belongs to, and can be reviewed per project in the GIIP console.

Tools that can use gair

gair exposes an endpoint in the Anthropic Messages format. Any tool that lets you point it at a base URL and a key can be connected — below are the tools whose custom endpoint support we confirmed in their own documentation.

VerifiedVerified connections

Combinations whose connection has actually been checked in real use.

Claude CodeEnvironment variables

Anthropic’s own CLI for the terminal. Two environment variables are enough to route every request through gair.

ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN

ClineSettings screen / file

VS Code extension. It reads the gair model list path when it saves the key, so the model list fills in.

Settings — API Provider Anthropic, tick Use custom base URL, then the API key

ConnectableConnectable tools

Custom endpoint support confirmed in each tool’s own documentation — check the first call after connecting.

Roo CodeSettings screen / file

VS Code extension. Its Anthropic provider carries the same custom base URL switch as Cline.

Settings — API Provider Anthropic, tick Use custom base URL, then the API key

Kilo CodeSettings screen / file

VS Code extension and CLI. It registers a custom provider that speaks the Anthropic Messages format.

Settings — Custom provider, Provider API Anthropic Messages, then Base URL and API key

ContinueSettings screen / file

IDE extension and CLI. The provider and the address are written together on the model entry.

Configuration file — provider anthropic, apiBase and apiKey on the model entry in config.yaml

OpenCodeSettings screen / file

Terminal agent. Overriding the endpoint of the built-in Anthropic provider is all it takes.

Configuration file — providers.anthropic.settings.baseURL in opencode.jsonc

GooseEnvironment variables

CLI and desktop agent. Its built-in Anthropic provider takes the host address.

Environment variables — ANTHROPIC_HOST (defaults to https://api.anthropic.com) and ANTHROPIC_API_KEY

CrushSettings screen / file

Terminal agent. It adds a provider whose API format is the Anthropic Messages format.

Command — provider add with --type messages, --base-url and --api-key

ZedSettings screen / file

Code editor. Anthropic-compatible endpoints are registered as a provider of their own.

Configuration file — language_models.anthropic_compatible.<name>.api_url in settings.json

OpenClawSettings screen / file

Multi-provider gateway. The endpoint and the key are defined in the model provider block.

Configuration file — models.providers.<name> with baseUrl, api anthropic-messages and apiKey

VS Code Copilot BYOKSettings screen / file

Built into VS Code. A custom endpoint that speaks the Messages format is registered as a provider.

Configuration file — vendor customendpoint, apiType messages and the model url in chatLanguageModels.json

The key may be sent either way — gair accepts both Authorization: Bearer and x-api-key. Model names must be aliases gair accepts; the list is on the model list path, and tools that do not read it need the alias typed in by hand.

How JEV routing works

Each request is classified into one of three profiles, and each profile is bound to a model.

RequestJEV routingProfile modelResponse
SIMPLE

SIMPLE — simple query

Short, simple questions and requests. No code, no security judgement — greetings, translation, summarisation and brief knowledge questions land here.

CODE

CODE — code work

Writing, modifying, debugging, refactoring and designing code, plus root-cause analysis, SQL and scripts — implementation and technical judgement. Complex requests still go to CODE when code can resolve them.

DEEP

DEEP — careful judgement

Requests centred on secrets and credentials themselves — passwords, API keys, personal data — and on security review, vulnerability and threat-model judgement. DEEP is not "a hard request"; it is "a request that must not be wrong".

The verdict comes from the content of the request, not from how long the conversation has grown.

Supported model aliases

The aliases gair accepts. A tool that reads a model list finds them on the models path below.

Model list path: /api/gair/v1/models

AliasDisplay name
claude-opus-5-5Claude Opus 5.5
claude-sonnet-5-5Claude Sonnet 5.5
claude-haiku-4-5Claude Haiku 4.5
claude-opus-4-8Claude Opus 4.8
MiniMax-M3.1-FlashMiniMax M3.1 Flash
MiniMax-M3MiniMax M3

An alias is a routing name, not a guarantee about the model behind it — the model that actually answers a request is decided by gair.

Additional aliases configured for a project are added to this list.

Getting started in three steps

The whole setup is three steps.

  1. 1. Get a GIIP project and an SK

    You need a GIIP project and a Secret Key (SK) issued for that project. The GIIP operator (giip Inc.) opens projects and issues SKs — ask them for both if you do not have them yet.

  2. 2. Set the base URL and the SK in your tool

    The base URL is https://giipfaw.azurewebsites.net/api/gair — enter it exactly as it is. Everything else is the SK you were issued. Claude Code, for example, needs only two environment variables.

  3. 3. Work as usual — routing happens on its own

    From there you just work in the tool you already use. There is no model to choose and no routing to configure — gair handles it per request.

An SK is a secret. Do not write it into code, documents or chat.

Base URL: https://giipfaw.azurewebsites.net/api/gair

Connection details

Per-tool setup, the model list endpoint and a troubleshooting table live in the guide.