集成 · 60 秒接入 · 零加价
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.
接入
五步搞定。
- 1.Install Aider: pip install aider-chat
- 2.Export OPENAI_API_BASE=https://api.orcarouter.ai/v1
- 3.Export OPENAI_API_KEY=sk-orca-… (your OrcaRouter key)
- 4.Run `aider --model <model>` in any git repo.
- 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.
其他集成
立即把 Aider 路由过 OrcaRouter。
一分钟注册,拿一把 sk-orca-… key,粘贴到 Aider 里。token 零加价,跨所有 provider 自动 failover。
