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

cohere/command-a

256,000 context · $2.50/M input tokens · $10.00/M output tokens

Command A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multilingual, and coding use cases. Compared to other leading proprietary...

Cennik

Płać za użycie

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

Wejście$2.50 / M Tokens
Wyjście$10.00 / 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-a",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

Wprowadzenie do modelu

Cohere command-a

cohere command-a


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 256000 context window for long document handling
  • Competitive pricing at $2.7/$11.0 per million tokens

Key Features

  • Context Window: 256000 tokens
  • Max Output: 8192 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

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

Pricing

Token TypeCost per Million Tokens
Input$2.7
Output$11.0

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-a


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-a",
    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-a",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: cohere/command-a
  • Provider: Cohere

Info

Dostawcacohere
Typllm

Obsługiwane funkcje

Wejście
Tekst
Wyjście
Tekst
Kontekst256,000
Maks. wyjście8,192
Vision-
Function Calling-

Przewodnik dostępu do API

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

Command A API

cohere/command-a

Command A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multilingual, and coding use cases. Compared to other leading proprietary...

Wejście

$2.5 /M

Wyjście

$10 /M

Kontekst

256K

Maks. wyjście

8K

Wypróbuj Command A w WaveSpeedAI

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

Najczęstsze pytania o Command A

Ile kosztuje API Command A?+

Cennik na WaveSpeedAI: $2.50 za milion tokenów wejściowych i $10.00 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 A?+

Command A obsługuje do 256K tokenów kontekstu i do 8K tokenów wyjściowych na zapytanie.

Czy Command A jest kompatybilny z OpenAI?+

Tak. WaveSpeedAI udostępnia Command A 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 A?+

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 A.

Powiązane API LLM