llmreference
OpenRouter

Using Command on OpenRouter

Implementation guide · Command · Cohere

Serverless

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call cohere/command-a — see the documentation for request format.
  3. 3
    You'll be billed $2.50/1M input, $10.00/1M output tokens. See full pricing.

Code Examples

See OpenRouter documentation for integration details.

About OpenRouter

OpenRouter provides a unified interface for Large Language Models with better pricing, improved uptime, and no subscription requirements. Route across providers for cost optimization and reliability.

OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$2.50
Output tokens$10.00

Capabilities

Structured Outputs

About Command

Command R is a 35-billion parameter enterprise-grade LLM developed by CohereForAI, emphasizing scalability and performance. It features retrieval-augmented generation, optimized for long-context tasks up to 128k tokens, and robust multilingual capabilities across ten major languages. Additionally, it can interface with external tools and APIs. Command R excels in retrieving information from documents and enterprise data, providing well-cited responses to mitigate hallucinations. These capabilities are further amplified in its larger variant, Command R+, with 104 billion parameters. While highly capable, it requires human oversight to address domain-specific performance limitations and ethical concerns, including potential biases.

Model Specs

Released2023-11-14
Parameters52B*
Context4K
ArchitectureDecoder Only
Knowledge cutoff2023-02

Provider

OpenRouter
OpenRouter

OpenRouter, Inc.

New York, NY, USA