Skip to content

SDKs & Client Libraries

Glitch is OpenAI-compatible, so you can use existing OpenAI SDKs with minimal configuration changes. Simply point your SDK to the Glitch endpoint and add your Glitch API key.


For framework-specific guides, see our Frameworks documentation.


All SDKs support the same security features:

  • Error Handling — Handle security blocks gracefully
  • Response Headers — Access X-Risk-* headers for security metadata
  • Streaming — Full support for streaming responses

See individual SDK pages for language-specific examples.