2026-06-13 10:08:37 -04:00
|
|
|
import { CLAUDE_CLI_SPOOF_HEADERS } from "../shared.js";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
id: "claude",
|
|
|
|
|
alias: "cc",
|
|
|
|
|
transport: {
|
|
|
|
|
baseUrl: "https://api.anthropic.com/v1/messages",
|
|
|
|
|
format: "claude",
|
2026-06-13 11:00:57 -04:00
|
|
|
urlSuffix: "?beta=true",
|
2026-06-13 10:08:37 -04:00
|
|
|
headers: { ...CLAUDE_CLI_SPOOF_HEADERS },
|
|
|
|
|
clientId: "9d1c250a-e61b-44d9-88ed-5944d1962f5e",
|
|
|
|
|
tokenUrl: "https://api.anthropic.com/v1/oauth/token"
|
|
|
|
|
},
|
|
|
|
|
models: [
|
|
|
|
|
{ id: "claude-opus-4-8", name: "Claude Opus 4.8" },
|
|
|
|
|
{ id: "claude-opus-4-7", name: "Claude Opus 4.7" },
|
|
|
|
|
{ id: "claude-opus-4-6", name: "Claude Opus 4.6" },
|
|
|
|
|
{ id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6" },
|
|
|
|
|
{ id: "claude-opus-4-5-20251101", name: "Claude 4.5 Opus" },
|
|
|
|
|
{ id: "claude-sonnet-4-5-20250929", name: "Claude 4.5 Sonnet" },
|
|
|
|
|
{ id: "claude-haiku-4-5-20251001", name: "Claude 4.5 Haiku" }
|
|
|
|
|
]
|
|
|
|
|
};
|