Code | Cognition · Cognition

SWE-2 Flash

Everyday engineering model inside Devin — automations, review, docs, feature work at 3x SWE-2 speed.

Key Specs

ProviderCognition
Context276B MoE · 12B active
Pricing / licensefree in Devin while beta

Quickstart

# OpenAI-compatible API (where supported)
curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"swe-2-flash","messages":[{"role":"user","content":"Summarize the spec"}]}'

Notes

  • Availability varies by provider and region; private preview APIs may change.
  • Benchmark claims from labs are directional — verify on your workloads.
  • For regulated decisions (medical/legal/financial), use this model as decision support, not autonomy.