How to use for free
Learn how to set up free API providers to use KaseCode without any cost.
KaseCode is designed to be flexible. You can use it for free by bringing your own API keys from providers that offer free tiers or trial credits. This guide will walk you through setting up the most popular free options.
OpenRouter
OpenRouter provides access to a wide variety of models, many of which are completely free to use (e.g., Google’s Gemini models, various Llama models).
How to get an API key:
- Go to openrouter.ai.
- Create an account or sign in.
- Navigate to Keys in the dashboard.
- Click Create Key, give it a name, and copy it.
Setup in KaseCode:
Add the following to your config.json:
{ "providers": { "openrouter": { "api_key": "YOUR_OPENROUTER_KEY" } }}Groq
Groq offers extremely fast inference and currently has a very generous free tier for models like Llama 3 and Mixtral.
How to get an API key:
- Go to the Groq Console.
- Create an account or sign in.
- Go to the API Keys section.
- Click Create API Key and copy it.
Setup in KaseCode:
Add the following to your config.json:
{ "providers": { "groq": { "api_key": "YOUR_GROQ_KEY" } }}Google AI Studio (Gemini)
Google offers a free tier for their Gemini models through Google AI Studio.
How to get an API key:
- Go to Google AI Studio.
- Sign in with your Google account.
- Click on Get API key in the left sidebar.
- Click Create API key in new project or use an existing one.
- Copy the generated key.
Setup in KaseCode:
Add the following to your config.json:
{ "providers": { "google": { "api_key": "YOUR_GOOGLE_KEY" } }}NVIDIA NIM
NVIDIA NIM provides high-performance inference for various open-source models and often offers free trial credits for new users.
How to get an API key:
- Go to build.nvidia.com.
- Create an account or sign in.
- Select a model (like Llama 3) and look for the Get API Key or Integrate button.
- Generate and copy your API key.
Setup in KaseCode:
Add the following to your config.json:
{ "providers": { "nvidia": { "api_key": "YOUR_NVIDIA_KEY" } }}Summary
By configuring these providers, you can leverage powerful AI models within KaseCode without any monthly subscription fees. Simply update your config.json with the keys you’ve obtained, and you’re ready to go!