swe-2-medium

On this page
  1. Standard price history

Cognition model swe-2-medium. Prices are in US dollars per million tokens. Current price, since 2026-09-12: input $0.75, output $3.75, cached input $0.075, cache write $0.00. Cognition has no official pricing page that model-prices checks. Price a request with this model.

Standard price history#

FromInputCached inputCache writeOutputLonger promptsDated bySource
2026-09-12, first record$0.75$0.075$0.00$3.75first observedlink

A blank cache price is charged at the input price. Longer prompts list the prices for requests whose whole prompt exceeds the size given.

import model_prices

model_prices.rates("swe-2-medium", provider="cognition")