AI gateway

Attach a provider to an app and it gets a single endpoint plus an opaque aigw_… key — it never holds a raw provider API key.

shell
wess ai blog anthropic -m claude-opus-4-8
wess ai blog openai
wess ai blog ollama

Attaching injects AI_GATEWAY_URL, AI_GATEWAY_KEY, AI_MODEL, and AI_PROVIDER into the VM. The gateway resolves the key to the current provider and model at request time, so you can swap providers without a redeploy.

Providers

Anthropic, OpenAI, or Ollama (server or cloud). Any OpenAI-compatible base also works — Groq, Together, OpenRouter, vLLM, and friends.