Once you have created an API key, use it to authenticate requests to RamaLama Cloud. Your API key provisions access to a variety of hosted API gateways, allowing you to access models from multiple providers through a unified interface.Documentation Index
Fetch the complete documentation index at: https://docs.ramalama.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Include your API key in theAuthorization header with the Bearer prefix:
Accessing Models
Models are referenced using the formatprovider/model-name. This allows you to call models from different providers through the same API endpoint.
Example: Calling GPT-5.1
Environment Variables
Store your API key in an environment variable to avoid hardcoding it:Error Responses
| Status Code | Meaning |
|---|---|
| 401 | Invalid or missing API key |
| 403 | API key does not have permission for this resource |
| 429 | Rate limit exceeded |
Security Tips
- Never expose API keys in client-side code
- Use environment variables or secret management tools
- Implement key rotation in production environments

