Wild West API

Run Use Wild West API in OpenCode

OpenCode defines providers in opencode.json using the AI SDK provider packages. Add Wild West API with the openai-compatible package and point it at the /v1 base URL.

Base URL
https://wildwestapi.com/v1
API key
Get one free, starts sk-ww-
Example model
outlaw-1-xploded

Add a provider in opencode.json

In ~/.config/opencode/opencode.json or a project opencode.json:

JSON
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "wildwest": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Wild West API",
      "options": {
        "baseURL": "https://wildwestapi.com/v1",
        "apiKey": "{env:WILDWEST_API_KEY}"
      },
      "models": {
        "outlaw-1-xploded": {
          "name": "GLM 5.3 Flash Xploded",
          "limit": { "context": 1048576, "output": 8192 }
        }
      }
    }
  },
  "model": "wildwest/outlaw-1-xploded",
  "small_model": "wildwest/outlaw-1-xploded"
}

Set the real context and output limits from the model's catalogue page. For an agent that edits files, choose a tool-capable model. You can also run /connect in OpenCode, choose Other, and paste the key against a provider id of wildwest.

Pick a model

Each page has the OpenCode setup with that model's id and limits filled in, and what a session costs.

Related guides

Uncensored AI models on one key

OpenAI and Anthropic compatible, pay as you go. New to it? Start with uncensored AI, explained.