Skip to content
FluxCDNFluxCDN
esc

Cohere: Command R7B (12-2024)

Command R7B (12-2024) is a small, fast update of the Command R+ model, delivered in December 2024.

Input
13,664 Toman/M tokens
Output
54,656 Toman/M tokens
Context
128K
Max output
4K
Published
Dec 14, 2024
Maker
Cohere

Free plan prices, in Toman at today's rate. Plans and prices

Price by plan

Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.

PlanInputOutput
Free13,66454,656
Pro13,10452,416
Max12,54450,176

Capabilities

  • Text
  • Tools
  • JSON

What it takes and gives

Accepts
  • Text
Creates
  • Text

Call it

Pass cohere/command-r7b-12-2024 as the model name, or let router/auto choose for you.

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://ai.fluxcdn.cloud/api/v1",
    api_key=os.environ["FLUXCDN_API_KEY"],
)

resp = client.chat.completions.create(
    model="router/auto",
    messages=[{"role": "user", "content": "Hello"}],
)

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