Swe 1.6 API Pricing
As of October 10, 2026, Swe 1.6 costs $0.50 per 1M input tokens and $2.50 per 1M output tokens on Cognition, with cache reads at $0.20 per 1M tokens.
- Input
- $0.50 / 1M tokens
- Output
- $2.50 / 1M tokens
- Cache read
- $0.20 / 1M tokens
- Providers
- 1
- Added to LiteLLM
- August 21, 2026
Swe 1.6 pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| Cognition | cognition/swe-1.6 | $0.50 | $2.50 | $0.20 | – |
What Swe 1.6 costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Cognition | $2.25 |
Swe 1.6 features
- Function calling
- Prompt caching
Use Swe 1.6 with LiteLLM
Call Swe 1.6 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="cognition/swe-1.6",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: swe-1.6
litellm_params:
model: cognition/swe-1.6
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "swe-1.6",
"messages": [{"role": "user", "content": "Hello!"}]
}'Swe 1.6 FAQ
How much does Swe 1.6 cost?
Swe 1.6 costs $0.50 per 1M input tokens and $2.50 per 1M output tokens on Cognition, with cache reads at $0.20 per 1M tokens.
Which providers offer Swe 1.6?
Swe 1.6 is available from Cognition through LiteLLM, using the model name cognition/swe-1.6.
How do I call Swe 1.6 with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="cognition/swe-1.6", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Swe 1.6 support?
Swe 1.6 supports function calling and prompt caching.
When did LiteLLM add Swe 1.6?
Swe 1.6 was added to LiteLLM's model price file on August 21, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Cognition.
Provider pages: Cognition.
