Skip to contentOceanToken

Use DeepSeek V4.1 Flash in goose

goose runs DeepSeek V4.1 Flash on OceanToken with three settings: a base URL, your key and the model id. Tested on November 16, 2026 with goose CLI 1.54.0.

Get API Key Full goose guide

Up to 45% off

$0.21 / $0.84 $0.30 / $1.20 per 1M input / output tokens

Cached input: $0.006

DeepSeek V4.1 Flash

Settings

SettingValue
ProviderOceanToken (custom provider file)
Provider filehttps://docs.oceantoken.ai/goose/oceantoken.json
OCEANTOKEN_API_KEYyour OceanToken API key
Modeldeepseek/deepseek-v4.1-flash

From the command line

goose
mkdir -p ~/.config/goose/custom_providers
curl -fsSL -o ~/.config/goose/custom_providers/oceantoken.json https://docs.oceantoken.ai/goose/oceantoken.json
export OCEANTOKEN_API_KEY=sk-...
goose session --provider oceantoken --model deepseek/deepseek-v4.1-flash

What it costs

An agent resends a long prompt on every turn, so the cached input price matters as much as the input price. DeepSeek V4.1 Flash caches the repeated part of the prompt on its own: from the second turn of a task it is billed at the cached input price.

About these prices

Frequently asked questions

Does DeepSeek V4.1 Flash work with goose’s tools?

Yes. It was tested on November 16, 2026 with goose CLI 1.54.0: writing and running a small program with its file and shell tools.

How much does DeepSeek V4.1 Flash cost in goose?

Every request goose makes is billed at the model’s price: $0.21 / $0.84 per 1M input / output tokens. The repeated part of a long prompt is billed at $0.006 per 1M cached input tokens. Each request’s charge is in the console under Logs.

Where do I put my OceanToken key?

Create a key in the OceanToken console and give it a credit limit: an agent sends many requests, and the limit caps what this key can spend. Keep it in an environment variable, never in a file in your repository.

Get API Key DeepSeek V4.1 Flash

Other models tested with goose

DeepSeek V4 Pro · Kimi K3 · MiniMax M3

DeepSeek V4.1 Flash in other tools

Cline · Zoo Code · Kilo Code

Keep exploring

DeepSeek V4.1 Flash vs Gemini 3.5 Flash · DeepSeek V4.1 Flash vs Qwen3.8 Flash · DeepSeek V4.1 Flash vs MiniMax M3 · DeepSeek V4.1 Flash vs Claude Opus 5.5