2025-11-11 03:24:37 +05:00
# Reference
2026-05-07 15:09:54 -07:00
> [!NOTE]
> AI Gateway requires the [AI Governance Add-On](../ai-governance.md).
> As of Coder v2.32, deployments without the add-on will not be able to
> access AI Gateway.
2025-11-11 03:24:37 +05:00
## Implementation Details
2026-04-29 18:28:09 +02:00
`coderd` runs an in-memory instance of `aibridged` , whose logic is mostly contained in https://github.com/coder/coder/tree/main/aibridge. In future releases we will support running external instances for higher throughput and complete memory isolation from `coderd` .
2025-11-11 03:24:37 +05:00
2026-04-09 12:07:50 +02:00

2025-11-11 03:24:37 +05:00
## Supported APIs
API support is broken down into two categories:
2026-04-09 12:07:50 +02:00
- **Intercepted**: requests are intercepted, audited, and augmented - full AI Gateway functionality
2025-11-11 03:24:37 +05:00
- **Passthrough**: requests are proxied directly to the upstream, no auditing or augmentation takes place
Where relevant, both streaming and non-streaming requests are supported.
### OpenAI
2025-11-11 20:13:38 +05:00
#### Intercepted
2025-11-11 03:24:37 +05:00
- [`/v1/chat/completions` ](https://platform.openai.com/docs/api-reference/chat/create )
2026-02-03 13:13:39 +05:00
- [`/v1/responses` ](https://platform.openai.com/docs/api-reference/responses/create )
2025-11-11 03:24:37 +05:00
2025-11-11 20:13:38 +05:00
#### Passthrough
2025-11-11 03:24:37 +05:00
- [`/v1/models(/*)` ](https://platform.openai.com/docs/api-reference/models/list )
### Anthropic
2025-11-11 20:13:38 +05:00
#### Intercepted
2025-11-11 03:24:37 +05:00
- [`/v1/messages` ](https://docs.claude.com/en/api/messages )
2025-11-11 20:13:38 +05:00
#### Passthrough
2025-11-11 03:24:37 +05:00
- [`/v1/models(/*)` ](https://docs.claude.com/en/api/models-list )
## Troubleshooting
2026-04-29 18:28:09 +02:00
To report a bug, file a feature request, or view a list of known issues, please visit our [GitHub repository ](https://github.com/coder/coder/issues ). If you encounter issues with AI Gateway, please reach out to us via [Discord ](https://discord.gg/coder ).