PRODUCT CAPABILITIES

Lightweight without giving up compatibility or observability.

ghc-api focuses on the real protocol gaps between code agents and the GitHub Copilot API while keeping transformations, streaming events, and usage inspectable.

01
JUST ENOUGH COMPATIBILITY

One lightweight endpoint for different clients.

Transparency does not mean doing nothing. ghc-api translates where required, avoids unnecessary rewrites when pass-through works, and retains evidence for diagnosis.

AVAILABLE/v1/chat/completions

OpenAI Chat Completions

A familiar entry point for OpenAI-compatible SDKs, Chatbox clients, and automation.

AVAILABLE/v1/messages

Anthropic Messages

Familiar message and streaming semantics for Claude Code and Anthropic SDKs.

AVAILABLE/v1/responses

OpenAI Responses

A compatible endpoint for Codex and clients built around the Responses API.

BUILDINGmessages → responses

Cross-protocol compatibility

Adapt to Responses-only model backends with better tools, thinking, and context continuity.

02
DEBUG WITHOUT GUESSING

A proxy proves its transparency when something breaks.

Move from aggregate numbers into complete requests. Locate whether a problem comes from client formatting, compatibility translation, upstream behavior, or streaming.

01

Request overview

Time, model, endpoint, client IP, status, duration, and transfer size.

02

Payload comparison

Understand the original request and what was actually forwarded upstream.

03

Headers and response

Inspect request headers, response bodies, errors, and translated terminal state.

04

Raw SSE stream

Retain upstream event order to diagnose interrupted streams and tool calls.

05

Search and portability

Full-text request search plus JSON Lines export and import.

06

Historical statistics

Daily files, lightweight indexes, distributions, and exact request drill-down.

!

Debug data can be highly sensitive. Headers and bodies may contain tokens, source code, and conversation content. Keep the dashboard local or protect all administration pages with a reverse proxy.

03
USAGE THAT ADDS UP

Turn token usage into actionable data.

Normalize usage from different protocols and understand it by model, endpoint, user, and machine.

Token usageLast 7 days
InputInput tokensOutputOutput tokensCache creationCache writeCache readCache hit
BY MODELBY ENDPOINTBY USERBY MACHINE
04
AGENT WORKSPACE

A useful local workspace beyond the proxy.

Interact with models and code agents in the browser, manage sessions, tools, and configuration without deploying another administration stack.

CHAT

Web Chat UI

Choose a model, stream conversations in the browser, and use Raw Mode to inspect responses.

ACP

Code Agent Web UI

Control Claude Code, Codex, and Copilot CLI through the Agent Client Protocol.

SESSION

Session management

Create, resume, terminate, and browse sessions with work directories and message history.

TOOLS

Agent tool management

Detect and help install the supporting Claude, Codex, and Copilot CLI tools.

CONFIG

Config comparison

View hashes and differences with timestamped backups before overwriting.

SYNC

Optional OneDrive sync

Sync sessions, token usage, and configuration across devices. Access starts disabled.

FREE PROXY SOFTWARE

The tool is free. Upstream models are not included.

ghc-api is free and open source under the MIT License. It does not host, resell, or grant LLM access. Bring your own GitHub account with eligible GitHub Copilot access.

View source ↗