集成指南

Aider + OrcaRouter

Aider is a terminal-based AI pair programmer that edits your codebase via git commits. It speaks the OpenAI API natively — export two environment variables and every Aider session routes through OrcaRouter.

配置步骤

5 分钟接入 OrcaRouter

  1. 1.Install Aider: pip install aider-chat
  2. 2.Export OPENAI_API_BASE=https://api.orcarouter.ai/v1
  3. 3.Export OPENAI_API_KEY=sk-orca-… (your OrcaRouter key)
  4. 4.Run `aider --model <model>` in any git repo.
  5. 5.Aider will commit changes attributed to the model you chose.
示例配置
export OPENAI_API_BASE="https://api.orcarouter.ai/v1"
export OPENAI_API_KEY="sk-orca-..."

# Then run Aider with any model OrcaRouter supports:
aider --model gpt-4o
aider --model claude-sonnet-4
aider --model deepseek-coder-v2
为什么把 Aider 路由过 OrcaRouter?

Aider's long-running edit loops benefit enormously from OrcaRouter's automatic failover — a mid-session provider outage no longer nukes an hour of context. And because you're paying zero markup, you can run Aider with the best model without worrying about a router's margin inflating your bill.

其他集成

准备好通过 OrcaRouter 路由 Aider 了吗?

获取一份 API 密钥,即可让 Aider 经过 OrcaRouter 路由到 200+ 模型 — 零加价。

获取 API 密钥