mirror of
https://github.com/cline/cline.git
synced 2025-06-03 03:59:07 +00:00
Use OpenRouter's self-moderated claude models
This commit is contained in:
parent
b2ced9b484
commit
e00b63ef03
@ -89,27 +89,27 @@ export const bedrockModels = {
|
|||||||
// OpenRouter
|
// OpenRouter
|
||||||
// https://openrouter.ai/models?order=newest&supported_parameters=tools
|
// https://openrouter.ai/models?order=newest&supported_parameters=tools
|
||||||
export type OpenRouterModelId = keyof typeof openRouterModels
|
export type OpenRouterModelId = keyof typeof openRouterModels
|
||||||
export const openRouterDefaultModelId: OpenRouterModelId = "anthropic/claude-3.5-sonnet"
|
export const openRouterDefaultModelId: OpenRouterModelId = "anthropic/claude-3.5-sonnet:beta"
|
||||||
export const openRouterModels = {
|
export const openRouterModels = {
|
||||||
"anthropic/claude-3.5-sonnet": {
|
"anthropic/claude-3.5-sonnet:beta": {
|
||||||
maxTokens: 8192,
|
maxTokens: 8192,
|
||||||
supportsImages: true,
|
supportsImages: true,
|
||||||
inputPrice: 3.0,
|
inputPrice: 3.0,
|
||||||
outputPrice: 15.0,
|
outputPrice: 15.0,
|
||||||
},
|
},
|
||||||
"anthropic/claude-3-opus": {
|
"anthropic/claude-3-opus:beta": {
|
||||||
maxTokens: 4096,
|
maxTokens: 4096,
|
||||||
supportsImages: true,
|
supportsImages: true,
|
||||||
inputPrice: 15,
|
inputPrice: 15,
|
||||||
outputPrice: 75,
|
outputPrice: 75,
|
||||||
},
|
},
|
||||||
"anthropic/claude-3-sonnet": {
|
"anthropic/claude-3-sonnet:beta": {
|
||||||
maxTokens: 4096,
|
maxTokens: 4096,
|
||||||
supportsImages: true,
|
supportsImages: true,
|
||||||
inputPrice: 3,
|
inputPrice: 3,
|
||||||
outputPrice: 15,
|
outputPrice: 15,
|
||||||
},
|
},
|
||||||
"anthropic/claude-3-haiku": {
|
"anthropic/claude-3-haiku:beta": {
|
||||||
maxTokens: 4096,
|
maxTokens: 4096,
|
||||||
supportsImages: true,
|
supportsImages: true,
|
||||||
inputPrice: 0.25,
|
inputPrice: 0.25,
|
||||||
|
Loading…
Reference in New Issue
Block a user