Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.pioneer.ai/llms.txt

Use this file to discover all available pages before exploring further.

Integrating Pioneer with coding agents

Pioneer supports a growing list of coding agents. Point your agent at Pioneer’s inference endpoint and switch between models using each agent’s native /model command.

Claude Code

  1. Download and set up Claude Code.
  2. Navigate to a fresh terminal and point Claude Code to Pioneer by changing the following environmental variables:
export ANTHROPIC_AUTH_TOKEN="<Your Pioneer API key>"
export ANTHROPIC_BASE_URL="https://api.pioneer.ai/v1"
  1. Start Claude Code:
claude
  1. Switch between Pioneer models with /model command.

Codex

  1. Download and set up the Codex CLI.
  2. Navigate to a fresh terminal and point Codex to Pioneer by pasting the following:
PIONEER_API_KEY="<Your Pioneer API key>" codex \
    -c 'model_provider="pioneer"' \
    -c 'model_providers.pioneer.name="Pioneer"' \
    -c 'model_providers.pioneer.base_url="https://api.pioneer.ai/v1"' \
    -c 'model_providers.pioneer.wire_api="responses"' \
    -c 'model_providers.pioneer.env_key="PIONEER_API_KEY"'
  1. Codex will automatically start for you.
  2. Switch between Pioneer models with /model command.

Cursor

  1. Download and set up Cursor.
  2. Once in the Cursor IDE, navigate to Settings → Models → API Keys
  3. In “Open API Keys”: paste in your Pioneer API Key
  4. In “Override Open API Base URL”: paste in https://api.pioneer.ai/v1

OpenCode

  1. Download and set up the OpenCode CLI.
  2. Navigate to a fresh terminal and point OpenCode to Pioneer by pasting the following:
PIONEER_API_KEY="<Your Pioneer API key>" \
  PIONEER_BASE_URL="https://api.pioneer.ai/v1" \
  OPENCODE_CONFIG_CONTENT='{"provider":{"openai":{"options":
  {"baseURL":"{env:PIONEER_BASE_URL}","apiKey":"{env:PIONEER_API_KEY}"}},"anthropic":{"options":
  {"baseURL":"{env:PIONEER_BASE_URL}","apiKey":"{env:PIONEER_API_KEY}"}}}}' \
  opencode
  1. OpenCode will automatically start for you.
  2. To switch between models, use the /models command and select a model. You will see older models not supported by Pioneer which, if selected, will not complete your task. If a model is supported by Pioneer, the inference will complete and you will be able to see it in your Pioneer inference logs.