Prerequisites
less than a minute
Complete these steps before using the W&B Inference service through the API or UI.
Tip
Before starting, review the usage information and limits to understand costs and restrictions.Set up your W&B account and project
You need these items to access W&B Inference:
-
A W&B account
Sign up at W&B -
A W&B API key
Get your API key at https://wandb.ai/authorize -
A W&B project
Create a project in your W&B account to track usage
Set up your environment (Python)
To use the Inference API with Python, you also need to:
-
Complete the general requirements above
-
Install the required libraries:
pip install openai weave
Note
The weave
library is optional but recommended. It lets you trace your LLM applications. Learn more in the Weave Quickstart.
See usage examples for code samples using W&B Inference with Weave.
Next steps
After completing the prerequisites:
- Check the API reference to learn about available endpoints
- Try the usage examples to see the service in action
- Use the UI guide to access models through the web interface
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.