Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.04 KB

File metadata and controls

37 lines (26 loc) · 1.04 KB

ChatGPT API for AI App Development

AI ROUTER helps AI app developers connect to a ChatGPT API relay through an OpenAI-compatible endpoint.

This is useful when you are building an AI app prototype, testing prompts, adding a chat feature, or validating a workflow before choosing a larger plan.

Common AI app workflows

  • Chat interfaces.
  • Prompt testing.
  • Internal assistants.
  • Content review tools.
  • Developer productivity tools.
  • Lightweight agent workflows.

Integration checklist

  1. Create an AI ROUTER API key.
  2. Store the key in an environment variable.
  3. Set the SDK base URL to https://api.ai-router.dev/v1.
  4. Use a model available in your dashboard.
  5. Send a test request.
  6. Check usage and quota.

Example environment variables

export AI_ROUTER_API_KEY="replace_with_your_api_key"
export AI_ROUTER_BASE_URL="https://api.ai-router.dev/v1"

Related: