CLAUDE_CLI_MODEL_ALIASES (subscription-cli/claude-cli-models.ts)

atomic-agent · src/llm/provider/subscription-cli/claude-cli-models.ts · typescript · MIT
ai, tag:knn-classified

Provides mappings of Claude CLI model aliases to IDs and default settings.

// Source: https://github.com/AtomicBot-ai/atomic-agent | License: MIT | Copyright 2026 Atomic Bot
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Models the `claude` CLI accepts for `--model`. The CLI exposes no
 * list command, so this is curated: aliases first because they keep
 * working across releases, then the pinned ids for reproducibility.
 *
 * When Anthropic ships a new model, add its id here — nothing else in
 * the provider needs to change.
 */
export const CLAUDE_CLI_MODEL_ALIASES = [
  "opus",
  "sonnet",
  "haiku",
  "fable",
] as const;

export const CLAUDE_CLI_MODEL_IDS = [
  "claude-opus-5",
  "claude-sonnet-5",
  "claude-haiku-4-5",
  "claude-fable-5",
  "claude-opus-4-8",
] as const;

export const CLAUDE_CLI_CHAT_MODELS: readonly string[] = [
  

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key