Claude Code model router

CLASP

Run Claude Code with any LLM provider — drop-in proxy for OpenAI, Gemini, and more. Go.

Install

Install
npx clasp-ai

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/jedarden/CLASP.git

From the README

CLASP - Claude Language Agent Super Proxy

Run Claude Code against any LLM provider — OpenAI, Azure, Gemini, Ollama, vLLM, or any OpenAI-compatible endpoint. CLASP is a lightweight Go proxy that sits between Claude Code and your chosen provider, translating the Anthropic Messages API to OpenAI Chat Completions in real time.

No patches to Claude Code. No forks. Just point ANTHROPIC_BASE_URL at the proxy and go.

Features

- Bundled Claude Code: Automatically includes Claude Code as a dependency - single npx clasp-ai installs everything
- Multi-Provider Support: OpenAI, Azure OpenAI, OpenRouter (200+ models), and custom endpoints (Ollama, vLLM, LM Studio)
- Full Protocol Translation: Anthropic Messages API ↔ OpenAI Chat Completions API
- SSE Streaming: Real-time token streaming with state machine processing
- Tool Calls: Complete translation of tool_use/tool_result between formats
- Connection Pooling and Retry Policy: Shared persistent connections and bounded retries for replayable transient failures (transport details)
- Metrics Endpoint: Request statistics and performance monitoring
- API Key Authentication: Secure the proxy with optional API key validation

Installation

Via npm (recommended)

Via Go

From Source

Via Docker

Available Docker tags:
- 0.63.0 - Latest stable release (pinned to specific version)
- See GitHub Releases for all available versions

Note: The GitHub release tag (currently v0.63.0) is the canonical version reference. The package.json version (0.50.23) tracks the npm package and may differ. Container tags omit the v prefix.

Quick Start

Using with OpenAI

Using with Azure OpenAI

Using with OpenRouter

Using with Local Models (Ollama)

CI

Builds and releases run on Argo Workflows in the iad-ci cluster (GitHub Actions are disabled…
Read the full README on GitHub

Details

Repository
jedarden/CLASP
Language
Go
License
MIT
Last updated
2 November 2026
Topics
ai-agentsclaudeclaude-codegeminigollmopenaiproxy

FAQ

What is CLASP?

Run Claude Code with any LLM provider — drop-in proxy for OpenAI, Gemini, and more. Go. It is a model router for Claude Code, from jedarden/CLASP on GitHub.

How do I install CLASP?

Run npx clasp-ai, then follow the setup in the README.

Is CLASP popular?

jedarden/CLASP has 28 GitHub stars and 8 forks. It was last updated on 2 November 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.