opencode
Plug firepass into opencode in under a minute.
1. Sign up and create a key
It's free. Create your account, then open the dashboard and click Create. Save the sk-firepass-… key — it's shown once.
2. Use it like any OpenAI/Anthropic key
Point your client at https://dizosrf-firepass.hf.space/v1 (OpenAI) or https://dizosrf-firepass.hf.space/anthropic (Anthropic). The same key works for both.
3. Configure opencode
Edit ~/.config/opencode/opencode.json (or use opencode config) and add a provider:
{
"provider": {
"firepass": {
"npm": "@ai-sdk/openai-compatible",
"name": "firepass",
"options": {
"baseURL": "https://dizosrf-firepass.hf.space/v1",
"apiKey": "{{env.FIREPASS_API_KEY}}"
},
"models": {
"claude-opus-4-7": { "name": "Claude Opus 4.7" },
"claude-sonnet-4-6": { "name": "Claude Sonnet 4.6" },
"gpt-5.5": { "name": "GPT-5.5" },
"gpt-5.5-mini": { "name": "GPT-5.5 mini" },
"gpt-5.5-pro": { "name": "GPT-5.5 pro" }
}
}
}
}
Set the key in your shell:
export FIREPASS_API_KEY="sk-firepass-…"
Then in opencode: /model firepass/claude-opus-4-7.