Back to Kilocode

Using Requesty with Kilo Code

packages/kilo-docs/pages/ai-providers/requesty.md

7.3.92.8 KB
Original Source

Using Requesty With Kilo Code

Kilo Code supports accessing models through the Requesty AI platform. Requesty provides an easy and optimized API for interacting with 150+ large language models (LLMs).

Website: https://www.requesty.ai/

Getting an API Key

  1. Sign Up/Sign In: Go to the Requesty website and create an account or sign in.
  2. Get API Key: You can get an API key from the API Management section of your Requesty dashboard.

Configuration in Kilo Code

{% tabs %} {% tab label="VSCode (Legacy)" %}

  1. Open Kilo Code Settings: Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
  2. Select Provider: Choose "Requesty" from the "API Provider" dropdown.
  3. Enter API Key: Paste your Requesty API key into the "Requesty API Key" field.
  4. Select Model: Choose your desired model from the "Model" dropdown.

{% /tab %} {% tab label="VSCode" %}

Open Settings (gear icon) and go to the Providers tab to add Requesty and enter your API key.

The extension stores this in your kilo.json config file. You can also edit the config file directly — see the CLI tab for the file format.

{% /tab %} {% tab label="CLI" %}

Set the API key as an environment variable or configure it in your kilo.json config file:

Environment variable:

bash
export REQUESTY_API_KEY="your-api-key"

Config file (~/.config/kilo/kilo.json or ./kilo.json):

jsonc
{
  "provider": {
    "requesty": {
      "env": ["REQUESTY_API_KEY"],
    },
  },
}

Then set your default model:

jsonc
{
  "model": "requesty/anthropic/claude-sonnet-4-20250514",
}

{% /tab %} {% /tabs %}

Tips and Notes

  • Optimizations: Requesty offers range of in-flight cost optimizations to lower your costs.
  • Unified and simplified billing: Unrestricted access to all providers and models, automatic balance top ups and more via a single API key.
  • Cost tracking: Track cost per model, coding language, changed file, and more via the Cost dashboard or the Requesty VS.code extension.
  • Stats and logs: See your coding stats dashboard or go through your LLM interaction logs.
  • Fallback policies: Keep your LLM working for you with fallback policies when providers are down.

Relevant resources