Using Baseten With Zoo Code
Baseten provides on-demand frontier model APIs designed for production applications, not just experimentation. Built on the Baseten Inference Stack, these APIs deliver optimized inference for leading open-source models from OpenAI, DeepSeek, Moonshot AI, and Alibaba Cloud.
Website: https://www.baseten.co/products/model-apis/
Getting an API Key
-
Sign Up/Sign In: Go to Baseten and create an account or sign in.
-
Navigate to API Keys: Access your dashboard and go to the API Keys section at https://app.baseten.co/settings/api_keys.
-
Create a Key: Generate a new API key. Give it a descriptive name (e.g., "Zoo Code").
-
Copy the Key: Copy the API key immediately and store it securely.
Available Models
Zoo Code supports all models available through Baseten's Model APIs.
For the complete, up-to-date model list and pricing, see Baseten's Model APIs page.
Configuration in Zoo Code
-
Open Zoo Code Settings: Click the gear icon () in the Zoo Code panel.
-
Select Provider: Choose "Baseten" from the "API Provider" dropdown.
-
Enter API Key: Paste your Baseten API key into the "Baseten API Key" field.
-
Select Model: Choose your desired model from the "Model" dropdown.
To use the moonshotai/Kimi-K2-Thinking model, you must enable native tool calling in the Zoo Code settings. This setting allows Zoo Code to call the model's tools through their native tool processor and is required for this reasoning model to function properly.
Tips and Notes
- Pricing: See the Baseten Model APIs page for current pricing information.