Codebuff logo

Codebuff with EU data residency.

Configure EUrouter as the API endpoint in Codebuff and your CLI coding sessions route through European infrastructure.

GDPR compliant
CLI coding agent
EU infrastructure
Visit Codebuff

What is Codebuff?

Codebuff is a CLI-based coding agent that improves with use. It learns from your coding patterns and project structure to provide increasingly relevant assistance. Give it a task in your terminal and it reads your codebase, plans an approach, writes code, and iterates. With 725 million tokens processed on OpenRouter, it has a growing user base of developers who prefer terminal-native AI tooling.

Codebuff supports custom OpenAI-compatible endpoints, which means pointing it at EUrouter is a configuration change. Set the base URL and API key in your Codebuff config or environment variables, and all LLM requests go through EU servers. Your code context and prompts stay in Europe.

Quick to integrate

A few lines of code is all it takes. Swap your base URL and you are routed through EUrouter.

1# Add to your shell profile (.bashrc, .zshrc) 2export OPENAI_API_KEY="eur-..." 3export OPENAI_BASE_URL="https://api.eurouter.ai/v1" 4 5# Then use Codebuff as normal 6codebuff

Get started in minutes

Follow these steps to connect your application to EUrouter.

1

Get your EUrouter API key

Sign up and create an API key from your dashboard.

Sign up for free
2

Install Codebuff

Install Codebuff following the official installation instructions.

1npm install -g codebuff
3

Set your API endpoint

Configure EUrouter as the API endpoint by setting environment variables or editing the Codebuff config file.

1export OPENAI_API_KEY="eur-..." 2export OPENAI_BASE_URL="https://api.eurouter.ai/v1"
4

Start coding

Run codebuff in your project directory. All LLM requests now route through EU infrastructure.

Why use Codebuff with EUrouter

Terminal-native AI in Europe

Codebuff operates directly in your terminal, reading your codebase and running commands. That means your source code, directory structure, and terminal output are sent as context. With EUrouter, all of that stays within EU jurisdiction.

  • Code context, file reads, and terminal output route through EU servers
  • No US data processing for any Codebuff interaction
  • GDPR-compliant development workflow for terminal-native developers
  • Works with all Codebuff features: code generation, refactoring, and debugging

Self-improving with any model

Codebuff learns from your patterns over time. Through EUrouter, you can pair this self-improving behavior with any supported model. Use GPT-4o for complex tasks, switch to a faster model for quick edits, all through one API key.

  • Access all EUrouter models through a single API key and config
  • Switch models per session without reconfiguring anything else
  • Codebuff's learning works regardless of which model you choose
  • One bill for all model usage across every coding session

Predictable costs with spend limits

CLI agents can run through tokens quickly during intensive sessions. EUrouter lets you set per-key spending limits and gives you a dashboard showing exactly what each session costs. No surprises at the end of the month.

  • Set monthly spend caps per API key to control costs
  • Usage dashboard shows token consumption by model and session
  • Issue separate keys per developer or project for cost attribution
  • Full audit trail for every request Codebuff makes

Integrate AI without GDPR risk.

You need AI that won’t create compliance headaches. Your data stays in the EU, GDPR is enforced by default, and every request is routed for the best balance of cost, latency, and uptime, reducing risk while improving performance.

Get Your API Key
GDPR by default
EU data residency
Smart routing
Claim €15 free credits·300 left
Sign up free →