LLM Pricing
PricingLeaderboardsToolsProvidersReleasesGuides

© 2026 LLM Pricing

About
·Contact
·Privacy
·RSS

CLI setup guides

Point command-line AI coding tools at any API in a few steps. Copy, paste, replace the placeholders with your own key and endpoint, done.

The 3 things every tool needs

API key

A secret token that proves who you are and gets billed. Keep it private, never commit it to git.

Base URL

The endpoint the tool talks to. Change it to route through a cheaper provider instead of the default.

Model name

Which model to run, exactly as your provider names it, e.g. the model id shown on its pricing page.

Match the endpoint format to the tool. Codex CLI, Aider, opencode and Qwen Code take an OpenAI-compatible endpoint directly. Claude Code uses the Anthropic format, so point ANTHROPIC_BASE_URL at an Anthropic-compatible endpoint or a converter. Gemini CLI is Google-native.

Claude CodeOfficial

Anthropic's official terminal agent.

View guide →
Codex CLIOfficial

OpenAI's official terminal agent.

View guide →
Gemini CLIOfficial

Google's official terminal agent.

View guide →
AiderOpen source

Open-source AI pair programming in your terminal.

View guide →
opencodeOpen source

Open-source terminal agent, works with any provider.

View guide →
Qwen CodeOpen source

Open-source agent tuned for Qwen, OpenAI-compatible.

View guide →

Pick a cheaper model or provider first, then plug its key and endpoint into the steps above. Compare prices