Portkey provides a robust and secure gateway to facilitate the integration of various Large Language Models (LLMs) into your applications, including the models hosted on Cerebras Inference API.Documentation Index
Fetch the complete documentation index at: https://portkey-docs-mintlify-bedrock-guardrails-docs-36443.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Provider Slug:
cerebrasPortkey SDK Integration with Cerebras
Portkey provides a consistent API to interact with models from various providers. To integrate Cerebras with Portkey:1. Install the Portkey SDK
- NodeJS
- Python
2. Initialize Portkey with Cerebras
To use Cerebras with Portkey, get your API key from here, then add it to Portkey to create the virtual key.- NodeJS SDK
- Python SDK
3. Invoke Chat Completions
- NodeJS SDK
- Python SDK
Supported Models
Cerebras currently supportsLlama-3.1-8B and Llama-3.1-70B. You can find more info here:

