OhMyProxy
"They're criminals. We simply make them pay for their crimes." — Kali Prasad
RANGE:
Requests
Success
Tokens In
Tokens Out
Total Cost
USD
Avg Latency
ms
Cooldown
keys

Requests by Provider

Cost by Provider

Requests Over Time (72h)

Per-Provider Usage
PROVIDER BREAKDOWN loading...
Provider Req OK In Out Total Cost Avg ms
No requests in this range
Per-Model Usage
MODEL BREAKDOWN loading...
Model Req OK In Out Total Cost Avg ms
No requests in this range
Per-Client-IP Usage
IP BREAKDOWN loading...
Client IP Req OK In Out Total Cost Avg ms
No IP data in this range
Per-Provider-Key Usage
UPSTREAM API KEY BREAKDOWN loading...
Key Req OK In Out Total Cost Avg ms
No upstream key usage in this range
Per-Proxy-Key Usage
PROXY AUTH KEY BREAKDOWN loading...
Proxy Key Req OK In Out Total Cost Avg ms
No proxy key usage in this range
Key Cooldowns
ACTIVE COOLDOWNS loading...
Key (last 12) Remaining
No keys on cooldown
Recent Requests
LOGS loading...
IDTimeProviderModelStatus DurTokensCostProxyKeyError
Loading...

OhMyProxy · OpenCode Setup

Add OhMyProxy as a provider in your ~/.config/opencode/opencode.jsonc.

Provider Configuration

{
  "provider": {
    "OhMyProxyV2": {
      "options": {
        "baseURL": "http://127.0.0.1:5555/v1",
        "apiKey": "none"
      },
      "models": {
        "kilo-free": {
          "reasoning": true, "tool_call": true,
          "interleaved": { "field": "reasoning_content" },
          "cost": { "input": 10, "output": 10 },
          "limit": { "context": 200000, "output": 100000 }
        },
        "zen-noapi-free": {
          "reasoning": true, "tool_call": true,
          "interleaved": { "field": "reasoning_content" },
          "cost": { "input": 10, "output": 10 },
          "limit": { "context": 200000, "output": 100000 }
        },
        "zen-api-free": {
          "reasoning": true, "tool_call": true,
          "interleaved": { "field": "reasoning_content" },
          "cost": { "input": 10, "output": 10 },
          "limit": { "context": 200000, "output": 100000 }
        },
        "pekpik-free": {
          "reasoning": true, "tool_call": true,
          "interleaved": { "field": "reasoning_content" },
          "cost": { "input": 10, "output": 10 },
          "limit": { "context": 200000, "output": 100000 }
        },
        "mistral-api-free": {
          "reasoning": true, "tool_call": true,
          "interleaved": { "field": "reasoning_content" },
          "cost": { "input": 10, "output": 10 },
          "limit": { "context": 200000, "output": 100000 }
        },
        "zai-api-free": {
          "reasoning": true, "tool_call": true,
          "interleaved": { "field": "reasoning_content" },
          "cost": { "input": 10, "output": 10 },
          "limit": { "context": 200000, "output": 100000 }
        },
        "auto-free": {
          "reasoning": true, "tool_call": true,
          "interleaved": { "field": "reasoning_content" },
          "cost": { "input": 10, "output": 10 },
          "limit": { "context": 200000, "output": 100000 }
        }
      }
    }
  }
}

Proxy Names (model key)

Model KeyRoutes To
kilo-freeKilo Gateway models
zen-noapi-freeOpenCode Zen (no auth, free models)
zen-api-freeOpenCode Zen (API keys, all models)
pekpik-freePekpik community keys
mistral-api-freeMistral AI (codestral, devstral)
zai-api-freeZ.ai (GLM-4.5/4.7 Flash)
auto-freeRound-robin across all enabled proxies
All proxy names are pre-configured above — pick any model key and use it directly.

Cost Configuration

OpenCode's cost.input / cost.output are $ per 1M tokens. Our proxy rate is $1/100k tokens, so use 10.

Desired Ratecost value
$1 / 100k tokens (ours)10
$1 / 1M tokens1
$0.50 / 1M tokens0.5

API Authentication

If proxy keys are enabled, add apiKey to your provider config:

"options": {
  "baseURL": "http://127.0.0.1:5555/v1",
  "apiKey": "omp_<your-key>"
}

Generate keys from Settings → Proxy API Keys in the WebUI. When no keys exist, endpoints are open.

Load Balancing

For zen-api-free, set strategy in Settings → Server Configuration:

Agent Variants (oh-my-opencode-slim)

{
  "presets": {
    "omniroute": {
      "orchestrator": { "model": "OhMyProxyV2/auto-free", "variant": "high" },
      "librarian":   { "model": "OhMyProxyV2/auto-free", "variant": "low" }
    }
  }
}

Prerequisites