- a safely stored API key
- a clear endpoint choice
- one working request in your app
- links to the right production guides for routing, SDKs, and operations
Before you begin
Make sure you have the following in place:- A Phaseo account with Gateway access.
- An API key from the dashboard.
- An HTTP client, OpenAI-compatible SDK, or Phaseo SDK.
- A supported model ID, such as
google/gemma-3-27b:freefor a zero-credit start.
1. Store the API key
- Open Gateway -> API Keys in the Phaseo dashboard.
- Create a key with a name that identifies the app and environment.
- Store the value in a secret manager or local environment file:
2. Choose the endpoint
Choose the endpoint that best matches the job you are doing:
Refer to the API Reference for the complete list of supported parameters and responses.
Free-model IDs end with
:free and can be called without depositing credits. Paid-model calls require available wallet balance.3. Send the app request
Start with the request shape your app is most likely to keep. This example uses Chat Completions because it works well for OpenAI-compatible clients.4. Configure environments
Store your API key in environment variables for different environments:Authorization header:
5. Production next steps
- Review Authentication for key handling and common auth failures.
- Learn Routing and fallbacks before sending meaningful traffic.
- Browse Examples for complete app and script patterns.
- Explore the SDK Reference for language-specific clients.