Cohere's compact 7B parameter model optimized for RAG, tool use, and code tasks. Delivers top-tier speed and efficiency on commodity GPUs and edge devices with 128K context window.
128K tokens
1
Доступна
Самый доступный
Cohere
$0.19/1M tokens
Cohere
Сортировка по общей стоимости входных и выходных токенов за 1 млн. Выберите строку, чтобы открыть страницу провайдера.
| Провайдер | Цена за 1 млн | Лимиты | Регионы | Состояние | Задержка |
|---|---|---|---|---|---|
Вход: $0.04Выход: $0.15 | 500 RPM / 1.0M TPM | us-east-1eu-west-1global | Работает | 0ms |
Используйте эту модель через Cohere с OpenAI-совместимым SDK.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.cohere.com/v1",
apiKey: process.env.COHERE_API_KEY,
});
const response = await client.chat.completions.create({
model: "command-r7b-12-2024",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);API Cohere · OpenAI-совместимый SDK