Run DeepSeek V4.1 Flash Outlaw in Aider
Run deepseek-v4.1-flash-outlaw in Aider through Wild West API: one key, a hard spend cap, and a model that answers instead of refusing.
| Model id | deepseek-v4.1-flash-outlaw |
|---|---|
| Context window | 1,048,576 tokens (1M) |
| Tool calling | Supported |
| Price per 1M tokens | $0.30 input, $0.20 on a cache hit, $1.50 output |
| Intelligence | 39 on the Artificial Analysis Intelligence Index v4.3.2, for the base model |
| Web search | Add :online to the id |
Set it up
- Set OPENAI_API_BASE to https://wildwestapi.com/v1 and OPENAI_API_KEY to your key.
- Run aider --model openai/deepseek-v4.1-flash-outlaw; the openai/ prefix is what sends it to the base URL.
- Add the metadata file below so Aider knows the real context window and price instead of warning that it does not.
# shell setx OPENAI_API_BASE https://wildwestapi.com/v1 setx OPENAI_API_KEY sk-ww-... aider --model openai/deepseek-v4.1-flash-outlaw # .aider.model.metadata.json { "openai/deepseek-v4.1-flash-outlaw": { "max_input_tokens": 1048576, "max_output_tokens": 32768, "input_cost_per_token": 3e-7, "output_cost_per_token": 0.0000015, "litellm_provider": "openai", "mode": "chat" } }
What a session costs
For a 12-turn Aider session (about 180K input tokens, half of them cache hits, 12K output), DeepSeek V4.1 Flash Outlaw comes to about $0.063 at today's prices; the cache price does most of the work, since re-read context is billed at $0.20 rather than $0.30 per million.
FAQ
Can DeepSeek V4.1 Flash Outlaw be used in Aider?
Yes. Aider does not depend on tool calling, so any chat model works; this one also brings a 1M context.
What does a session cost?
About $0.063 for a 12-turn Aider session (about 180K input tokens, half of them cache hits, 12K output), at $0.30 in, $1.50 out and $0.20 per million on cache hits. Put a spend cap on the key so a long run cannot overrun it.
Is it uncensored?
DeepSeek V4.1 Flash, uncensored: a million tokens of context, tool calling and reasoning, with no refusals. Text only: it does not take images.