← Setup guides

Use Kimi K3.1 Pro and GLM-5.3 in oh-my-pi

Point oh-my-pi at ParamHub with the setup below. You pay per token from prepaid credits; there is no subscription.

What you need

  • oh-my-pi installed:curl -fsSL https://omp.sh/install | sh
  • A ParamHub API key with credits on the account.Create a key →

Set it up

Create ~/.omp/agent/models.yml with the provider below, put your key in PARAMHUB_API_KEY, then start omp with the model you want.

providers:
  paramhub:
    baseUrl: https://api.paramhub.com/v1
    api: openai-completions
    apiKey: PARAMHUB_API_KEY
    models:
      - id: kimi-k3.1-pro
      - id: GLM-5.3
      - id: GLM-5.2

Check that it works

  1. 1Run omp models paramhub. It should list the three models.
  2. 2Run a one-off task: omp -p --yolo --model paramhub/kimi-k3.1-pro "say hello".
  3. 3Send any prompt. The request appears under Usage in your ParamHub console with its token counts and cost.

Which model to pick

We ran oh-my-pi 19.1.0 through ParamHub on one task: fix 4 planted bugs and add a feature in a 6-file Python library, graded by 11 hidden tests.

ModelPassedTimeInputCachedOutputCost
kimi-k3.1-pro2/23.4 min119,00080%5,900$0.11
GLM-5.32/25.0 min188,00092%11,500$0.08
GLM-5.21/11.3 min239,00092%2,400$0.06

Passed is how many runs of the task passed every hidden test, out of how many we made: 4/5 means 5 runs, 4 passed. Time, input and output are medians per task; output includes thinking. Tested on November 23, 2026 on a small task with few runs, so read the numbers as rough. Cost is per task, calculated from those medians at the current prices. Pricing →

Good to know

  • apiKey is the name of the environment variable, without a $. If that variable is not set, omp sends the text itself as the key and you get a 401.
  • By default omp asks for the highest thinking level on kimi-k3.1-pro and GLM-5.3. Start it with --thinking low for faster, cheaper turns.
  • Thinking is on by default and is billed as output tokens.
  • Model names are case-sensitive. Use them exactly as listed on the pricing page.
  • Requests are processed by model providers located in China. Read the Privacy Policy before sending confidential code. Privacy Policy →

If something goes wrong

Authentication error (401)

The key is wrong or disabled. Copy it again from API Keys.

Balance error (403)

The account has no credits. Add credits on the Billing page.

Model not available (503, model_not_found)

Check the spelling and case of the model name.

Switch back

Delete the paramhub provider from models.yml.

Try it on your own repo

Create an account, add credits from $5, and paste your key into the setup above.

Get started

Other tools

oh-my-pi belongs to its respective owner. ParamHub is an independent service and is not affiliated with or endorsed by it.