Seedance 2.0 | Special Offer ✦ 10% OFF NOW | Ends May 13 (UTC+0)
C
cohere/command-r7b-12-2024

cohere/command-r7b-12-2024

128,000 context · $0.04/M input tokens · $0.15/M output tokens

Command R7B (12-2024) is a small, fast update of the Command R+ model, delivered in December 2024. It excels at RAG, tool use, agents, and similar tasks requiring complex reasoning...

Cennik

Płać za użycie

Bez kosztów początkowych, płacisz tylko za to, czego używasz

Wejście$0.04 / M Tokens
Wyjście$0.15 / M Tokens

Użycie API

Użyj poniższych przykładów kodu, aby zintegrować się z naszym API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="cohere/command-r7b-12-2024",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Wprowadzenie do modelu

Cohere command-r7b-12-2024

cohere command-r7b-12-2024


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 128000 context window for long document handling
  • Competitive pricing at $0.0/$0.2 per million tokens

Key Features

  • Context Window: 128000 tokens
  • Max Output: 4000 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderCohere
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window128000 tokens
Max Output4000 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.0
Output$0.2

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: cohere/command-r7b-12-2024


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="cohere/command-r7b-12-2024",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "cohere/command-r7b-12-2024",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: cohere/command-r7b-12-2024
  • Provider: Cohere

Info

Dostawcacohere
Typllm

Obsługiwane funkcje

Wejście
Tekst
Wyjście
Tekst
Kontekst128,000
Maks. wyjście4,000
Vision-
Function Calling-

Przewodnik dostępu do API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID modelucohere/command-r7b-12-2024

Command R7b 12 2024 API

cohere/command-r7b-12-2024

Command R7B (12-2024) is a small, fast update of the Command R+ model, delivered in December 2024. It excels at RAG, tool use, agents, and similar tasks requiring complex reasoning...

Wejście

$0.0375 /M

Wyjście

$0.15 /M

Kontekst

128K

Maks. wyjście

4K

Wypróbuj Command R7b 12 2024 w WaveSpeedAI

Uzyskaj dostęp do Command R7b 12 2024 przez nasze ujednolicone API — kompatybilne z OpenAI, bez zimnych startów, przejrzyste ceny.

Najczęstsze pytania o Command R7b 12 2024

Ile kosztuje API Command R7b 12 2024?+

Cennik na WaveSpeedAI: $0.04 za milion tokenów wejściowych i $0.15 za milion tokenów wyjściowych. Prompt caching i przetwarzanie wsadowe są rozliczane oddzielnie i obniżają efektywny koszt długich, powtarzalnych obciążeń.

Jakie jest okno kontekstu Command R7b 12 2024?+

Command R7b 12 2024 obsługuje do 128K tokenów kontekstu i do 4K tokenów wyjściowych na zapytanie.

Czy Command R7b 12 2024 jest kompatybilny z OpenAI?+

Tak. WaveSpeedAI udostępnia Command R7b 12 2024 przez endpoint kompatybilny z OpenAI pod https://llm.wavespeed.ai/v1. Skieruj oficjalny OpenAI SDK na ten base URL ze swoim kluczem API WaveSpeedAI — bez innych zmian w kodzie.

Jak zacząć z Command R7b 12 2024?+

Zaloguj się do WaveSpeedAI, utwórz klucz API w Access Keys, a następnie wyślij żądanie na https://llm.wavespeed.ai/v1/chat/completions z id modelu pokazanym powyżej. Nowe konta otrzymują darmowe kredyty na ocenę Command R7b 12 2024.

Powiązane API LLM