| 1 | import { ModelProvider } from "../types.js"; |
| 2 | |
| 3 | export const Cohere: ModelProvider = { |
| 4 | models: [ |
| 5 | { |
| 6 | model: "command-a-03-2025", |
| 7 | displayName: "Command A 03-2025", |
| 8 | contextLength: 256000, |
| 9 | maxCompletionTokens: 8192, |
| 10 | description: |
| 11 | "Command A is Cohere’s most performant model to date, excelling at real world enterprise tasks including tool use, retrieval augmented generation (RAG), agents, and multilingual use cases.", |
| 12 | recommendedFor: ["chat"], |
| 13 | }, |
| 14 | { |
| 15 | model: "command-r7b-arabic-12-2024", |
| 16 | displayName: "Command R7B Arabic 02-2025", |
| 17 | contextLength: 128000, |
| 18 | maxCompletionTokens: 4096, |
| 19 | description: |
| 20 | "Our state-of-the-art lightweight multilingual AI model has been optimized for advanced Arabic language capabilities to support enterprises in the MENA region.", |
| 21 | recommendedFor: ["chat"], |
| 22 | }, |
| 23 | { |
| 24 | model: "command-r7b-12-2024", |
| 25 | displayName: "Command R7B 12-2024", |
| 26 | contextLength: 128000, |
| 27 | maxCompletionTokens: 4096, |
| 28 | description: |
| 29 | "The smallest model in our R series delivers top-tier speed, efficiency, and quality to build powerful AI applications on commodity GPUs and edge devices.", |
| 30 | recommendedFor: ["chat"], |
| 31 | }, |
| 32 | { |
| 33 | model: "command-r-plus-08-2024", |
| 34 | displayName: "Command R+ 08-2024", |
| 35 | contextLength: 128000, |
| 36 | maxCompletionTokens: 4096, |
| 37 | description: |
| 38 | "Command R is a scalable generative model targeting RAG and Tool Use to enable production-scale AI for enterprise.", |
| 39 | recommendedFor: ["chat"], |
| 40 | }, |
| 41 | { |
| 42 | model: "command-r-08-2024", |
| 43 | displayName: "Command R 08-2024", |
| 44 | contextLength: 128000, |
| 45 | maxCompletionTokens: 4096, |
| 46 | description: |
| 47 | "Command R+ is a state-of-the-art RAG-optimized model designed to tackle enterprise-grade workloads.", |
| 48 | recommendedFor: ["chat"], |
| 49 | }, |
| 50 | { |
| 51 | model: "command-r-plus-04-2024", |
| 52 | displayName: "Command R+ 04-2024", |
| 53 | contextLength: 128000, |
| 54 | maxCompletionTokens: 4096, |
| 55 | description: |
| 56 | "Command R is a scalable generative model targeting RAG and Tool Use to enable production-scale AI for enterprise.", |
| 57 | recommendedFor: ["chat"], |
| 58 | }, |
| 59 | { |
| 60 | model: "command-r-03-2024", |
| 61 | displayName: "Command R 03-2024", |
| 62 | contextLength: 128000, |
| 63 | maxCompletionTokens: 4096, |
| 64 | description: |
| 65 | "Command R+ is a state-of-the-art RAG-optimized model designed to tackle enterprise-grade workloads.", |
| 66 | recommendedFor: ["chat"], |
| 67 | }, |
| 68 | { |
| 69 | model: "c4ai-aya-vision-32b", |
| 70 | displayName: "C4AI Aya Vision 32B", |
| 71 | contextLength: 16000, |
| 72 | maxCompletionTokens: 4096, |
| 73 | description: |
| 74 | "Aya Vision is a state-of-the-art multimodal and massively multilingual large language model excelling at critical benchmarks for language, text, and image capabilities.", |
| 75 | recommendedFor: ["chat"], |
| 76 | }, |
| 77 | { |
| 78 | model: "c4ai-aya-vision-8b", |
| 79 | displayName: "C4AI Aya Vision 8B", |
| 80 | contextLength: 16000, |
| 81 | maxCompletionTokens: 4096, |
| 82 | description: |
| 83 | "Aya Vision is a state-of-the-art multimodal and massively multilingual large language model excelling at critical benchmarks for language, text, and image capabilities.", |
| 84 | recommendedFor: ["chat"], |
| 85 | }, |
| 86 | { |
| 87 | model: "c4ai-aya-expanse-32b", |
| 88 | displayName: "C4AI Aya Expanse 32B", |
| 89 | contextLength: 128000, |
| 90 | maxCompletionTokens: 4096, |
| 91 | description: |
| 92 | "Aya Expanse is a massively multilingual large language model excelling in enterprise-scale tasks.", |
| 93 | recommendedFor: ["chat"], |
| 94 | }, |
| 95 | { |
| 96 | model: "c4ai-aya-expanse-8b", |
| 97 | displayName: "C4AI Aya Expanse 8B", |
| 98 | contextLength: 8000, |
| 99 | maxCompletionTokens: 4096, |
| 100 | description: |
| 101 | "Aya Expanse is a massively multilingual large language model excelling in enterprise-scale tasks.", |
| 102 | recommendedFor: ["chat"], |
| 103 | }, |
| 104 | { |
| 105 | model: "embed-v4.0", |
| 106 | displayName: "Embed v4.0", |
| 107 | description: |
| 108 | "A model that allows for text and images to be classified or turned into embeddings.", |
| 109 | recommendedFor: ["embed"], |
| 110 | contextLength: 128000, |
| 111 | }, |
| 112 | { |
| 113 | model: "embed-english-v3.0", |
| 114 | displayName: "Embed English v3.0", |
| 115 | description: |
| 116 | "A model that allows for text to be classified or turned into embeddings. English only.", |
| 117 | recommendedFor: ["embed"], |
| 118 | contextLength: 512, |
| 119 | }, |
| 120 | { |
| 121 | model: "embed-english-light-v3.0", |
| 122 | displayName: "Embed English Light v3.0", |
| 123 | description: |
| 124 | "A smaller, faster version of embed-english-v3.0. Almost as capable, but a lot faster. English only.", |
| 125 | recommendedFor: ["embed"], |
| 126 | contextLength: 512, |
| 127 | }, |
| 128 | { |
| 129 | model: "embed-multilingual-v3.0", |
| 130 | displayName: "Embed Multilingual v3.0", |
| 131 | description: |
| 132 | "Provides multilingual classification and embedding support.", |
| 133 | recommendedFor: ["embed"], |
| 134 | contextLength: 512, |
| 135 | }, |
| 136 | { |
| 137 | model: "embed-multilingual-light-v3.0", |
| 138 | displayName: "Embed Multilingual Light v3.0", |
| 139 | description: |
| 140 | "A smaller, faster version of embed-multilingual-v3.0. Almost as capable, but a lot faster.", |
| 141 | recommendedFor: ["embed"], |
| 142 | contextLength: 512, |
| 143 | }, |
| 144 | { |
| 145 | model: "rerank-v3.5", |
| 146 | displayName: "Rerank v3.5", |
| 147 | description: |
| 148 | "A model for documents and semi-structured data (JSON). State-of-the-art performance in English and non-English languages.", |
| 149 | recommendedFor: ["rerank"], |
| 150 | contextLength: 4096, |
| 151 | }, |
| 152 | { |
| 153 | model: "rerank-english-v3.0", |
| 154 | displayName: "Rerank English v3.0", |
| 155 | description: |
| 156 | "A model that allows for re-ranking English Language documents and semi-structured data (JSON).", |
| 157 | recommendedFor: ["rerank"], |
| 158 | contextLength: 4096, |
| 159 | }, |
| 160 | { |
| 161 | model: "rerank-multilingual-v3.0", |
| 162 | displayName: "Rerank Multilingual v3.0", |
| 163 | description: |
| 164 | "A model for documents and semi-structure data (JSON) that are not in English.", |
| 165 | recommendedFor: ["rerank"], |
| 166 | contextLength: 4096, |
| 167 | }, |
| 168 | ], |
| 169 | id: "cohere", |
| 170 | displayName: "Cohere", |
| 171 | }; |