Declare a gateway
korve/fast, korve/balanced, and korve/reasoning. A gateway must
allow at least one alias. Monthly budgets range from 100,000, timeouts from 1–120 seconds,
and automatic retries from 0–3.
Complete from a deployed server
model, messages, stream, max_tokens, and temperature. Streaming uses
text/event-stream. Requests can contain at most 256 messages and 1,048,576 encoded bytes.
Security, privacy, and spend
- Requests for models outside the gateway allowlist fail before inference.
- The hard monthly gateway budget stops new requests with
429when exhausted. - Prompt bodies are excluded from audit events by default. With
redactPrompts = false, audit storage still retains only a redacted, bounded preview—not a complete prompt. - Gateway key secrets are shown once; listings return metadata only. Revoke a key immediately if its one-time value may have escaped.
- Errors are provider-neutral and never include upstream response bodies, identifiers, or credentials.
- Deleting a gateway permanently revokes all of its gateway keys.
ai.gateway.inference rate-card entry and the gateway’s own
hard budget. Inspect current-month tokens, spend, and remaining budget with
aiGateways.usage.
See the complete AI Gateway API.