[UNTESTED] [shipengqi/sap-ai-core-proxy] 3 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,183 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:3001/openai/v1/chat/completions
http://localhost:3001/openai/v1/models`
Source: https://github.com/shipengqi/sap-ai-core-proxy
# sap-ai-core-proxy
A Go reverse proxy that exposes SAP AI Core LLM deployments through standard API surfaces:
**OpenAI**, **Anthropic**, **Gemini**, and **LiteLLM/Orchestration**.
## Features
- **4 API surfaces** — OpenAI-compatible, Anthropic-native, Gemini-native, SAP Orchestration (LiteLLM)
- **Streaming support** — SSE for OpenAI & Anthropic, raw chunked JSON for Gemini
- **Automatic auth** — OAuth 2.0 client-credentials token exchange with in-memory caching
- **Deployment discovery** — queries SAP AI Core for RUNNING deployments; 12-hour cache; exact model names, explicit aliases and vendor-prefix normalization; same-model failover on deployment retirement
- **Model aliases** — translates standard model names (e.g. `claude-3-5-sonnet-latest`) to SAP AI Core deployment names automatically
- **Tool calling** — OpenAI `tools` / `tool_calls` / `role: "tool"` and Anthropic `tool_use` / `tool_result` blocks are translated into each other, so a tool-calling loop works across either surface regardless of which model family backs it
- **Claude Code / VSCode / IDE compatible** — works with any client that speaks OpenAI or Anthropic APIs
- **One-command agent setup** — `./aicoreproxy configure` interactively writes proxy settings for Claude Code, Codex and OpenCode, merging into existing files with backups
## Quick Start
### 1. Build
```bash
git clone https://github.com/shipengqi/sap-ai-core-proxy
cd sap-ai-core-proxy
make build
```
Confirm what you built. The version is stamped from `VERSION`, the git commit, and the build timestamp, and it does not require a config file:
```bash
./aicoreproxy -version
# sap-ai-core-proxy 1.2.0 (commit 445d1d2, built 2026-10-22T03:10:12Z, go1.26.0 darwin/arm64)
```
### 2. Configure
Copy the example config and fill in your credentials:
```bash
mkdir -p ~/.aicoreproxy
cp config.json.example ~/.aicoreproxy/config.json
```
Edit `~/.aicoreproxy/config.json`:
```json
{
"sap_ai_core": {
"base_url": "https://y