Integrations
omp (Oh My Pi)
Point omp (Oh My Pi) at Token Harbor manually — Base URL, API key, and exact steps. One key, every model, no CLI required.
omp (Oh My Pi) + Token Harbor
The open-source terminal coding agent forked from pi. Route it through Token Harbor to use every model with a single key.
Get a thk_… key from /dashboard/api-keys (a free account works), then:
omp reads ~/.omp/agent/models.yml (or models.yaml when there is no
models.yml). Add a provider under providers: — a bare variable name as
apiKey is read from your environment, so the key never lands in the file:
providers:
tokenharbor:
baseUrl: https://tokenharbor.ai/v1
api: openai-completions
apiKey: TOKENHARBOR_API_KEY
models:
- id: "deepseek-v4.1-flash:free"
name: "DeepSeek V4.1 Flash (Free)"
reasoning: true
input: [text]
contextWindow: 1048576
maxTokens: 8192
Export TOKENHARBOR_API_KEY=YOUR_thk_KEY, start omp, and choose the model with
/model.
Prefer one command? The tokenharbor CLI configures omp
automatically (and can undo it). It writes the file as JSON, which omp reads as
YAML; a models.yml you have already written in YAML is left untouched and you
get the snippet above to paste instead.