Use Oh My Pi (OMP) with Toknix

Terminal coding assistant configuration for Oh My Pi using Toknix unified API keys.

Oh My Pi (OMP) is an interactive terminal agent supporting customizable model backends.

OMP Config Setup

Add Toknix to your OMP configuration directory in ~/.omp/config.yaml:

bash
providers:
  toknix:
    base_url: "https://api.toknix.in/v1"
    api_key: "tk_live_your_actual_key"
    format: "openai"

default_model: "toknix/deepseek-v4.1-flash"
fallback_model: "toknix/glm-5.3-flash"

Model Profile Configuration

Execute OMP tasks with any Toknix model:

bash
omp --model toknix/claude-opus-5-5 "Refactor database migrations to use concurrent indexes"