LLM ReferenceLLM Reference
DeepInfra

Command R+ on DeepInfra

Command R · Cohere

Serverless

Last refreshed 2026-04-24. Next refresh: weekly.

Why use Command R+ on DeepInfra?

DeepInfra offers Command R+ with competitive pricing. DeepInfra is a cloud inference platform offering cost-effective access to open-source AI models.

Compare Command R+ across 6 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export DEEPINFRA_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
Model ID
command-r-plus

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
    base_url="https://api.deepinfra.com/v1/openai"
)
response = client.chat.completions.create(
    model="command-r-plus",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • DeepInfra uses "organization/model-name" format, e.g. "meta-llama/Meta-Llama-3-8B-Instruct" or "mistralai/Mistral-7B-Instruct-v0.3". See the DeepInfra model catalog for exact IDs.
  • The examples expect DEEPINFRA_API_KEY; rename it only if your application config maps the new variable.

Compare Command R+ Across Providers

ProviderInput (per 1M)Output (per 1M)
Cohere API$2.50$10.00
AWS Bedrock$3.00$15.00
Microsoft Foundry$3.00$15.00
OCI Generative AI
OpenRouter$2.50$10.00
View all 6 providers →

Capabilities

Structured Outputs

About Command R+

Command R+ is a powerful large language model from Cohere, tailored for robust enterprise applications. It features an architecturally impressive 104 billion parameters and a 128k-token context window, allowing it to adeptly manage complex tasks and long dialogue sessions. Its cutting-edge capabilities include retrieval-augmented generation (RAG) with inline citations, multilingual functionality supporting ten major languages, and multi-step tool usage to automate complex workflows. The model is suited for diverse business operations such as financial analysis, customer support, and content creation, and can be accessed via Cohere's API or through platforms like Microsoft Azure and Oracle Cloud Infrastructure. Its deployment is subject to a non-commercial license, though exceptions can be considered.

FAQ

What is the context window for Command R+ on DeepInfra?

Command R+ supports a 128,000 token context window on DeepInfra.

How does DeepInfra compare to other Command R+ providers?

Command R+ is available from 6 providers. The cheapest input pricing is $2.5/1M tokens from Cohere API.

Who created Command R+?

Command R+ was created by Cohere as part of the Command R model family.

Is Command R+ open source?

Command R+'s open source status is unknown in the seed data.

Get Started

Model Specs

Released2024-04-04
Parameters104B*
Context128K
ArchitectureDecoder Only

Related Models on DeepInfra