<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
lee101/app-skills/appnz-provider-openrouter
──Details
PublishedOctober 23, 2026 at 10:41 PM
Content Hashsha256:c2ea1e5a58be89f1...
Git SHA07da02d0089d
──Files
Files (1 file, 3.5 KB)
SKILL.md3.5 KBactive
SKILL.md · 58 lines · 3.5 KB

version: "1.0.0" name: appnz-provider-openrouter description: Use this skill when the user asks to use OpenRouter, provider openrouter, or any openrouter model through app.nz; covers model selection when present, BYOK setup, OpenAI-compatible routing, provider-specific endpoints, aliases, and debugging gateway headers.


OpenRouter on app.nz

Route OpenRouter through app.nz with one app.nz key. Use this skill when a user asks for OpenRouter, openrouter, one of its model ids, aliases, product integrations, or BYOK setup for this provider.

Workflow

  1. Use /api/gateway/models?provider=openrouter to confirm the current public model list if exact availability matters.
  2. Call app.nz at https://app.nz/v1 with Authorization: Bearer pk_live_...; do not call https://openrouter.ai/api directly unless the user explicitly asks to bypass app.nz.
  3. Store a user-owned upstream key with POST /api/gateway/provider-keys using provider openrouter when BYOK is required. The upstream secret is never returned by app.nz.
  4. Prefer a model matching the task modality. If unsure, start with or/gpt-5-codex or app/auto.
  5. Read X-Gateway-Provider and X-Gateway-Model response headers when debugging routing.

BYOK

bash
curl -sX POST https://app.nz/api/gateway/provider-keys \
-H "Authorization: Bearer pk_live_..." \
-H "Content-Type: application/json" \
-d '{"provider":"openrouter","api_key":"REDACTED_UPSTREAM_KEY"}'

Chat Example

bash
curl -s https://app.nz/v1/chat/completions \
-H "Authorization: Bearer pk_live_..." \
-H "Content-Type: application/json" \
-d '{"model":"or/gpt-5-codex","messages":[{"role":"user","content":"Give me one practical idea."}]}'

Models

ModelModalityAliasesCaps
or/arcee-trinitychatarcee-trinity, trinitystream, tools
or/arcee-trinity-minichattrinity-ministream, tools
or/claude-opuschat-stream, tools, vision
or/claude-sonnetchat-stream, tools, vision
or/deepseek-chatchat-stream, tools
or/gemini-3.5-flashchat-stream, tools, vision
or/gpt-5-codexchator/gpt-5.3-codex, or/gpt-5.2-codexstream, tools, vision
or/gpt-5.4chator/gpt-5.2stream, tools, vision
or/gpt-5.5chator/gpt-5-5stream, tools, vision
or/grok-4chat-stream, tools, vision
or/lfm-instructchatlfm-instruct, lfmstream
or/lfm-thinkingchatlfm-thinkingstream
or/nemotron-embedembeddingsnemotron-embedvision
or/nemotron-nanochatnemotron-nano, nemotronstream, tools
or/solar-pro-3chatsolar-pro, solarstream, tools
or/stepfun-flashchatstepfun-flash, step-flashstream, tools
All versions