Cogito v2.1 671B API

deepcogito/cogito-v2.1-671b
Cogito v2.1 671B on AIMLAPI.
Context
128K tokens
Input
$1.625 / 1M
Output
$1.625 / 1M

How to use Cogito v2.1 671B API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to deepcogito/cogito-v2.1-671b.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "deepcogito/cogito-v2.1-671b",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "deepcogito/cogito-v2.1-671b",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepcogito/cogito-v2.1-671b","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Cogito v2.1 671B API Pricing

TypePrice
Input
$1.625 / 1M
Output
$1.625 / 1M

Cogito v2.1 671B Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
AIME 2025
89.47%
Competition mathematics (AIME), 2025SourceSeptember 21, 2026
GPQA Diamond
77.72%
Google-proof graduate science questions (hardest subset)SourceSeptember 21, 2026
MMLU-Pro
84.69%
Multi-discipline knowledge + reasoning (harder MMLU)SourceSeptember 21, 2026
SWE-bench Verified
42.00%
Resolving verified real GitHub issuesSourceSeptember 21, 2026

Cogito v2.1 671B vs other models

ModelInputOutputContextBest for
$1.625 / 1M
$1.625 / 1M
128K tokens
Reasoning + agents
$6.5 / 1M tokens
$39 / 1M tokens
1M tokens
Reasoning + agents
$2.6 / 1M tokens
$13 / 1M tokens
1M tokens
Balanced coding + agents
$3.9 / 1M tokens
$19.5 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$0.65 / 1M tokens
$3.9 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

Cogito v2.1 671B has a 128,000 tokens context window.

Cogito v2.1 671B takes image, text as input and returns text.

Use deepcogito/cogito-v2.1-671b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

Cogito v2.1 671B is priced at input $1.625 / 1M, output $1.625 / 1M.

Yes, Cogito v2.1 671B can stream responses as they are generated.

Yes, Cogito v2.1 671B accepts image input alongside text.

It supports reasoning, tool calls, structured outputs, web search, and vision, making it suited for text and image-based chat tasks that need function calling or search.

Yes, it supports function calling, parallel tool calls, and structured outputs.

Start building with Cogito v2.1 671B

Get API Key
1000+ models, one API.