
Deep Cogito/Cogito v2 405B
SOTA 405B dense model trained for better outputs from shorter reasoning chains
Cogito v2 405B, currently in preview, is a frontier LLM that offers SOTA intelligence with shorter reasoning chains thanks to Iterated Distillation & Amplification (IDA), a novel research technique that distills improvements from inference-time reasoning back into the model weights.
Thanks to IDA, Cogito models arrive at strong results using fewer reasoning tokens, improving their cost and speed in real-world agents and applications.
Input
from openai import OpenAI
import os
model_url = "" # Copy in from API pane in Baseten model dashboard
client = OpenAI(
api_key=os.environ['BASETEN_API_KEY'],
base_url=model_url
)
# Chat completion
response_chat = client.chat.completions.create(
model="",
messages=[
{"role": "user", "content": "Write FizzBuzz."}
],
temperature=0.6,
max_tokens=1000,
)
print(response_chat)Output
{
"id": "143",
"choices": [
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "[Model output here]",
"role": "assistant",
"audio": null,
"function_call": null,
"tool_calls": null
}
}
],
"created": 1741224586,
"model": "",
"object": "chat.completion",
"service_tier": null,
"system_fingerprint": null,
"usage": {
"completion_tokens": 145,
"prompt_tokens": 38,
"total_tokens": 183,
"completion_tokens_details": null,
"prompt_tokens_details": null
}
}