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
Kullanılabilir
En ucuz
Cohere
$0.19/1M tokens
Cohere
Toplam maliyete göre sıralanır (1M token başına giriş + çıkış). Sağlayıcı ayrıntılarını görmek için bir satır seçin.
| Sağlayıcı | Fiyat (1M başına) | Hız sınırları | Bölgeler | Durum | Gecikme |
|---|---|---|---|---|---|
Giriş: $0.04Çıkış: $0.15 | 500 RPM / 1.0M TPM | us-east-1eu-west-1global | Sağlıklı | 0ms |
Bu modeli Cohere üzerinden OpenAI uyumlu bir SDK ile kullanın.
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);Cohere API kullanılıyor · OpenAI uyumlu SDK